Tasks & Projects
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"
}
Update a project
The ID of the project to update.
Name for this project
Description HTML for this project
Customer portal visible for this project
Start date for this project, in RFC 3339 format
End date for this project, in RFC 3339 format
Whether the project is archived
Customer portal visible for this project
Description HTML for this project
End date for this project, in RFC 3339 format
Whether the project is archived
Name for this project
Start date for this project, in RFC 3339 format
PATCH /projects/{id} HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 129
{
"customer_portal_visible": true,
"description_html": "text",
"end_date": "text",
"is_archived": true,
"name": "text",
"start_date": "text"
}
{
"data": {
"account": {
"id": "text"
},
"archived_at": "text",
"created_at": "text",
"customer_portal_visible": true,
"description_html": "text",
"end_date": "text",
"id": "text",
"is_archived": true,
"name": "text",
"project_template": {
"id": "text"
},
"start_date": "text",
"updated_at": "text"
},
"request_id": "text"
}
Delete an existing project
The ID of the project to delete.
DELETE /projects/{id} HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"request_id": "text"
}
Create a project
Name for this project
Description HTML for this project
Customer portal visible for this project
false
Start date for this project, in RFC 3339 format
End date for this project, in RFC 3339 format
Account ID for this project
Project template ID for this project
POST /projects HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"account": {
"id": "text"
},
"archived_at": "text",
"created_at": "text",
"customer_portal_visible": true,
"description_html": "text",
"end_date": "text",
"id": "text",
"is_archived": true,
"name": "text",
"project_template": {
"id": "text"
},
"start_date": "text",
"updated_at": "text"
},
"request_id": "text"
}
Update a milestone
The ID of the milestone to update.
Due date for this milestone, in RFC 3339 format
Name for this milestone
PATCH /milestones/{id} HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"due_date": "text",
"name": "text"
}
{
"data": {
"account": {
"id": "text"
},
"created_at": "text",
"due_date": "text",
"id": "text",
"name": "text",
"project": {
"id": "text"
},
"updated_at": "text"
},
"request_id": "text"
}
Create a milestone
Name for this milestone
Due date for this milestone, in RFC 3339 format
Project ID for this milestone
Account ID for this project
POST /milestones HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"account": {
"id": "text"
},
"created_at": "text",
"due_date": "text",
"id": "text",
"name": "text",
"project": {
"id": "text"
},
"updated_at": "text"
},
"request_id": "text"
}
Delete a milestone
The ID of the milestone to delete.
DELETE /milestones/{id} HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"request_id": "text"
}
Last updated
Was this helpful?