Example Use Case
A user needs to call a patient to remind them of an upcoming appointment. From their PMS, they click on the patient's phone number. An outbound call from their Mango desk phone is automatically started to the patient's phone number.
Trigger Click-2-Call
Generate Request
Create the following JSON request:
{
"ext_uuid": "100",
"tonumber": "4354662646",
"autoanswer": 1
}
Replace ext_uuid
with the extension to make the call from and tonumber
with the phone number to automatically call.
Alternatively, you can set autoanswer
to 0 if you want the user to confirm the outbound call before it starts to dial the tonumber
. They do this by answering the call first that starts on their phone.
NOTE: autoanswer
of 1 only works for desk phones. All soft phones have to confirm Click-2-Call calls first.
Send Request
POST the JSON request to: https://apiuser.mangovoice.com/api/v2/iclicktocall/{authkey}
Replace {authkey}
with the Authorization Key from the user's PBX.