Skip to main content
POST
Subscribe to contact presence

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

X-Device-Id
string

Device identifier for multi-device support. Required when multiple devices are registered. If only one device is registered, it will be used as the default. Can also be provided as device_id query parameter.

Example:

"my-device-id"

Body

application/json
phone
string
required

Individual contact phone number with country code

Example:

"6289685028129"

Response

Subscription accepted. This does not guarantee contact presence delivery.

status
integer
Example:

200

code
string
Example:

"SUCCESS"

message
string
Example:

"Success subscribe to user presence"

results
object