Skip to main content
POST
/
v1
/
tasks
Create a task
curl --request POST \
  --url https://dev-public-api.openphone.dev/v1/tasks \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "phoneNumberId": "<string>",
  "dueDate": "2023-11-07T05:31:56Z",
  "assignedTo": "<string>"
}
'
{
  "data": {
    "taskId": "<string>",
    "revision": "<string>",
    "phoneNumberId": "<string>",
    "conversationId": "<string>",
    "activityId": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://openphone-dev.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Body

application/json
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