SIP Trunks
Create SIP trunk
Changed onCreates a new SIP trunk.
post/v1/projects/{projectId}/trunks
Request
- Base URLhttps://elastic-trunking.api.sinch.com
- URLhttps://elastic-trunking.api.sinch.com/v1/projects/{projectId}/trunks
- 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.
Request body
Example request
{
"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"
}Response
SIP trunk created 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 request optional property
became not read-only - info
the request property
became nullable - info
the response optional property
became not read-only for the status
- breaking
- info
endpoint added
- info