Skip to content

Banners

Endpoints

GET /api/banner/dynamic

Get the cookie banner information related to the domain and the autoClientId to uniquely identify the user.

This call is automatically made by the Secure Privacy script on your website.

Request:

{
"Domain": "string",
"DeviceId": "string"
}

Response:

{
"location": "string",
"autoClientId": "string",
"subConsents": [
{
"ComplianceType": "string",
"ComplianceTypeID": "string",
"ConsentGiven": "boolean",
"PluginPreferences": "string",
"ComplianceLawType": "string"
}
],
"isConsentRecordingAllowed": "boolean",
"g": "boolean"
}