Get Last Outbound Call Date
Retrieve the date and time of the most recent outbound call for your account. This endpoint is primarily intended to help determine the latest available outbound traffic date before requesting paginated outbound call records or statistics. Optional filtering parameters may be applied to narrow the search scope using outbound call filters.
Query Parameters
Optional parameter. Returns only calls where billed/connected duration is greater than or equal to the provided value (in seconds).
0 <= valueOptional parameter. Returns only calls where billed/connected duration is less than or equal to the provided value (in seconds).
0 <= valueOptional parameter. Filters records by destination direction codes. Accepts a list of ISO alpha-3 country codes in upper case.
Optional parameter. Filters records by call result/disposition values.
Optional parameter. Filters Call Detail Records (CDRs) by destination number. Performs full text match.
Optional parameter. Returns only calls where total call duration is greater than or equal to the provided value (in seconds).
0 <= valueOptional parameter. Returns only calls where total call duration is less than or equal to the provided value (in seconds).
0 <= valuePagination parameters. Accepts page number. Pagination starts on page=1. If parameter is not provided, the default value of 1 will be set.
Pagination parameter. Accepts the size of page for pagination. Minimal page size is 1. If parameter is not provided, the default value of 10 will be set.
Time period filter, determines the end of the period. Accepts string with time either as UNIX timestamp, or in format 2006-01-02T15:04:05Z07:00.
Time period filter, determines the start of the period. Accepts string with time either as UNIX timestamp, or in format 2006-01-02T15:04:05Z07:00.
Ordering parameter. Defines by which field the data will be sorted. If parameter is not provided, will be used entity's default ordering. To use entity's default sorting, pass _default as value.
"_default" | "id" | "calldate" | "src" | "dst" | "disposition" | "duration" | "localized_dst" | "billsec" | "user_rate" | "user_price" | "direction_code" | "direction_name"Ordering parameter. Defines the order of sorting (asc or desc). If parameter is not provided, will be used entity's default ordering.
"asc" | "desc"Optional parameter. Filters Call Detail Records (CDRs) by source/originating number. Performs full text match.
Header Parameters
Your API token
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://dev-refactor-api-e.voipenv.uk/api/v1/voice/calls/outbound/last" \ -H "Authorization: string"{
"last_call_date": "string"
}{
"code": 0,
"error_details": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"message": "string",
"request_id": "string",
"status": "error"
}{
"code": 0,
"error_details": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"message": "string",
"request_id": "string",
"status": "error"
}{
"code": 0,
"error_details": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"message": "string",
"request_id": "string",
"status": "error"
}