POST /connections/{phoneNumber}/presence-subscribe
Changed onSubscribe to presence updates for one or more JIDs. Presence updates will be forwarded via the presence.update webhook event. Subscriptions are ephemeral, so re-subscribe periodically for continuous monitoring. LID JIDs are automatically resolved to phone number JIDs before subscribing.
Request
- Base URLhttp://localhost:3025
- AuthAPI key in header x-api-key
Path parameters
Phone number for connection. Must have + prefix.
Request body
Response
Presence subscription result
Changes
- breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking
- info
added the non-success response with the status
- info
added the success response with the status
- info