Regions

Get regions

GET
/organizations/{organizationId}/projects/{projectId}/regions

Gets regions for a project.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid

Query Parameters

name?string
Lengthlength <= 256
regionCountry?string
Lengthlength <= 2
regionSubDivision?string
Lengthlength <= 6
consentMode?string
Lengthlength <= 16
blockingMode?array<>|
enableDoNotSell?boolean
enableGpc?boolean
sort?string
order?string
offset?integer
Range0 <= value
Default0
limit?integer
Range1 <= value <= 1000
Default100

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/regions"
{  "offset": 0,  "count": 0,  "total": 0,  "items": [    {      "name": "string",      "regions": "default",      "customScript": "string",      "settings": {        "branding": {          "buttonRadius": "string",          "cardRadius": "string",          "font": "string",          "logoUrl": "string",          "iconUrl": "string",          "primaryColor": "string",          "secondaryColor": "string",          "poweredByConcord": true        },        "consent": {          "blockingMode": "disabled",          "consentMode": "implied",          "privacyMode": "dns_only",          "consentBanner": {            "enabled": true,            "layout": "bar",            "position": "top",            "policy": "b98582cd-72b0-4e39-98a9-ede64030e4c6",            "title": true,            "theme": "brand",            "acceptButton": true,            "closeButton": true,            "closeButtonConsentBehavior": "default",            "denyButton": false,            "customizeButton": true,            "doNotSellSwitch": true,            "policySelections": {},            "showGooglePrivacyPolicy": true,            "customCssVariables": "string",            "customCss": "string"          },          "hideUnusedCategories": false,          "doNotSell": true,          "consentDuration": 6,          "gcm": "disabled",          "gcmPolicy": "https://business.safety.google/privacy/",          "gpc": false,          "impliedConsentDelay": 0,          "limitPii": false,          "microsoftUET": "disabled",          "webflow": true,          "wordpress": true,          "tcfConfig": {            "enabled": true,            "mode": "disabled",            "selectedVendors": [              {                "vendorId": 0,                "name": "string",                "framework": "IAB",                "addedAt": 0,                "purposes": [                  0                ],                "flexiblePurposes": [                  0                ],                "specialPurposes": [                  0                ],                "specialFeatures": [                  0                ],                "features": [                  0                ],                "legIntPurposes": [                  0                ],                "policyUrl": "http://example.com",                "cookieMaxAgeSeconds": 0,                "cookieRefresh": true,                "usesNonCookieAccess": true,                "deviceStorageDisclosureUrl": "http://example.com",                "dataRetention": {                  "stdRetention": 0,                  "purposes": {},                  "specialPurposes": {}                },                "dataDeclaration": [],                "urls": [                  {                    "privacy": "http://example.com",                    "legIntClaim": "http://example.com"                  }                ]              }            ],            "publisherCC": "string",            "specialPurposeOneTreatment": true,            "legitimateInterestEnabled": true,            "enableAdvertiserConsentMode": true,            "selectedStacks": [              {                "stackId": 0,                "addedAt": 0,                "legalBasis": "consent"              }            ]          }        },        "crossSiteTracking": false,        "crossDeviceConsent": false,        "floatingButton": {          "enabled": true,          "circleOffsetX": "24px",          "circleOffsetY": "24px",          "tabOffsetY": "256px",          "position": "right",          "theme": "brand",          "type": "circle",          "icon": "cookie",          "customCssVariables": "string",          "customCss": "string"        },        "placeholders": {          "enabled": true,          "theme": "brand"        },        "privacyCenter": {          "consentHistory": true,          "consentHistoryMode": "legacy",          "disclosures": true,          "dsrFormMode": "single",          "excludedDisclosureIds": [            "ae395886-034f-4e2f-b377-45e8d95383a6"          ],          "privacyRequests": true,          "doNotSellRequests": true,          "position": "right",          "theme": "brand",          "vendors": true,          "customCssVariables": "string",          "customCss": "string"        }      },      "language": {        "enabled": false,        "defaultLanguage": "en_US"      },      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "dateCreated": 0,      "dateUpdated": 0,      "slug": "string"    }  ]}