List number reservations
Changed onGets a paginated list of phone number reservations.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/number_reservations
- Auth: HTTP bearer
Query parameters
Consolidated page parameter (deepObject style). Originally: page[size], page[number]
Consolidated filter parameter (deepObject style). Originally: filter[status], filter[created_at], filter[phone_numbers.phone_number], filter[customer_reference]
Response
Successful response with a list of number reservations.
Example response
{
"data": [
{
"id": "12ade33a-21c0-473b-b055-b3c836e1c292",
"record_type": "number_reservation",
"phone_numbers": [
{
"id": "12ade33a-21c0-473b-b055-b3c836e1c292",
"record_type": "reserved_phone_number",
"phone_number": "+19705555098",
"status": "pending",
"created_at": "2018-01-01T00:00:00.000000Z",
"updated_at": "2018-01-01T00:00:00.000000Z",
"expired_at": "2018-01-01T00:00:00.000000Z",
"errors": "Number is already on hold"
}
],
"status": "pending",
"customer_reference": "MY REF 001",
"created_at": "2018-01-01T00:00:00.000000Z",
"updated_at": "2018-01-01T00:00:00.000000Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status
- breaking