orvachat

Contacts

Set Online Presence

POST/api/v1/user/presence

Set this number as online (available) or offline (unavailable).

Parameters

  • typestringRequired

    available (online) or unavailable (offline).

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/user/presence" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "available"
}'

Response Example

200 OK
{
  "code": 200,
  "data": {
    "Details": "Presence set successfuly"
  },
  "success": true
}