connections.google_event_create
Criar evento no Google Calendar (com link do Meet). Cria o evento no calendário do atendente (calendarId, padrão primary) e, por padrão (withMeet, padrão true), gera o link do Google Meet: meetUrl. attendeeEmails convida pessoas; notifyAttendees manda o convite do Google. É o que as agendas usam ao marcar uma reunião. O próprio atendente ou um administrador. Sem conexão, not_found.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/connections.google_event_create(corpo JSON) - Quem pode chamar: membro da conta
- Escopo da chave:
crm:write - Grava dados: sim
- Pela chave de API: sim
- Ferramenta MCP:
connections_google_event_create - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdconnections.google_event_create)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
attendantId | string (uuid) | não | |
calendarId | string | não | |
title | string | sim | |
description | string | null | não | |
location | string | null | não | |
startAt | string (date-time) | sim | |
endAt | string (date-time) | sim | |
timeZone | string | null | não | |
attendeeEmails | string (email)[] | não | |
notifyAttendees | boolean | não | |
withMeet | boolean | não |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"attendantId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"calendarId": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 8000
},
{
"type": "null"
}
]
},
"location": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"startAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"endAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"timeZone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"attendeeEmails": {
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"notifyAttendees": {
"type": "boolean"
},
"withMeet": {
"type": "boolean"
}
},
"required": [
"title",
"startAt",
"endAt"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/connections.google_event_create \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Reunião de apresentação","startAt":"2026-11-02T14:00:00-03:00","endAt":"2026-11-02T14:30:00-03:00","attendeeEmails":["[email protected]"]}'CLI:
node cli/atomiks.mjs connections.google_event_create --json '{"title":"Reunião de apresentação","startAt":"2026-11-02T14:00:00-03:00","endAt":"2026-11-02T14:30:00-03:00","attendeeEmails":["[email protected]"]}'MCP: ferramenta connections_google_event_create com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventId": {
"type": "string"
},
"calendarId": {
"type": "string"
},
"htmlLink": {
"type": [
"string",
"null"
]
},
"meetUrl": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
}
},
"required": [
"eventId",
"calendarId",
"htmlLink",
"meetUrl",
"status"
],
"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).