Skip to main content
POST
Criar agendamento

Authorizations

X-API-Key
string
header
required

Chave de API gerada na plataforma em Integrações → API Keys

Headers

Idempotency-Key
string

Chave opcional para evitar duplicação em retries de rede. Se a mesma chave for reenviada para o mesmo endpoint dentro de 24h, a resposta original é retornada (sem repetir o efeito colateral), com o header Idempotent-Replay: true.

Body

application/json
title
string
required
Example:

"Consulta com João Silva"

scheduled_at
string<date-time>
required
duration_minutes
integer
default:60
notes
string | null
lead_id
string<uuid> | null

Vincula o agendamento a um lead existente da loja

Response

Agendamento criado com sucesso

id
string<uuid>
store_id
string<uuid>
lead_id
string<uuid> | null
title
string

Título/assunto do agendamento

scheduled_at
string<date-time>
duration_minutes
integer
status
enum<string>
Available options:
scheduled,
done,
cancelled,
no_show
notes
string | null
created_at
string<date-time>
updated_at
string<date-time>