Here are all the new privacy/consent API for new GDPR roles. Here are all api to get users consents permision. In addition to follow GDPR, here are also APIs to get the access for user data and to erasure private data about the customer.
The user needs to be logged in to use this endpoint, click here to read more.
API for granting access to customer private data. Due this API will be created workflow case in Connect.
OK
Bad Request
Too Many Requests
Internal Server Error
{- "sendReceipt": true
}
{- "success": true,
- "receiptSend": true
}
The user needs to be logged in to use this endpoint, click here to read more.
API to erasure customer private data. Due this API will be created workflow case in Connect.
OK
Bad Request
Too Many Requests
Internal Server Error
{- "sendReceipt": true
}
{- "success": true,
- "receiptSend": true
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
API for getting consents event history to given issuer
and subject
(subject type).
OK
Bad Request
Too Many Requests
Internal Server Error
{- "issuer": "468979834",
- "subject": "563457",
- "subjectType": "CONNECT",
- "consents": [
- {
- "consentId": 1,
- "target": "editoral",
- "scope": "email",
- "events": [
- {
- "consentEventId": 1,
- "created": 1560963388000,
- "source": "Selfservice",
- "action": false
}, - {
- "consentEventId": 2,
- "created": 1560968512000,
- "source": "Selfservice",
- "action": true
}
]
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
API for getting consent text in additon to consent name and description. Consent text can be get for all issuer
consents, for consents of given group or for specyfic consent (by consentId
or target
and scope
).
{- "issuer": "468979834",
- "consents": [
- {
- "consentId": 1,
- "consentGroupId": 1,
- "target": "editoral",
- "scope": "email",
- "texts": [
- {
- "textId": 1,
- "languageCode": "nb_NO",
- "text": "Samtykker du til å motta eposter?",
- "fromDate": 1561932001000
}
]
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
{- "issuer": "468979834",
- "consents": [
- {
- "consentId": 1,
- "consentGroupId": 1,
- "target": "editoral",
- "scope": "email",
- "texts": [
- {
- "consentTextId": 1,
- "languageCode": "nb_NO",
- "textHistory": [
- {
- "consentTextHistoryId": 1,
- "text": "Samtykker du til å motta eposter?",
- "fromDate": 1559386588000,
- "toDate": 1561892188000
}, - {
- "consentTextHistoryId": 2,
- "text": "Samtykker du til å motta epostmeldinger?",
- "fromDate": 1561986769000,
- "toDate": 1593609208000
}
]
}
]
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
API for getting consent group.
{- "issuer": "468979834",
- "groups": [
- {
- "consentGroupId": 1,
- "created": 1560851788000,
- "selectionOrder": 2,
- "texts": [
- {
- "languageCode": "en_GB",
- "name": "Digital Communication",
- "description": "Consent for digital communication"
}, - {
- "languageCode": "nb_NO",
- "name": "Digital kommunikasjon",
- "description": "Samtykke for digital kommunikasjon"
}
], - "active": true
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
API for getting consents to given issuer.
{- "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
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
API for getting consents event history to given issuer
and subject
(subject type).
OK
Bad Request
Too Many Requests
Internal Server Error
{- "issuer": "468979834",
- "subject": "563457",
- "subjectType": "CONNECT",
- "consents": [
- {
- "consentId": 1,
- "target": "editoral",
- "scope": "email",
- "events": [
- {
- "consentEventId": 1,
- "created": 1560963388000,
- "source": "Selfservice",
- "action": true
}, - {
- "consentEventId": 2,
- "created": 1560963388000,
- "source": "Selfservice",
- "action": false
}
]
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
API for getting consents to given issuer.
{- "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
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
API for getting consent group.
{- "issuer": "468979834",
- "groups": [
- {
- "consentGroupId": 1,
- "created": 1560851788000,
- "selectionOrder": 2,
- "texts": [
- {
- "languageCode": "en_GB",
- "name": "Digital Communication",
- "description": "Consent for digital communication"
}, - {
- "languageCode": "nb_NO",
- "name": "Digital kommunikasjon",
- "description": "Samtykke for digital kommunikasjon"
}
], - "active": true
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
API for granting consent.
It is required to provide either a consentId
, or both target
and scope
. If all three fields are included, they are required to refer to the same consent.
OK
Bad Request
Too Many Requests
Internal Server Error
{- "consentId": 1,
- "consentTarget": "editoral",
- "consentScope": "telephone",
- "subject": "563457",
- "subjectType": "CONNECT",
- "source": "Selfservice",
- "action": true,
- "eventTime": 1560277312000,
- "data": "dHJ1ZQ=="
}
{- "consentId": 1,
- "subject": "563457",
- "subjectType": "CONNECT",
- "consentEventId": 1,
- "created": 1560963388000,
- "source": "Selfservice",
- "action": true,
- "childEvents": {
- "consentEventId": 1,
- "consentId": 1,
- "created": 1560363712000,
- "action": true
}
}
The user needs to be logged in to use this endpoint, click here to read more.
API for granting consent.
It is required to provide either a consentId
, or both target
and scope
. If all three fields are included, they are required to refer to the same consent.
OK
Bad Request
Too Many Requests
Internal Server Error
{- "consentId": 1,
- "consentTarget": "editoral",
- "consentScope": "telephone",
- "subject": "563457",
- "subjectType": "CONNECT",
- "source": "Selfservice",
- "action": true,
- "eventTime": 1560277312000,
- "data": "dHJ1ZQ=="
}
{- "consentId": 1,
- "subject": 563457,
- "subjectType": "CONNECT",
- "consentEventId": "1",
- "created": 1560963388000,
- "source": "Selfservice",
- "action": true,
- "childEvents": {
- "consentEventId": 1,
- "consentId": 1,
- "created": 1560363712000,
- "action": true
}
}