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.
Path parameters
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 changes found, but 3 of the 137 revisions have a changelog that could not be searched — this endpoint may have changed in one of them.