assign_phone_route
assign_phone_route
Assign a phone route to a Fabric resource.
Path parameters
id
The unique identifier of the Resource.
Request
phone_route_id
The id of the phone route.
handler
Indicates if the resource should be assigned to a `calling` or `messaging` handler.
Allowed values:
Response
id
Unique ID of the Fabric Address.
resource_id
Unique ID of the resource the address routes to.
name
Name of the Fabric Address.
display_name
Display name of the Fabric Address.
cover_url
Cover URL of the Fabric Address, or `null` when the resource has no cover image.
preview_url
Preview URL of the Fabric Address, or `null` when no preview is available. Only Conference Room addresses return one, while a session with room previews enabled is in progress.
locked
Locks the Fabric Address. This is used to prevent the Fabric Address from accepting calls.
channels
Channels of the Fabric Address.
canonical_uri
The address in canonical form: `/<context>/<name>` for a resource address, `sip:<domain>` for a SIP address, or the E.164 number for a phone number or WhatsApp number address. `null` when the phone number, WhatsApp number, or SIP domain behind the address no longer exists.
type
The display type of a fabric address pointing to an application.
Allowed values:
Response Example
Response