Legal

Record optional data-processing consent

Records marketing/analytics/other consents separately from Terms and Conditions. Append-only.

post/legal/data-processing-consents

Request

  • Base URL
    http://localhost:8486
  • Auth
    API key in header x-auth-token

Request body

consentType'MARKETING' | 'ANALYTICS' | 'OTHER' required
grantedboolean required
consentVersionstring
localestring
acceptanceMethod'CHECKBOX_DURING_SIGNUP' | 'CHECKBOX_IN_APP' | 'REACCEPT_NEW_VERSION' | 'API'

Response

Consent recorded

idinteger
userIdinteger
consentType'MARKETING' | 'ANALYTICS' | 'OTHER'
grantedboolean
consentVersionstring
decidedAtstring date-time
acceptanceMethod'CHECKBOX_DURING_SIGNUP' | 'CHECKBOX_IN_APP' | 'REACCEPT_NEW_VERSION' | 'API'
localestring
requestIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.