AccountsMessaging Geopermissions

Fetch Messaging Geopermissions

GET
/v1/Messaging/GeoPermissions

Authorization

accountSid_authToken
AuthorizationBasic <token>

In: header

Query Parameters

CountryCode?string

The country code to filter the geo permissions. If provided, only the geo permission for the specified country will be returned.

Response Body

application/json

curl -X GET "https://example.com/v1/Messaging/GeoPermissions?CountryCode=IN%2CPK%2CUS"
{  "permissions": [    {      "country_code": "IN",      "type": "country",      "enabled": false,      "prefix": "+91",      "message": ""    },    {      "country_code": "PK",      "type": "country",      "enabled": true,      "prefix": "+92",      "message": "High Risk Country"    }  ]}