curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#TODOIST_CREATE_TASK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "TODOIST_CREATE_TASK",
"parameters": {
"content": "<string>",
"description": "<string>",
"project_id": "<string>",
"section_id": "<string>",
"parent_id": "<string>",
"due_string": "<string>",
"due_date": "<string>",
"priority": "<string>",
"taskAdditionalFields": {}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#TODOIST_CREATE_TASK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "TODOIST_CREATE_TASK",
"parameters": {
"content": "<string>",
"description": "<string>",
"project_id": "<string>",
"section_id": "<string>",
"parent_id": "<string>",
"due_string": "<string>",
"due_date": "<string>",
"priority": "<string>",
"taskAdditionalFields": {}
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Content : Task content. This value may contain markdown-formatted text and hyperlinks.Details on markdown support can be found in the Text Formatting article (https://todoist.com/help/articles/how-to-format-text) in the Help Center. (example: "Buy Sword")
Description : A description for the task. (example: "Pirate King")
Project ID : Task project ID. If not set, task is put to user's Inbox.
Section ID : ID of section to put task into.
Parent ID : Parent task ID. (example: "1064843106")
Due String : Human defined (https://todoist.com/help/articles/due-dates-and-times) task due date (ex.: 'next Monday', 'Tomorrow'). Value is set using local (not UTC) time. (example: "tomorrow at 12:00")
Due Date : Specific date in YYYY-MM-DD format relative to user’s timezone.
Priority : Task priority from 1 (normal) to 4 (urgent). (example: "4")
Additional Fields : Specify additional fields to include on this request as JSON. For example, you may associate an assignee or description here. See the docs (https://developer.todoist.com/rest/v2/#create-a-new-task) for available fields. (example: "{ assignee_id: "a70bdf0f" }")
Success
Was this page helpful?