Regions

Regions

Find All

GET /v1/meta/regions

Regions are used to narrow down the targeting of your offers, campaigns, custom settings, etc.

They always include the country information (country_id and country_code) so you can map them directly.

cURL
curl --request GET 'https://api.eflow.team/v1/meta/regions' \
--header 'X-Eflow-API-Key: <INSERT API KEY>'
Response
{
    "regions": [
        {
            "region_id": 2,
            "region_code": "01",
            "country_id": 6,
            "country_code": "AL",
            "region_name": "Region 1"
        },
        ...,
        {
            "region_id": 4709,
            "region_code": "AP",
            "country_id": 227,
            "country_code": "US",
            "region_name": "Region 2"
        }
    ]
}