Skip to content

Get an IP address

GET
/v1/Accounts/{auth_id}/SipTrunk/IPAclIPAddrs/{ip_address_id}
curl --request GET \
--url https://api.siprtc.io/v1/Accounts/example/SipTrunk/IPAclIPAddrs/example \
--header 'Authorization: Basic <credentials>'

Returns one IP address record with the IP access control lists it belongs to.

auth_id
required
string

Auth ID of your account.

ip_address_id
required
string

ID of the IP address record.

The IP address.

Media type application/json
object
result

The IP address.

object
auth_id

Auth ID of the account that owns the address.

string
cidr

The IPv4 address.

string
created_at

When the record was created (RFC 3339).

string
created_by

Auth ID of the account that created the record.

string
id

IP address record ID (UUID).

string
ip_acl_list_id

JSON-encoded array of the IP access control list IDs it belongs to, as stored.

string
ip_acl_list_ids

The IP access control lists it belongs to, resolved to ID and name. Filled by GET only.

Array<object>
object
id

IP access control list ID.

string
name

IP access control list name.

string
modified_by

Auth ID of the account that last changed the record.

string
status

Status of the address.

string
Allowed values: active inactive
updated_at

When the record was last changed (RFC 3339).

string
status

Always “success”.

string

Example

{
"result": {
"auth_id": "AC000000000000000000",
"cidr": "203.0.113.10",
"created_at": "2026-01-15T10:30:00Z",
"created_by": "AC000000000000000000",
"id": "5f4e3d2c-1b0a-4987-8f6e-5d4c3b2a1901",
"ip_acl_list_id": "[\"0b8e7f4a-3c2d-4e1f-8a9b-7c6d5e4f3a01\"]",
"ip_acl_list_ids": [
{
"id": "0b8e7f4a-3c2d-4e1f-8a9b-7c6d5e4f3a01",
"name": "Office IPs"
}
],
"modified_by": "AC000000000000000000",
"status": "active",
"updated_at": "2026-01-16T08:00:00Z"
},
"status": "success"
}

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

Media type application/json
string

Example generated

example

No live IP address record with this ID (code 20404).

Media type application/json
object
code

SIPRTC error code, for example 21213 (invalid field) or 20404 (not found).

integer
message

Human-readable description of the error.

string
more_info

Link to more information.

string
status

HTTP status the error is meant to map to. It can differ from the actual response status.

integer

Example

{
"code": 21213,
"message": "validation failed on field Password is not valid",
"more_info": "https://api.siprtc.io",
"status": 400
}