Skip to content

List IP access control lists

GET
/v1/Accounts/{auth_id}/SipTrunk/IPAcl
curl --request GET \
--url 'https://api.siprtc.io/v1/Accounts/example/SipTrunk/IPAcl?status=active&page=1&limit=30' \
--header 'Authorization: Basic <credentials>'

Returns your IP access control lists (named groups of source IP addresses allowed to send calls to a trunk’s termination URI), newest first, 30 per page by default, each with its addresses and ipaddrs_count. name matches any part of the list name. For a vendor account without customer_id the result holds the lists of all its direct child accounts (not the vendor’s own), each with customer_info; with customer_id it holds that child’s lists.

auth_id
required
string

Auth ID of your account.

name
string

Return lists whose name contains this text.

status
string
Allowed values: active inactive any all

Return only this status. Default (or any / all): active and inactive.

customer_id
string

Vendor accounts only: list the IP access control lists of this direct child account.

page
integer
default: 1

Page number, starting at 1.

limit
integer
default: 30

Page size; values above 100 fall back to 30.

One page of IP access control lists.

Media type application/json
object
base_url

The request URL the page links are built from.

string
current_page

Page number that was returned (1-based).

integer
ipacllist

Lists on this page, newest first.

Array<object>
object
auth_id

Auth ID of the account that owns the list.

string
created_at

When the record was created (RFC 3339).

string
created_by

Auth ID of the account that created the record.

string
customer_info

Owner details; filled only when a vendor lists its child accounts’ lists.

object
auth_id

Auth ID of the owning child account.

string
email

Email address on the owning account.

string
firstName

First name on the owning account.

string
lastName

Last name on the owning account.

string
id

IP access control list ID (UUID).

string
ip_acl_name

Name of the list.

string
ip_addresses

IP addresses in the list.

Array<object>
object
cidr

The IPv4 address.

string
id

IP address record ID.

string
ipaddrs_count

Number of IP addresses in the list.

integer
modified_by

Auth ID of the account that last changed the record.

string
status

Status of the list.

string
Allowed values: active inactive
updated_at

When the record was last changed (RFC 3339).

string
last_page

Number of the last page.

integer
next_url

Link to the next page; omitted on the last page.

string
per_page

Page size that was applied.

integer
prev_url

Link to the previous page; omitted on the first page.

string
total_results

Total number of matching records across all pages.

integer

Example

{
"base_url": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/SipTrunk?page=1",
"current_page": 1,
"ipacllist": [
{
"auth_id": "AC000000000000000000",
"created_at": "2026-01-15T10:30:00Z",
"created_by": "AC000000000000000000",
"customer_info": {
"auth_id": "AC000000000000000001",
"email": "jane.doe@example.com",
"firstName": "Jane",
"lastName": "Doe"
},
"id": "0b8e7f4a-3c2d-4e1f-8a9b-7c6d5e4f3a01",
"ip_acl_name": "Office IPs",
"ip_addresses": [
{
"cidr": "203.0.113.10",
"id": "5f4e3d2c-1b0a-4987-8f6e-5d4c3b2a1901"
}
],
"ipaddrs_count": 1,
"modified_by": "AC000000000000000000",
"status": "active",
"updated_at": "2026-01-16T08:00:00Z"
}
],
"last_page": 1,
"next_url": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/SipTrunk?page=2",
"per_page": 30,
"prev_url": "",
"total_results": 2
}

The gateway did not supply your company (message “company id is empty”).

Media type application/json
object
message

Human-readable explanation of the outcome.

string
status

Outcome of the request: “success” or “failed”.

string
Allowed values: success failed

Example

{
"message": "Invalid auth ID",
"status": "success"
}

Missing or wrong Basic-auth credentials (returned by the API gateway).

Media type application/json
string

Example generated

example

Customer_id is not a direct child of your account.

Media type application/json
object
message

Human-readable explanation of the outcome.

string
status

Outcome of the request: “success” or “failed”.

string
Allowed values: success failed

Example

{
"message": "Invalid auth ID",
"status": "success"
}

The lists could not be read.

Media type application/json
object
message

Human-readable explanation of the outcome.

string
status

Outcome of the request: “success” or “failed”.

string
Allowed values: success failed

Example

{
"message": "Invalid auth ID",
"status": "success"
}