Skip to main content
POST
Definir presença (online/offline)

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

instanceId
string<uuid>
obrigatório

UUID da instância WhatsApp

Exemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Corpo

application/json
presence
enum<string>
obrigatório

Estado de presença a definir

Opções disponíveis:
online,
offline

Resposta

Presença atualizada

ok
boolean
obrigatório

Operação bem-sucedida

Exemplo:

true