Contacts
Subscribe to Presence
POST
/api/v1/user/presence/subscribeGet Presence events (online, last seen) for a contact on your webhook.
Parameters
- PhonestringRequired
The contact's phone number, with country code.
| Name | Type | Required | Description |
|---|---|---|---|
| Phone | string | Yes | The contact's phone number, with country code. |
Code Examples
cURL
curl -X POST "https://orvachat.com/api/v1/user/presence/subscribe" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"Phone": "923001234567"
}'