curl --request POST \
--url https://api.usepylon.com/tasks \
--header 'Authorization: Bearer <token>'{
"data": {
"account": {
"id": "<string>"
},
"assignee": {
"contact": {
"email": "<string>",
"id": "<string>"
},
"user": {
"email": "<string>",
"id": "<string>"
}
},
"body_html": "<string>",
"created_at": "<string>",
"customer_portal_visible": true,
"due_date": "<string>",
"id": "<string>",
"milestone": {
"id": "<string>"
},
"project": {
"id": "<string>"
},
"status": "not_started",
"title": "<string>",
"updated_at": "<string>"
},
"request_id": "<string>"
}Create a task
curl --request POST \
--url https://api.usepylon.com/tasks \
--header 'Authorization: Bearer <token>'{
"data": {
"account": {
"id": "<string>"
},
"assignee": {
"contact": {
"email": "<string>",
"id": "<string>"
},
"user": {
"email": "<string>",
"id": "<string>"
}
},
"body_html": "<string>",
"created_at": "<string>",
"customer_portal_visible": true,
"due_date": "<string>",
"id": "<string>",
"milestone": {
"id": "<string>"
},
"project": {
"id": "<string>"
},
"status": "not_started",
"title": "<string>",
"updated_at": "<string>"
},
"request_id": "<string>"
}Authorization: Bearer
Title for this task
Body HTML for this task
Milestone ID for this task
Status for this task
not_started TaskStatusNotStarted
in_progress TaskStatusInProgress
completed TaskStatusCompleted
not_started, in_progress, completed Customer portal visible for this task
Due date for this task, in RFC 3339 format
Assignee ID for this task
Account ID for this task
Project ID for this task