Skip to content

Get a SIP domain

GET
/v1/Accounts/{auth_id}/Sips/Domains/{domain_id}
curl --request GET \
--url https://api.siprtc.io/v1/Accounts/example/Sips/Domains/1 \
--header 'Authorization: Basic <credentials>'

Returns one SIP domain of your account. A successful lookup answers with HTTP 202 rather than 200.

auth_id
required
string

Auth ID of your account.

domain_id
required
integer

ID of the SIP domain.

The SIP domain.

Media type application/json
object
acc_id

Auth ID of the account that owns the domain.

string
application_id

Application that handles calls arriving at the domain; -1 when none.

integer
application_name

Name of the attached application, or “-” when none. Only filled in lists.

string
created_time

When the domain was created (RFC 3339).

string
domain_name

Full domain name, <domain_prefix>..

string
domain_prefix

Host label the domain was created with. Only present in the create response.

string
id

Numeric ID of the SIP domain (domain_id).

integer
ip_auth

Allowed source addresses: a JSON array of addresses and CIDR prefixes, or {“whitelisted_ips”: […]}. An empty list allows any source.

object
name

Display name.

string
parent_act_id

Auth ID of the owner’s parent (vendor) account.

string
status

Whether the domain accepts calls.

boolean
updated_time

When the domain was last changed (RFC 3339).

string
user_auth

User authentication settings, for example {“enabled”: false}.

object

Example

{
"acc_id": "AC000000000000000000",
"application_id": 1024,
"application_name": "IVR main",
"created_time": "2026-01-15T10:30:00Z",
"domain_name": "acme.sip.siprtc.io",
"domain_prefix": "acme",
"id": 301,
"name": "Head office PBX",
"parent_act_id": "AC000000000000000009",
"status": true,
"updated_time": "2026-01-16T08:00:00Z"
}

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

Media type application/json
string

Example generated

example

Domain_id is not a positive number (body “Invalid Request”).

Media type application/json
string

Example generated

example

No domain with this ID on your account (errors.body “record not found”).

Media type application/json
object
errors

The error detail.

object
body

Error text as reported by the data store, for example “record not found”.

string

Example

{
"errors": {
"body": "record not found"
}
}