POST
/api/send-presence-update
Sends a presence update to a specific JID (e.g., 'typing...' or 'recording...') to indicate user activity. This requires an active session.
Send Presence Update
Sends a presence update to a specific JID (e.g., 'typing...' or 'recording...') to indicate user activity. This requires an active session.
Parameters
Name | Type | Required | Description |
---|---|---|---|
jid | string | Yes | WhatsApp JID of the recipient (e.g., `[email protected]`). |
type | string | Yes | The type of presence to display. Must be either `composing` or `recording`. |
delayMs | integer | No | Optional duration in milliseconds to show the presence update. |
Code Examples
curl -X POST \
"https://www.wasenderapi.com/api/send-presence-update" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jid": "[email protected]",
"type": "composing"
}'
Response Examples
{
"success": true,
"data": {
"jid": "[email protected]",
"type": "composing"
}
}