When Blu finishes an outbound call, Blu callbacks the dial result data through the callback address which is provided by client.
Description:1.
For every Blu merchant, only one callback address can be configured;
2.
The dial result is called back as a single record;
3.
When Blu initiates a callback request, and the client side responds with http status = 200, Blu determines that the callback was successful;
4.
Retry mechanism for callback failure: every 5 minutes retry once, 5 retries maximum.
Request
Body Params application/json
{
"taskId": 66635573.
"records": [
{
"id": 55667448,
"name": "Anoj Mohoo",
"mobile": "0177****3990",
"extVars": "{"key": "string", "intkey":10000}",
"callVars": "{"name": "Bob", "salary":10000}"
}
]
}
Request Code Samples
curl --location --request POST 'Tenant URL' \
--header 'Content-type: application/json;charset=utf-8' \
--data-raw '{
"taskId": 66635573.
"records": [
{
"id": 55667448,
"name": "Anoj Mohoo",
"mobile": "0177****3990",
"extVars": "{"key": "string", "intkey":10000}",
"callVars": "{"name": "Bob", "salary":10000}"
}
]
}'
Responses
application/json {
"code": 200,
"message": "success"
}
Modified at 2024-10-28 08:53:57