Country Permissions

Fetch all country permissions

Changed on

Fetches the list of country permissions.

get/v1/projects/{projectId}/countryPermissions

Request

  • Base URL
    https://elastic-trunking.api.sinch.com
  • URL
    https://elastic-trunking.api.sinch.com/v1/projects/{projectId}/countryPermissions
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://auth.sinch.com/oauth2/token

Response

The list of countries available

Example response

{
  "countryPermissions": [
    {
      "isoCode": "US",
      "name": "United States/Canada",
      "continent": "North America",
      "countryDialingCodes": [
        "+1"
      ],
      "enabled": true
    }
  ]
}

Changes