Skip to main content
POST
/
message
/
presence
Send presence update
curl --request POST \
  --url https://api.wppfy.com/message/presence \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '
{
  "number": "5511999999999",
  "presence": "composing",
  "delay": 30000
}
'
{
  "response": "Chat presence sent successfully"
}

Authorizations

token
string
header
required

Body

application/json
number
string
required

Recipient number in international format (e.g., 5511999999999)

Example:

"5511999999999"

presence
enum<string>
required

Type of presence to be sent

Available options:
composing,
recording,
paused
Example:

"composing"

delay
integer

Duration in milliseconds that the presence will remain active (maximum 5 minutes = 300000ms). If not informed or value greater than 5 minutes, uses the default limit of 5 minutes. The presence is resent every 10 seconds during this period.

Required range: x <= 300000
Example:

30000

Response

Presence updated successfully

response
string

Confirmation message

Example:

"Chat presence sent successfully"