v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-0520981.5 KB
AccountsV1MessagingGeopermissions

get/v1/Messaging/GeoPermissions

Query parameters

CountryCodestring

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

Response

OK

{"stackTrail":"components:schemas:accounts.v1.messaging_geopermissions:properties:permissions","oasType":"schema","type":"unknown","description":"A list of objects where each object represents the result of processing a messaging Geo Permission. Each object contains the following fields: `country_code`, the country code of the country for which the permission was updated; `type`, the type of the permission i.e. country; `enabled`, true if the permission is enabled else false; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.","nullable":true}