{
"from": {
"type": "external",
"number": "STRINGEE_NUMBER",
"alias": "STRINGEE_NUMBER"
},
"to": [{
"type": "external",
"number": "TO_NUMBER_1",
"alias": "TO_NUMBER_1"
}],
"actions": [{
"action": "connect",
"from": {
"type": "internal",
"number": "STRINGEE_NUMBER",
"alias": "STRINGEE_NUMBER"
},
"to": {
"type": "external",
"number": "TO_NUMBER_2",
"alias": "TO_NUMBER_2"
}
}]
}
Where:
STRINGEE_NUMBER: the phone number to make the outbound call (bought in step 3), format 84xxxxxxxxx (i.g 842473082686)
TO_NUMBER_1: the phone number will receive the 1st call, format 84xxxxxxxxx (i.g 84899199586)
TO_NUMBER_2: the phone number will receive the 2nd call, format 84xxxxxxxxx (i.g 84909982888)
Sample
curl -i -X POST \
-H "X-STRINGEE-AUTH:ACCESS_TOKEN" \
-d \
'{
"from": {
"type": "external",
"number": "84989048888",
"alias": "84989048888"
},
"to": [{
"type": "external",
"number": "84976415888",
"alias": "84976415888"
}],
"actions": [{
"action": "connect",
"from": {
"type": "external",
"number": "84989048888",
"alias": "84989048888"
},
"to": {
"type": "external",
"number": "84379368888",
"alias": "84379368888"
}
}]
}
' \
'https://api.stringee.com/v1/call2/callout'