Create Task
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#ASANA_CREATE_TASK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "ASANA_CREATE_TASK",
"parameters": {
"name": "<string>",
"workspace": "<string>",
"project": "<string>",
"notes": "<string>",
"dueOnDate": "<string>",
"dueAtDate": "<string>",
"assignee": "<string>",
"gid": "<string>"
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Your Paragon Project ID
Body
Name (example: "Task Name")
Workspace : Use Connect Portal Workflow Settings to allow users to select which Workspace to create Tasks in. Defaults to the user’s first Workspace if left blank. (example: "{{settings.workspace}}")
Project : Use Connect Portal Workflow Settings to allow users to select which Project to create this Task in. (example: "{{settings.project}}")
Notes
Due On : The date on which this task is due. Cannot be used together with Due At. (example: "YYYY-MM-DD")
Due At : The date and time (ISO timestamp) at which this task is due . Cannot be used together with Due On. (example: "2019-09-15T02:06:58.147Z")
Assignee : The ID of the Asana user this task will be assigned to. Use Connect Portal Workflow Settings to allow users to select an Assignee. (example: "{{settings.assignee}}")
External ID : An ID from your application to associate this task with. You can use this ID to sync updates to this task later.
Response
Success
Was this page helpful?
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#ASANA_CREATE_TASK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "ASANA_CREATE_TASK",
"parameters": {
"name": "<string>",
"workspace": "<string>",
"project": "<string>",
"notes": "<string>",
"dueOnDate": "<string>",
"dueAtDate": "<string>",
"assignee": "<string>",
"gid": "<string>"
}
}'