Consent events

Get organization level consent events

Gets consent events for an organization.

GET
/organizations/{organizationId}/consent-events
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid

Query Parameters

projectIds?array<string>
startDate?string
Formatdate-time
endDate?string
Formatdate-time
category?|string
subcategory?|string
label?|string
consentState?|string
submitter?string
Lengthlength <= 64
domain?string
Value in"localhost" | "127.0.0.1" | "::1"
sessionId?string
Lengthlength <= 64
geography?string
Lengthlength <= 64
consentAction?
concordId?string
Lengthlength <= 64
sort?string
order?string
offset?integer
Default0
Range0 <= value
limit?integer
Default100
Range1 <= value <= 1000

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-events"
{
  "offset": 0,
  "count": 0,
  "total": 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",
        "ipAddress": "192.168.0.1",
        "domain": "localhost",
        "geography": "string",
        "userAgent": "string"
      },
      "submitter": "964f4f42-dd1d-490a-820e-178a1fde1685",
      "category": "disclosure",
      "subcategory": [
        null
      ],
      "label": "string",
      "version": 0
    }
  ]
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "string"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Forbidden"
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "Forbidden"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "string"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "Internal Server Error"
}