Skip to main content
POST
Create a task

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Nome da tarefa

description
string
type
enum<string>
default:task
Available options:
task,
call,
meeting,
deadline,
mail,
lunch,
init-bot
operatorId
number

ID do responsável. Padrão: o usuário dono do token.

dueAt
string

Início da tarefa (ISO 8601 com fuso). Padrão: agora. Agenda o lembrete do responsável.

durationMinutes
number
default:5

Duração em minutos

priority
enum<string>
Available options:
none,
low,
medium,
high,
urgent
contactId
number

ID do contato vinculado

parentId
string

ID da tarefa pai (cria uma subtarefa; só um nível)

Response

201 - application/json
id
string
required
_id
string
required
priority
enum<string>
Available options:
none,
low,
medium,
high,
urgent
attachments
object[]