SIP Trunks
Get SIP Trunk
Changed onSearch for a SIP trunk by ID.
get/v1/projects/{projectId}/trunks/{sipTrunkId}
Request
- Base URLhttps://elastic-trunking.api.sinch.com
- URLhttps://elastic-trunking.api.sinch.com/v1/projects/{projectId}/trunks/{sipTrunkId}
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://auth.sinch.com/oauth2/token
Path parameters
projectIdstring required
Example:3acb7ae1-cf3d-4112-ba5e-3a9d8c71cd47
The projectId is a required parameter you must include when making any API calls. You can find your project ID on your Build dashboard.
sipTrunkIdstring required
The ID of the SIP trunk.
Response
SIP trunk found successfully
Example response
{
"hostName": "acme-domain-1",
"topLevelDomain": ".elastic-sip.sinch.com",
"domain": "acme-domain-1.elastic-sip.sinch.com",
"name": "Acme Trunk",
"callsPerSecond": 100,
"enableCallerName": true,
"callForwardNumber": "+17208511190",
"enableCallForward": true,
"createTime": "2022-01-01T00:00:00Z",
"updateTime": "2022-01-01T00:00:00Z",
"projectId": "1bf62742-7b84-4666-9cbe-8e5734fd57d0"
}Changes
- breaking
the response property
became nullable for the status - info
the response optional property
became not read-only for the status
- breaking
- info
endpoint added
- info