API Documentation
Endpoint
POST https://api-v1.delight.fit/voicenotify
Headers
- Content-Type: application/x-www-form-urlencoded
Request Body
curl --location 'https://api-v1.delight.fit/voicenotify' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'access_token=41cce034c56f4e04f021a8c49bd22b96ad9bfa70685d4cbd463582cf1da67d04' \
--data-urlencode 'rows=[{"message":"This is a test.","caller":"815050500813","phone":"819039045607","language":"ja","UTC":"UTC","callback_token":"YOUR_CALLBACK_TOKEN","callback_url":"https://yourdomain.com/live-outbound-responce"},{"message":"This is a test.","caller":"815050500813","phone":"819039045607","language":"en","UTC":"UTC","callback_token":"YOUR_CALLBACK_TOKEN","callback_url":"https://yourdomain.com/live-outbound-responce"}]'
Response
{
"success": "1",
"date": "Tue, 21 Jan 2025 09:11:55 GMT",
"result": {
"count": "2",
"success_count": "2",
"errors_count": "0",
"message": "Call results are posted to the callback URL you provided after the call is completed."
}
}
Callback URL Response
The results will be posted to the provided callback URL after the call is completed.
Query Strings
- callee: 8190390456xx
- caller: 8150505008xx
- success: (empty)
Example Response
{
"callee": "8190390456xx",
"caller": "8150505008xx",
"success": ""
}