Skip to Content
Documentation
API reference

List callable destination countries

GET
/destinations

Returns the destination countries (to) you can dial, whether landline and mobile numbers are supported, which countries offer dedicated caller-ID numbers (from), and the regional caller-ID rules (caller_id_rules). Pass Authorization: Bearer <API_KEY> (recommended) to get the exact countries your project can call right now: projects using regional shared numbers (or before picking a dedicated number, or with a European dedicated number) can dial all 32 countries; projects with an active US or Canada (+1) dedicated number are filtered to US, CA, and GB. Without an Authorization header, returns the full public catalog of 32 countries (scope: "global").

Authorization

bearerAuth

Response Body

Callable destination countries (filtered for the project when authenticated, or global catalog when unauthenticated).

application/json
  1. response

Callable destination countries (to), project caller-ID context when authenticated, dedicated caller-ID countries (from), regional caller-ID compatibility rules, and excluded number types.

scope*string

project when authenticated with a Bearer API key (list filtered to what this project can dial right now); global when called without an API key.

Value in"project""global"
caller_id*|

Active caller-ID context of the authenticated project, or null when called unauthenticated.

destinations*array<>

Destination countries callable via POST /v1/calls (filtered to the project's active caller ID when authenticated).

dedicated_number_countries*array<string>

ISO codes of countries where dedicated caller-ID numbers can be provisioned.

caller_id_rules*

Regional routing and origin-to-destination compatibility rules.

excluded_number_types*array<string>

Special number types always rejected before dialing with 422 destination_not_allowed.

Example Request
curl -X GET 'https://api.callhuman.es/v1/destinations'
Example Response
{  "scope": "project",  "caller_id": {    "type": "own",    "phone_number": "+12703301254",    "country": "US",    "routing": "dedicated_na"  },  "destinations": [    {      "code": "GB",      "name": "United Kingdom",      "dial_code": "+44",      "region": "Europe",      "mobile_allowed": true,      "dedicated_number_available": false    },    {      "code": "US",      "name": "United States",      "dial_code": "+1",      "region": "North America",      "mobile_allowed": true,      "dedicated_number_available": true    },    {      "code": "CA",      "name": "Canada",      "dial_code": "+1",      "region": "North America",      "mobile_allowed": true,      "dedicated_number_available": true    }  ],  "dedicated_number_countries": [    "ES",    "PT",    "FR",    "DE",    "IT",    "NL",    "IE",    "AT",    "US",    "CA"  ],  "caller_id_rules": {    "shared_number_routing": "automatic_by_destination_region",    "eu_caller_id_destinations": [      "ES",      "PT",      "FR",      "DE",      "IT",      "NL",      "BE",      "IE",      "AT",      "GB",      "US",      "CA"    ],    "na_caller_id_destinations": [      "US",      "CA",      "GB"    ]  },  "excluded_number_types": [    "PREMIUM_RATE",    "SHARED_COST",    "PERSONAL_NUMBER",    "UAN",    "VOICEMAIL",    "PAGER"  ]}