Skip to main content
PUT
/
instances
/
{id}
/
presence
Definir Presença
curl --request PUT \
  --url https://api.wapizap.com/api/v2/instances/{id}/presence \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "presence": "available"
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Body

application/json
presence
enum<string>
required

Status de presença

Available options:
available,
unavailable,
composing,
recording

Response

200

Presença atualizada