Skip to main content

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

POST 

/resources/:id/phone_routes

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

Request

Path Parameters

    id uuidrequired

    The ID of the Resource

Body

required

    phone_route_id uuid
    handler string

    Possible values: [calling, messaging]

Responses

A newly created address for the phone number

Schema

    name string
    display_name string
    resource_id uuid
    type string
    cover_url uri
    preview_url uri

    channels

    object

    video uri
    audio uri
    messaging uri
Loading...