List SIP users
const url = 'https://api.siprtc.io/v1/Accounts/example/Sip/endpoint?status=active&associate=Linked&page=1&limit=30';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/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.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Auth ID of your account.
Query Parameters
Section titled “ Query Parameters ”Return users whose display name starts with this text.
Return users whose SIP username starts with this text.
Return only active or only inactive users.
Linked: only users with an application; NotLinked: only users without one.
Vendor accounts only: list the users of this direct child account.
Page number, starting at 1.
Page size.
Responses
Section titled “ Responses ”One page of SIP users.
object
The page of SIP users.
object
The request URL the page links are built from.
Page number that was returned (1-based).
SIP users on this page, newest first.
object
Auth ID of the account that owns the SIP user.
Application that handles the user’s calls; -1 when none is attached.
Name of the attached application, or “-” when none.
Codec preference list.
When the SIP user was created (RFC 3339).
SIP domain the user registers on.
Numeric ID of the SIP user (endpoint_id).
Initial billing pulse in seconds.
Display name.
Auth ID of the owner’s parent (vendor) account.
SIP digest password, returned in clear text.
Whether presence is enabled.
Requests-per-second limit applied to the user.
Whether the user may register and place calls.
Subsequent billing pulse in seconds.
When the SIP user was last changed (RFC 3339).
SIP username.
Number of the last page.
Link to the next page; omitted on the last page.
Page size that was applied.
Link to the previous page; omitted on the first page.
Total number of matching records across all pages.
Always “success”.
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”}).
object
Short description of what happened, for example “endpoint updated”, “endpoint deleted”, “sip domain updated” or “domain deleted”.
Example
{ "status": "endpoint updated"}Missing or wrong Basic-auth credentials (returned by the API gateway).
Example generated
exampleTenant_id is neither your account nor a direct child of it.
object
Human-readable explanation of the failure.
Example
{ "message": "Parent auth ID does not match"}The tenant check could not be completed.
object
Human-readable explanation of the failure.
Example
{ "message": "Parent auth ID does not match"}