SIP Credentials
Assign Resource to SIP credential
This endpoint assigns a specific resource to a SIP endpoint, allowing inbound calls to be handled by the resource. <Note> Currently only supports calling as a handler and automatically defaults to it. </Note>
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
Learn more about API scopes.
post/api/fabric/resources/{id}/sip_endpoints
Path parameters
idstring uuid required
Universal Unique Identifier.
The unique identifier of the Resource.
Request body
Response
The request has succeeded.
Example response
{
"name": "sip_user",
"type": "call",
"cover_url": "https://example.com/cover.jpg",
"preview_url": "https://example.com/preview.jpg",
"channels": {
"audio": "/external/resource_name?channel=audio"
}
}