Enables agents to initiate a call from a third-party application, such as a CRM, via the API. Agents are identified by their extensions in the agent parameter. The destination numbers are specified in the number parameter.
POST /api/v1/{api_key}/click2call
All parameters are valid and the API call is successful.
application/json
Object
{
"call_id": "24f6a191-f0ad-4257-x934-32xx26x51208"
}
curl -X POST -G \
--url 'https://www.example.com/api/v1/ZXTf40WQMcQQJHZKGMhHL8av1AvonVHy/click2call' \
-d 'agent=347' \
-d 'number=16461572020' \
-d 'account_id=12345678' \
-d 'crm=my_crm'