v1

latestOpenAPI 3.1.02026-07-241370148.9 KB

Initiate Click to Call

This API allows you to use click to call.

post/v1/click_to_call

Headers

Authorizationstring required

Request body

destination_numberstring required

Number of the client that needs to be called.

agent_numberstring required

ID of the Acefone agent who will receive the call.

caller_idstring

Caller ID that is shown to the called party.

async'1' required

Make multiple calls simultaneously, i.e don't wait for agent to pick up the call before sending back the response. 1: asynchronous request, 0: synchronous request

call_timeoutinteger

With the help of this request variable you can limit the time of the call. Call will auto disconnect after provided seconds have been reached in call duration.

custom_identifierstring

Custom parameter that can be send while making a Click To Call request. This parameter will be returned in webhook. Note: This is a sample custom identifier, you can send your own custom parameters while making a request to Servetel.

Response

200

object required