POST
/
api
/
{session}
/
presence
Definir presença da sessão
curl --request POST \
  --url https://api.wappfy.com.br/api/{session}/presence \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "chatId": "11111111111@c.us",
  "presence": "offline"
}'

Authorizations

apikey
string
header
required

Apikey

Path Parameters

session
string
required

O nome da sessão (instanceName)

Body

application/json
chatId
string
required

Chat ID - either group id or contact id

Example:

"11111111111@c.us"

presence
enum<string>
required
Available options:
offline,
online,
typing,
recording,
paused