Skip to content

List SIP users

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

Returns the SIP users (SIP endpoints that phones and softphones register with) of your account, newest first, 30 per page by default. name and sipUser match the start of the display name and the SIP username; status is active or inactive. When name, sipUser and status are all given they are combined, otherwise only the first one given (in that order) is applied. associate=Linked returns only users with an application attached and NotLinked only those without. A vendor account can pass tenant_id to list a direct child account’s users. Passwords are returned in clear text.

auth_id
required
string

Auth ID of your account.

name
string

Return users whose display name starts with this text.

sipUser
string

Return users whose SIP username starts with this text.

status
string
Allowed values: active inactive

Return only active or only inactive users.

associate
string
Allowed values: Linked NotLinked

Linked: only users with an application; NotLinked: only users without one.

tenant_id
string

Vendor accounts only: list the users of this direct child account.

page
integer
default: 1

Page number, starting at 1.

limit
integer
default: 30

Page size.

One page of SIP users.

Media type application/json
object
results

The page of SIP users.

object
base_url

The request URL the page links are built from.

string
current_page

Page number that was returned (1-based).

integer
data

SIP users on this page, newest first.

Array<object>
object
acc_id

Auth ID of the account that owns the SIP user.

string
application_id

Application that handles the user’s calls; -1 when none is attached.

integer
application_name

Name of the attached application, or “-” when none.

string
codec_list

Codec preference list.

string
created_time

When the SIP user was created (RFC 3339).

string
domain_name

SIP domain the user registers on.

string
id

Numeric ID of the SIP user (endpoint_id).

integer
initial_pulse

Initial billing pulse in seconds.

integer
name

Display name.

string
parent_act_id

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

string
password

SIP digest password, returned in clear text.

string
presence_status

Whether presence is enabled.

boolean
rps

Requests-per-second limit applied to the user.

number
status

Whether the user may register and place calls.

boolean
sub_pulse

Subsequent billing pulse in seconds.

integer
updated_time

When the SIP user was last changed (RFC 3339).

string
username

SIP username.

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
status

Always “success”.

string

Example

{
"results": {
"base_url": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/SipTrunk?page=1",
"current_page": 1,
"data": [
{
"acc_id": "AC000000000000000000",
"application_id": 1024,
"application_name": "IVR main",
"codec_list": "PCMU,PCMA,OPUS",
"created_time": "2026-01-15T10:30:00Z",
"domain_name": "acme.sip.siprtc.io",
"id": 5012,
"initial_pulse": 60,
"name": "Reception",
"parent_act_id": "AC000000000000000009",
"password": "S3cretPassw0rd!",
"presence_status": false,
"rps": 1,
"status": true,
"sub_pulse": 60,
"updated_time": "2026-01-16T08:00:00Z",
"username": "acme1768473000000"
}
],
"last_page": 1,
"next_url": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/SipTrunk?page=2",
"per_page": 30,
"prev_url": "",
"total_results": 2
},
"status": "success"
}

The query string could not be read ({“status”: “failed”}).

Media type application/json
object
status

Short description of what happened, for example “endpoint updated”, “endpoint deleted”, “sip domain updated” or “domain deleted”.

string

Example

{
"status": "endpoint updated"
}

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

Media type application/json
string

Example generated

example

Tenant_id is neither your account nor a direct child of it.

Media type application/json
object
message

Human-readable explanation of the failure.

string

Example

{
"message": "Parent auth ID does not match"
}

The tenant check could not be completed.

Media type application/json
object
message

Human-readable explanation of the failure.

string

Example

{
"message": "Parent auth ID does not match"
}