Get Voice History
GET
/voice/history
Voice
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://rest.clicksend.com/v3/voice/history?date_from={date_from}&date_to={date_to}'
Response Response Example
{
"data": {
"current_page": 1,
"data": [
{
"body": "this is a test.",
"carrier": "",
"country": "US",
"custom_string": "mystring",
"date_added": 1443501617,
"digits": null,
"from": "+19403944918",
"lang": "en-us",
"list_id": null,
"machine_detected": 0,
"message_id": "D6456F8A-9DF9-46EC-8014-BFE87860F65C",
"message_parts": "1.00",
"message_price": "0.17",
"require_input": 0,
"schedule": "1538672470",
"status": "WaitApproval",
"status_code": null,
"status_text": null,
"subaccount_id": 1,
"to": "+15184811537",
"to_type": "mobile",
"user_id": 1,
"voice": "female"
},
{
"body": "this is a test.",
"carrier": "",
"country": "US",
"custom_string": "mystring",
"date_added": 1443501727,
"digits": null,
"from": "+19403944918",
"lang": "en-us",
"list_id": null,
"machine_detected": 0,
"message_id": "25304958-15F2-41D9-8716-CF1F28EF506B",
"message_parts": "1.00",
"message_price": "0.17",
"require_input": 0,
"schedule": "1538672470",
"status": "WaitApproval",
"status_code": null,
"status_text": null,
"subaccount_id": 1,
"to": "+15184811537",
"to_type": "mobile",
"user_id": 1,
"voice": "female"
},
{
"body": "this is a test.",
"carrier": "",
"country": "US",
"custom_string": "mystring",
"date_added": 1443501727,
"digits": null,
"from": "+19403944918",
"lang": "en-us",
"list_id": null,
"machine_detected": 0,
"message_id": "0B474459-B75F-4180-9567-7ECA3FC56BD7",
"message_parts": "1.00",
"message_price": "0.17",
"require_input": 0,
"schedule": "1538672470",
"status": "WaitApproval",
"status_code": null,
"status_text": null,
"subaccount_id": 1,
"to": "+15184811538",
"to_type": "mobile",
"user_id": 1,
"voice": "female"
},
{
"body": "this is a test.",
"carrier": "",
"country": "US",
"custom_string": "mystring",
"date_added": 1443501727,
"digits": null,
"from": "+19403944918",
"lang": "en-us",
"list_id": null,
"machine_detected": 0,
"message_id": "A991556C-D4A5-47D5-A5E5-C9D251C8743A",
"message_parts": "1.00",
"message_price": "0.17",
"require_input": 0,
"schedule": "1538672470",
"status": "WaitApproval",
"status_code": null,
"status_text": null,
"subaccount_id": 1,
"to": "+15184811539",
"to_type": "mobile",
"user_id": 1,
"voice": "female"
}
],
"from": 1,
"last_page": 1,
"next_page_url": null,
"per_page": 15,
"prev_page_url": null,
"to": 4,
"total": 4
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Here is your history."
}
Request
Path Params
date_from
stringÂ
required
Example:
1443501617
date_to
stringÂ
required
Example:
1443501727
Query Params
date_from
stringÂ
required
Example:
{date_from}
date_to
stringÂ
required
Example:
{date_to}