Skip to main content
POST
/
api
/
public
/
tasks
Create a new task
curl --request POST \
  --url https://api.example.com/api/public/tasks \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "dueDate": "<string>",
  "dueTime": "<string>",
  "timezone": "<string>",
  "responsibleIds": [
    "<string>"
  ],
  "aiContactId": "<string>",
  "aiCustomerId": "<string>",
  "priority": "0"
}
'
{}

Body

application/json
title
string
required
Minimum string length: 1
description
string | null
required
dueDate
string | null
required
dueTime
string | null
required
timezone
string | null
required
responsibleIds
string[]
required
aiContactId
string | null
required
aiCustomerId
string | null
required
priority
enum<string>
required
Available options:
0,
1,
2
associateToCalendar
boolean
default:false

Response

Task created successfully

The response is of type object.