Make a click-to-dial call

POST/api/v1/domains/{domain_uuid}/click-to-dial

Make a registered phone dial a destination. Use the targets endpoint to find the phone’s agent value. Without a selector, the most recently registered controllable phone group is selected; other matches appear in skipped_targets.

This request can start a call or change a phone’s current call state.

Path parameters

domain_uuidstringrequired

Your company ID supplied by Junction Cloud Connections. Use the same ID throughout your requests.

Request body application/json

extensionstringrequired

Extension number to control.

destinationstringrequired

Destination number or dial string to call.

agentstring

Optional. Preferred selector for a specific phone. Retrieve the agent value from GET /api/v1/domains/{domain_uuid}/phone-control/targets; plain text matching is case-insensitive.

vendorstring

Optional. Broader selector for any matching phone from this vendor. Valid values: poly, polycom, yealink, grandstream, snom, ringotel, or generic.

Responses

200Success
objectstring
domain_uuidstring
extension_uuidstring
extensionstring
destinationstring
sentboolean
targetsarray[object]
Show nested fields
vendorstring
agentstring
skipped_targetsarray
resultsarray[object]
Show nested fields
sentboolean
reasonstring
vendorstring
agentstring
400Validation error
errorobject
Show nested fields
typestring
messagestring
codestring
paramstring
401Unauthenticated
errorobject
Show nested fields
typestring
messagestring
codestring
403The request is not available for this account.
404Extension not found
errorobject
Show nested fields
typestring
messagestring
codestring
paramstring
409No controllable registrations
errorobject
Show nested fields
typestring
messagestring
codestring
paramstring
500Internal server error
errorobject
Show nested fields
typestring
messagestring