Skip to main content

Assign a Resource as Call/Message handler on a Phone Number

Assign a Resource as Call/Message handler on a Phone Number

Path Parameters
id uuid REQUIRED

The ID of the Resource

Request Body REQUIRED
phone_route_id uuid
handler string

Possible values: [calling, messaging]

Responses
200

A newly created address for the phone number

Schema OPTIONAL
name string OPTIONAL
display_name string OPTIONAL
resource_id uuid OPTIONAL
type string OPTIONAL
cover_url uri OPTIONAL
preview_url uri OPTIONAL
channels object OPTIONAL
video uri OPTIONAL
audio uri OPTIONAL
messaging uri OPTIONAL