POST
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
consent-types

Authorizations

x-api-key
string
headerrequired

Path Parameters

organizationId
string
required
projectId
string
required

Body

application/json
category
required
Available options:
disclosure,
communication,
privacy_setting,
custom
subcategory
required
label
string
required
Maximum 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: active
Available options:
active,
test,
archived
required
boolean
default: false
requireReaccept
boolean
default: false

Response

201 - application/json
id
string
required
project
required
version
integer
required
name
string
required
Maximum length: 100
description
string
required
Maximum 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: false
validStates
enum<string>[]
Available options:
implied,
viewed,
accepted,
declined
status
enum<string>
Available options:
active,
archived,
obsolete,
test
consentDuration
string
required
boolean
default: false
requireReacceptVersion
integer