Consent Types
Create consent type
Create a new consent type in a project.
POST
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
consent-types
Authorizations
x-api-key
string
headerrequiredPath Parameters
organizationId
string
requiredprojectId
string
requiredBody
application/json
category
required
Available options:
disclosure
, communication
, privacy_setting
, custom
subcategory
required
label
string
requiredMaximum length:
128
name
string
Required string length:
5 - 100
description
string
Maximum length:
2000
document
string
Maximum length:
5000000
url
string
validStates
enum<string>[]
Available options:
implied
, viewed
, accepted
, declined
consentDuration
string
status
enum<string>
default: activeAvailable options:
active
, test
, archived
required
boolean
default: falserequireReaccept
boolean
default: falseResponse
201 - application/json
id
string
requiredproject
required
version
integer
requiredname
string
requiredMaximum length:
100
description
string
requiredMaximum length:
2000
createdAt
updatedAt
organization
category
Available options:
disclosure
, communication
, privacy_setting
, custom
subcategory
label
string
Maximum length:
128
dateCreated
string
dateUpdated
string
document
string
Maximum length:
5000000
url
string
readOnly
boolean
default: falsevalidStates
enum<string>[]
Available options:
implied
, viewed
, accepted
, declined
status
enum<string>
Available options:
active
, archived
, obsolete
, test
consentDuration
string
required
boolean
default: falserequireReacceptVersion
integer