Add a Test Delivery Receipt
POST
/voice/receipts
Voice
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://rest.clicksend.com/v3/voice/receipts' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "http://yourdomain.com"
}'
Response Response Example
{
"data": {
"custom_string": null,
"digits": "2",
"error_code": null,
"error_text": null,
"message_id": "CEA5E06A-F4BF-4EC6-8315-B25087352DFA",
"message_type": "voice",
"status_code": "201",
"status_text": "Success: Message received on handset.",
"subaccount_id": 1746,
"timestamp": "1489730505",
"timestamp_send": "1489730505"
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Test receipt has been added."
}
Request
Body Params application/json