Documentation Index
Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt
Use this file to discover all available pages before exploring further.
Criar Evento de Calendário
Criar um novo evento em um calendário.
Endpoint
POST /api/v1/calendars/{calendar_id}/events
Parâmetros de Caminho
Cabeçalhos da Requisição
Token Bearer para autenticação. Formato: Bearer talq_your_environment_token_here
Deve ser application/json.
Corpo da Requisição
Horário de início. ISO 8601.
Horário de término. ISO 8601. Deve ser posterior a start_at.
Opções: confirmed, tentative, cancelled. Padrão: confirmed.
Tag livre de tipo de evento (ex: meeting, block, appointment).
UUID do proprietário (usuário ou agente).
Tipo do proprietário. Opções: user, agent.
Array de objetos { name, email }.
Exemplos
curl -X POST "https://app.talkover.ai/api/v1/calendars/calendar-uuid-1/events" \
-H "Authorization: Bearer talq_your_environment_token_here" \
-H "Content-Type: application/json" \
-d '{
"title": "Demo with Acme",
"start_at": "2024-01-20T15:00:00Z",
"end_at": "2024-01-20T15:30:00Z",
"type": "meeting",
"attendees": [{"name":"Jane Doe","email":"[email protected]"}]
}'
Resposta
{
"success": true,
"data": {
"id": "event-uuid-1",
"calendar_id": "calendar-uuid-1",
"title": "Demo with Acme",
"start_at": "2024-01-20T15:00:00Z",
"end_at": "2024-01-20T15:30:00Z",
"status": "confirmed",
"type": "meeting"
}
}