Tasks
Create a task
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
Customer portal visible for this task
false
Due date for this task, in RFC 3339 format
Assignee ID for this task
Account ID for this task
Project ID for this task
POST /tasks HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"account": {
"id": "text"
},
"assignee": {
"contact": {
"email": "text",
"id": "text"
},
"user": {
"email": "text",
"id": "text"
}
},
"body_html": "text",
"created_at": "text",
"customer_portal_visible": true,
"due_date": "text",
"id": "text",
"milestone": {
"id": "text"
},
"project": {
"id": "text"
},
"status": "not_started",
"title": "text",
"updated_at": "text"
},
"request_id": "text"
}
Update a task
The ID of the task to update.
Assignee ID for this task
Body HTML for this task
Customer portal visible for this task
Due date for this task, in RFC 3339 format
Milestone ID for this task
Project ID for this task
Status for this task
-
not_started TaskStatusNotStarted
-
in_progress TaskStatusInProgress
-
completed TaskStatusCompleted
Title for this task
PATCH /tasks/{id} HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 170
{
"assignee_id": "text",
"body_html": "text",
"customer_portal_visible": true,
"due_date": "text",
"milestone_id": "text",
"project_id": "text",
"status": "not_started",
"title": "text"
}
{
"data": {
"account": {
"id": "text"
},
"assignee": {
"contact": {
"email": "text",
"id": "text"
},
"user": {
"email": "text",
"id": "text"
}
},
"body_html": "text",
"created_at": "text",
"customer_portal_visible": true,
"due_date": "text",
"id": "text",
"milestone": {
"id": "text"
},
"project": {
"id": "text"
},
"status": "not_started",
"title": "text",
"updated_at": "text"
},
"request_id": "text"
}
Delete an existing task
The ID of the task to delete.
DELETE /tasks/{id} HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"request_id": "text"
}
Last updated
Was this helpful?