List consent given issuer
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/customer/privacy/consents/{issuer}
Consent
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/customer/privacy/consents/?consentGroupId&onlyActive'
Response Response Example
200 - Success
{
"issuer": "468979834",
"consents": [
{
"consentId": 1,
"consentGroupId": 1,
"target": "editoral",
"scope": "email",
"parentConsentId": 1,
"selectionOrder": 2,
"displayMode": "A",
"created": 1560855388000,
"texts": [
{
"languageCode": "nb_NO",
"name": "Kommunikasjon på epost",
"description": "Samtykker du til å motta eposter?"
},
{
"languageCode": "en_GB",
"name": "Communication on email",
"description": "Do you agree to recevice emails?"
}
],
"active": true
}
]
}
Request
Path Params
issuer
string
required
<= 255 characters
Query Params
consentGroupId
integer
optional
onlyActive
boolean
optional
Default:
true