cURL
curl --request GET \ --url https://api.concord.tech/site-v1/{projectId}/consent-events/{id} \ --header 'x-session: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "concordId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "consentAction": "implied", "consentDate": "2023-11-07T05:31:56Z", "consentState": "implied", "expirationDate": "2023-11-07T05:31:56Z", "createdAt": [ "<unknown>" ], "updatedAt": [ "<unknown>" ], "dateCreated": "2023-11-07T05:31:56Z", "dateUpdated": "2023-11-07T05:31:56Z", "consentType": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "project": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "session": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "ipAddress": "127.0.0.1", "domain": "localhost", "geography": "<string>", "userAgent": "<string>" }, "submitter": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "category": "disclosure", "subcategory": [ "<unknown>" ], "label": "<string>", "version": 123 }
Get a consent event by ID.
Default Response
implied
user_click
import
viewed
accepted
declined
Show child attributes
disclosure
communication
privacy_setting
custom
128