Skip to main content
POST
/
v1
/
tasks
Create a task
curl --request POST \
  --url https://api.quo.com/v1/tasks \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Follow up with customer",
  "description": "Discuss pricing and onboarding next steps.",
  "phoneNumberId": "<string>",
  "dueDate": "2023-11-07T05:31:56Z",
  "assignedTo": "<string>"
}
'
{
  "data": {
    "taskId": "<string>",
    "revision": "<string>",
    "phoneNumberId": "<string>",
    "conversationId": "<string>",
    "activityId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Body

application/json

The task to create. Provide exactly one of phoneNumberId, conversationId, or activityId to link the task to that resource.

title
string
required

The title of the task.

Example:

"Follow up with customer"

description
string
required

The description of the task.

Example:

"Discuss pricing and onboarding next steps."

phoneNumberId
string
required
Pattern: ^PN(.*)$
dueDate
string<date-time>
assignedTo
string
Pattern: ^US(.*)$

Response

Success

data
object
required