{
"type": "chat_presence",
"event_id": "01J5Q8ZK3M4N5P6Q7R8S9T0V1Y",
"instance_id": "8f2a3c1e-6b7d-4e5f-9a0b-1c2d3e4f5a6b",
"momment": 1786968540000,
"phone": "5511988887777",
"status": "COMPOSING",
"last_seen": null
}Webhook chat_presence — presença no chat
Contato digitando, gravando áudio ou online.
WEBHOOK
chat_presence
{
"type": "chat_presence",
"event_id": "01J5Q8ZK3M4N5P6Q7R8S9T0V1Y",
"instance_id": "8f2a3c1e-6b7d-4e5f-9a0b-1c2d3e4f5a6b",
"momment": 1786968540000,
"phone": "5511988887777",
"status": "COMPOSING",
"last_seen": null
}Headers
Tipo do evento.
Available options:
chat_presence Id único do evento (ULID). Use para deduplicar.
Instância que gerou o evento.
t=<unix seconds>,v1=<hex> — v1 = HMAC-SHA256(secret, "<t>.<corpo cru>"). Ausente quando a instância não tem segredo.
Body
application/json
Available options:
chat_presence Pattern:
^[0-9A-HJKMNP-TV-Z]{26}$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)$Required range:
0 <= x <= 9007199254740991Minimum string length:
1Pattern:
^(\d{5,20}|\d+@lid|\d+(-\d+)?-group|\d+@g\.us|\d+@newsletter|\d+@broadcast|status@broadcast)$Available options:
AVAILABLE, UNAVAILABLE, COMPOSING, PAUSED, RECORDING Required range:
0 <= x <= 9007199254740991Response
2XX
Qualquer 2xx confirma o recebimento. Outros códigos (ou timeout de 10 s) agendam nova tentativa.