connections.google_event_update
Alterar evento do Google Calendar. Altera só o que vier (title, description, location, startAt/endAt, attendeeEmails). withMeet: true acrescenta o link do Meet se o evento ainda não tiver. Use o eventId e o calendarId de connections.google_event_create. O próprio atendente ou um administrador.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/connections.google_event_update(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_update - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdconnections.google_event_update)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
attendantId | string (uuid) | não | |
calendarId | string | não | |
eventId | string | sim | |
withMeet | boolean | não | |
title | string | não | |
description | string | null | não | |
location | string | null | não | |
startAt | string (date-time) | não | |
endAt | string (date-time) | não | |
timeZone | string | null | não | |
attendeeEmails | string (email)[] | não | |
notifyAttendees | 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
},
"eventId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"withMeet": {
"type": "boolean"
},
"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"
}
},
"required": [
"eventId"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/connections.google_event_update \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"eventId":"abc123","startAt":"2026-11-02T15:00:00-03:00","endAt":"2026-11-02T15:30:00-03:00"}'CLI:
node cli/atomiks.mjs connections.google_event_update --json '{"eventId":"abc123","startAt":"2026-11-02T15:00:00-03:00","endAt":"2026-11-02T15:30:00-03:00"}'MCP: ferramenta connections_google_event_update 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).