Create Company Agenda
POST
/agendas/{companyId}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/agendas/{{companyId}}' \
--header 'Authorization: {{apiKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Thiago - Parceria de Marketing",
"workTime": {
"monday": [
{
"start": "09:00:00",
"end": "12:00:00"
},
{
"start": "14:00:00",
"end": "18:00:00"
}
],
"tuesday": [
{
"start": "09:00:00",
"end": "12:00:00"
},
{
"start": "14:00:00",
"end": "18:00:00"
}
],
"wednesday": [
{
"start": "09:00:00",
"end": "12:00:00"
},
{
"start": "14:00:00",
"end": "18:00:00"
}
],
"thursday": [
{
"start": "09:00:00",
"end": "12:00:00"
},
{
"start": "14:00:00",
"end": "18:00:00"
}
],
"friday": [
{
"start": "09:00:00",
"end": "12:00:00"
},
{
"start": "14:00:00",
"end": "17:00:00"
}
],
"saturday": [],
"sunday": []
},
"slotDuration": {
"hours": 1,
"minutes": 0
},
"minAdvanceTime": {
"hours": 2,
"minutes": 0
},
"dailyLimit": 8,
"timezone": "America/Sao_Paulo",
"slotCapacity": 1
}'
Response Response Example
{}
Requisição
Parâmetros Path
companyId
string
requerido
Exemplo:
{{companyId}}
Parâmetros Header
Authorization
string
requerido
Exemplo:
{{apiKey}}
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-06-12 14:26:53