How to retrieve regions for a country
Use this guide to fetch regions (states/provinces) for a specific country.
What you'll need
|
What you need |
Where to get it |
|---|---|
|
Country ID |
|
Request
Bash
curl -X GET "https://your-event-domain.com/api/v2/location/regions?country_id=235" \
-H "Authorization: Bearer your_api_key_here"
Notes
-
Not all countries have regions configured in the platform
-
If no regions exist for the country,
datareturns an empty array