SIP Credentials
Assign Resource to SIP credential
Assigns an existing resource as the calling handler for a SIP Credential. Use it when calls placed by the registered SIP device should run that resource's instructions. This operation does not create a credential; use Create SIP credential first when the device does not yet have one. <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
Request
- Base URLhttps://{Your_Space_Name}.signalwire.com
- URLhttps://{Your_Space_Name}.signalwire.com/api/fabric/resources/{id}/sip_endpoints
- AuthHTTP basic
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"
}
}Changes
No operation changes found yet. Some revisions have not been checked.