Destinations


GEThttps://api.voxo.co/v2/destinations/list-types

List Destination Types

List Destination Types

Destinations provide routing specifics for certain conditions in the system. This endpoint provides the proper 'type' keys for assigning a destination as well as indicating which service the entity id should be obtained from.

Header

  • Name
    Authorization*
    Type
    string
    Description

    Bearer {accessToken}

  • Name
    Content-Type*
    Type
    string
    Description
    application/json

Request

GET
/destinations/list-typess
curl --location -g --request GET 'https://api.voxo.co/v2/destinations/list-types' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'

Response

[
    {
    "type": "CAMPAIGN",
    "description": "An outbound call campaign"
    },
    {
        "type": "CONDITION",
        "description": "A time of day routing condition"
    },
    {
        "type": "CUSTOM",
        "description": "A custom destination"
    }, 
    ...
],