Information about linked accounts SIP
Table of Contents
Requests
HTTP verb | Endpoint | Description |
---|---|---|
|
|
|
|
|
|
|
|
For all requests:
Domain Type: working
Getting a list of linked accounts SIP
Returns a list of SIP accounts attached to an authorized user.
The output is identical to the contents of the 'sip_accounts' field in response to a REST request '/rest/v1/user/info'.
Using the identifiers of the listed accounts, you can generate URLs for REST requests to entities associated with the corresponding accounts SIP.
For example, '/rest/v1/user/sip/accounts/c7e163c6-8b5e-cb6e-7bf4-441a912ff0b9', '/rest/v1/user/sip/accounts/c7e163c6-8b5e-cb6e-7bf4-441a912ff0b9/parallel'.
Retrieving account data SIP
Returns selected properties of the SIP account specified using the identifier and attached to the authorized user.
Request
Request example
GET /rest/v1/user/sip/accounts/c7e163c6-8b5e-cb6e-7bf4-441a912ff0b9 HTTP/1.1
Response
Response example
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": "c7e163c6-8b5e-cb6e-7bf4-441a912ff0b9",
"login": "sip3",
"phonenumber": "13",
"name": "SIP3-{D}-{A}",
"reg": true
"devices": [],
"lic": {
"devices": 123456789
},
"opts": {
"ap_device_model": "",
"ap_devices": [],
"ap_mac_address": "",
"calltimesec": 30,
"dlgtimesec": 0,
"parallel": [
"101"
],
"trunks": -1
},
"ext": {
"k": "abc"
}
}