Consent Events

Create consent event(s)

POST
/{projectId}/consent-events

Create consent event(s) for the current user.

Authorization

SessionAuth
headerx-session<token>

Path Parameters

projectId*string
Formatuuid

Request Body

application/json
  1. body
items*array<>
Items1 <= items

Response Body

Default Response

application/json
  1. response
count?number
items?array<>
Example Request
curl -X POST 'https://api.concord.tech/site-v1/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-events' \  -H 'Content-Type: application/json' \  -d '{  "items": [    {      "consentState": "implied",      "consentAction": "implied"    }  ]}'
Example Response
{  "count": 0,  "items": [    {      "createdAt": [        null      ],      "updatedAt": [        null      ],      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "concordId": "760edce0-71d3-4d36-9815-0fe2c82918c4",      "consentAction": "implied",      "consentDate": "2019-08-24T14:15:22Z",      "consentState": "implied",      "dateCreated": "2019-08-24T14:15:22Z",      "dateUpdated": "2019-08-24T14:15:22Z",      "consentType": "a515a452-3279-4c13-93bc-8c2d7e9c9435",      "expirationDate": "2019-08-24T14:15:22Z",      "organization": "452c1a86-a0af-475b-b03f-724878b0f387",      "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",      "session": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "domain": "localhost",        "geography": "string",        "userAgent": "string"      },      "submitter": "964f4f42-dd1d-490a-820e-178a1fde1685",      "category": "disclosure",      "subcategory": "privacy_policy",      "label": "string",      "version": 0    }  ]}