Initiate Click to Call

Changed on
post/v1/click_to_call

Request

Headers

Authorizationstring required

Required to authorize the API request.

Request body

agent_numberstring required

Smartflo agent who will receive the first leg of the call. Supports Agent Mobile Number, Agent ID, or Agent Extension.

destination_numberstring required

Mobile or landline number of the customer to be called.

caller_idstring required

Caller ID displayed to the destination party. If omitted, the default Pilot Number is used.

asyncinteger required

Specifies asynchronous processing. Only 1 is supported; the request immediately returns the acceptance status.

call_timeoutinteger

Maximum duration of the connected call in seconds. The call is automatically disconnected after the timeout.

custom_identifierstring

Supports up to 10 custom identifiers, with a combined JSON size of up to 512 characters. Values must be alphanumeric; $ is not supported.

Response

200

object required

Changes