Skip to main content

Get consent state

Get the current consent state for the current user.

Path Parameters
projectId uuid REQUIRED
Responses
200

Default Response

Schema OPTIONAL
count integer
items object[]
createdAt OPTIONAL
updatedAt OPTIONAL
id uuid
concordId uuid
consentAction string

Possible values: [implied, user_click, import]

consentDate date-time
consentState string

Possible values: [implied, viewed, accepted, declined]

dateCreated date-time OPTIONAL
dateUpdated date-time OPTIONAL
consentType OPTIONAL
expirationDate date-time
organization OPTIONAL
project OPTIONAL
session object OPTIONAL
id uuid OPTIONAL
ipAddress ipv4 OPTIONAL
domain OPTIONAL
geography string OPTIONAL
userAgent string OPTIONAL
submitter uuid OPTIONAL
category OPTIONAL
subcategory OPTIONAL
label string OPTIONAL

Possible values: length ≤ 128, Value must match regular expression [a-z0-9_*]{1,128}$

version integer OPTIONAL
400

Bad request response.

Schema OPTIONAL
statusCode int32

The status code of the request.

error string

The error string for the status code.

message string

Description of the error encounted.

401

Unauthorized response.

Schema OPTIONAL
statusCode int32

The status code of the request.

error string

The error string for the status code.

message string
403

Forbidden response.

Schema OPTIONAL
statusCode int32

The status code of the request.

error string
message string
404

Not found response.

Schema OPTIONAL
statusCode int32
error string
message string
422

Unprocessable Entity response.

Schema OPTIONAL
statusCode int32
error string
message string

Description of the error encounted.

500

Internal server error response.

Schema OPTIONAL
statusCode int32
error string
message string

Will always be "Internal Server Error"