Get an IP access control list
const url = 'https://api.siprtc.io/v1/Accounts/example/SipTrunk/IPAcl/example';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siprtc.io/v1/Accounts/example/SipTrunk/IPAcl/example \ --header 'Authorization: Basic <credentials>'Returns one IP access control list with its IP addresses. The list ID is returned as ip_acl_id here (the list operation calls it id).
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Auth ID of your account.
ID of the IP access control list.
Responses
Section titled “ Responses ”The IP access control list.
object
Auth ID of the account that owns the list.
When the record was created (RFC 3339).
Auth ID of the account that created the record.
IP access control list ID (UUID).
Name of the list.
IP addresses in the list. Filled by GET only.
object
The IPv4 address.
IP address record ID.
Number of IP addresses (0 in these responses; see ip_addresses).
Auth ID of the account that last changed the record.
Status of the list.
When the record was last changed (RFC 3339).
Example
{ "auth_id": "AC000000000000000000", "created_at": "2026-01-15T10:30:00Z", "created_by": "AC000000000000000000", "ip_acl_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": 0, "modified_by": "AC000000000000000000", "status": "active", "updated_at": "2026-01-16T08:00:00Z"}Missing or wrong Basic-auth credentials (returned by the API gateway).
Example generated
exampleNo live list with this ID (message “ipacl not found”).
object
Human-readable explanation of the outcome.
Outcome of the request: “success” or “failed”.
Example
{ "message": "Invalid auth ID", "status": "success"}