curl --request POST \
--url https://api.yorlet.com/v1/tasks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"due_date": 2,
"assignee": "<string>",
"priority": 0,
"important": false,
"status": "to_do",
"checklist_items": {}
}
'{
"id": "<string>",
"created": 123,
"object": "task",
"title": "<string>",
"description": "<string>",
"due_date": 123,
"priority": 1.5,
"status": "to_do",
"assignee": {
"id": "<string>",
"created": 123,
"object": "user",
"email": "<string>",
"name": "<string>",
"account": "<string>",
"deleted": false
},
"account": "<string>",
"deleted": false,
"important": false,
"checklist_items": {}
}curl --request POST \
--url https://api.yorlet.com/v1/tasks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"due_date": 2,
"assignee": "<string>",
"priority": 0,
"important": false,
"status": "to_do",
"checklist_items": {}
}
'{
"id": "<string>",
"created": 123,
"object": "task",
"title": "<string>",
"description": "<string>",
"due_date": 123,
"priority": 1.5,
"status": "to_do",
"assignee": {
"id": "<string>",
"created": 123,
"object": "user",
"email": "<string>",
"name": "<string>",
"account": "<string>",
"deleted": false
},
"account": "<string>",
"deleted": false,
"important": false,
"checklist_items": {}
}API Key authentication. Use "Bearer YOUR_API_KEY".
11x >= 110 <= x <= 3to_do, in_progress, done Show child attributes
Returns the task object if the request succeeded.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
task 0 <= x <= 3to_do, in_progress, done The assignee of this task.
Show child attributes
The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
Show child attributes
Was this page helpful?