scheduling.settings_set
Alterar os ajustes de agendamento. Só o que for enviado muda. timezone e workspaceSlug aceitam null para voltar ao padrão (workspaceSlug: 3 a 48 letras minúsculas, números e hífen, único entre as contas, senão invalid_input). Devolve os ajustes. Exige a migration de agendas (migration_pendente sem ela).
- Endpoint:
POST https://app.atomiks.com.br/api/v1/scheduling.settings_set(corpo JSON) - Quem pode chamar: administrador da conta
- Escopo da chave:
crm:write - Grava dados: sim
- Pela chave de API: sim
- Ferramenta MCP:
scheduling_settings_set - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdscheduling.settings_set)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
timezone | string | null | não | |
workspaceSlug | string | null | não | |
googleMeetAutoLink | boolean | não | |
bidirectionalCalendarSync | boolean | não | |
autoNoShow | boolean | não | |
meetingRecording | boolean | não | |
meetingRecordingVideo | boolean | não | |
schedulableRoles | "owner" | "admin" | "member"[] | não |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"timezone": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 64
},
{
"type": "null"
}
]
},
"workspaceSlug": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z0-9-]{3,48}$"
},
{
"type": "null"
}
]
},
"googleMeetAutoLink": {
"type": "boolean"
},
"bidirectionalCalendarSync": {
"type": "boolean"
},
"autoNoShow": {
"type": "boolean"
},
"meetingRecording": {
"type": "boolean"
},
"meetingRecordingVideo": {
"type": "boolean"
},
"schedulableRoles": {
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"owner",
"admin",
"member"
]
}
}
}
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/scheduling.settings_set \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"timezone":"America/Sao_Paulo","schedulableRoles":["owner","admin"]}'CLI:
node cli/atomiks.mjs scheduling.settings_set --json '{"timezone":"America/Sao_Paulo","schedulableRoles":["owner","admin"]}'MCP: ferramenta scheduling_settings_set com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"timezone": {
"type": "string"
},
"workspaceSlug": {
"type": "string"
},
"googleMeetAutoLink": {
"type": "boolean"
},
"bidirectionalCalendarSync": {
"type": "boolean"
},
"autoNoShow": {
"type": "boolean"
},
"meetingRecording": {
"type": "boolean"
},
"meetingRecordingVideo": {
"type": "boolean"
},
"schedulableRoles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"owner",
"admin",
"member"
]
}
}
},
"required": [
"timezone",
"workspaceSlug",
"googleMeetAutoLink",
"bidirectionalCalendarSync",
"autoNoShow",
"meetingRecording",
"meetingRecordingVideo",
"schedulableRoles"
],
"additionalProperties": false
}Erros
{"error": {"code", "message", "requestId"}}. Códigos: invalid_input (400), unauthorized (401), forbidden / account_pending / scope_missing (403), not_found (404), limit_reached (409), internal (500).