Phone Routes
Assign Resource to phone route
This endpoint assigns a specific resource to a phone route, allowing inbound calls & messages to be handled by the resource.
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}/phone_routes
Path parameters
idstring uuid required
Universal Unique Identifier.
The unique identifier of the Resource.
Request body
Response
The request has succeeded.
Example response
{
"name": "justice-league",
"display_name": "Justice League",
"cover_url": "https://coverurl.com",
"preview_url": "https://previewurl.com",
"locked": true,
"channels": {
"audio": "/external/resource_name?channel=audio"
},
"created_at": "2024-05-06T12:20:00Z",
"type": "app"
}