List all Access IP Ranges
GET/access_ip_ranges
List all Access IP Ranges
Request
Query Parameters
filter[cidr_block] string
filter[cidr_block][startswith] string
filter[cidr_block][endswith] string
filter[cidr_block][contains] string
filter[created_at][gt] date-time
filter[created_at][lt] date-time
page[number] integer
Default value: 1
page[size] integer
Possible values: <= 250
Default value: 20
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/access_ip_ranges' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"id": "string",
"cidr_block": "string",
"status": "pending",
"description": "string",
"user_id": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}
],
"meta": {
"page_number": 0,
"page_size": 0,
"total_pages": 0,
"total_results": 0
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}