Openapi
Create a task for the specified organization.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuidapplication/json
The task payload.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/organizations/123/tasks" \ -H "Content-Type: application/json" \ -d '{ "title": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "number": 1, "displayNumber": "string", "customerId": 1, "customerAssetId": 1, "title": "string", "description": "string", "status": "todo", "priority": "low", "startAt": "2019-08-24T14:15:22Z", "dueAt": "2019-08-24T14:15:22Z", "position": 0, "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e", "archivedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "parentTaskId": "2506db93-67fe-4ab8-a809-f4aa6ed8a0f4", "taskTemplateId": "0bace236-fe21-4c91-8146-4a71f4b64090", "assignees": [ { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "displayName": "string", "avatarUrl": "http://example.com", "disabledAt": "string" } ], "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "kind": "task", "name": "string", "slug": "string", "color": "string", "description": "string", "position": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}1 <= length <= 240length <= 20000Value in
Value in
date-timedate-time0 < value0 < valueitems <= 50items <= 50uuid