Click To Call Service (Deprecated)¶
Click To Call phone number (Deprecated)¶
-
POST
/api/v1/tenants/
(string: tenant_id)/groups/
(string: group_id)/users/
(string: user_id)/services/click_to_call/
¶ Click To Call an user’s phone number. This API is deprecated, use instead Call phone number.
Example request:
POST /api/v1/tenants/foo/groups/foogroup/users/foouser/services/click_to_call/ HTTP/1.1 Host: example.com Content-Type: "application/json" { "phoneNumber": "+3212345678" }
- Request JSON Object:
phoneNumber (string) –
the phone number to call. See Phone Number.
Example response:
HTTP/1.1 201 CREATED Content-Type: "application/json" { "callId": "callhalf-1595867:0", "externalTrackingId": "6d435f94-9ef8-4949-b9c3-1bccd5df1c1f" }
- Response JSON Object:
callId (string) –
the call ID.
externalTrackingId (string) –
the external tracking ID.
- Status Codes:
201 Created – call initiated
400 Bad Request – error invalid phone number
403 Forbidden – error invalid calling user