Trigger Click-to-Dial Call
Click to Call
Trigger Click-to-Dial Call
POST
Trigger Click-to-Dial Call
Initiate an outbound click-to-dial call that connects a customer’s number to your agent’s phone. The system first rings the customer’s phone (
client_number) and, once answered, bridges the call to the agent (user_number). The customer sees the did_number as the incoming caller ID.
API Endpoint
POST/api/v1/global/click-to-dial
Content-Type: application/json
Authentication: Required (Token header: token or api_access_token)
Request Body
Required Fields
Optional Fields
Success Response
Status Code:200 OK
Response Fields
Error Responses
All errors are returned in a common envelope. Always check theerror field of the response body.
422 Unprocessable Entity
401 Unauthorized
Example Request
Important Notes
DID Ownership
- The
did_numbermust be a DID (phone number) that is already purchased and active on your workspace - Calls with a DID you do not own are rejected with
This number does not belong to your account, kindly buy it
Call Flow
- The customer’s phone (
client_number) rings first - Once the customer answers, the call is bridged to the agent (
user_number) - The customer sees the
did_numberas the incoming caller ID
Phone Number Format
- Country code prefixes are normalized automatically, so
+919876543210and9876543210are treated as the same number - It is still recommended to include the country code with the
+prefix
Call Tracking
- Store the
call_idreturned in the response for tracking purposes - Use the optional
app_id,object_id,submitted_id, andslugfields to attach tracking metadata to the call - Calls triggered with an
app_idcan later be filtered in the call history endpoint
Headers
API token for authentication
Body
application/json
The customer's phone number to dial (the callee). This number is rung first. Country code prefixes are normalized automatically
The calling agent's own phone number. The call is bridged to this number once the customer answers
The DID to display as the caller ID. Must be an active DID owned by your workspace
ID of the app to associate this call with, used for tracking and filtering call history
ID of the record/object this call relates to (tracking metadata)
Submission identifier to associate with this call (tracking metadata)
Field slug to associate with the dialled number (tracking metadata)

