Legal

Accept current Terms and Conditions

Creates a new immutable acceptance record for the authenticated user. Duplicate acceptance of the same version returns 409.

post/legal/acceptances

Request

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

Request body

documentVersionstring required
localestring
privacyNoticePresentedAtstring date-time
acceptanceMethod'CHECKBOX_DURING_SIGNUP' | 'CHECKBOX_IN_APP' | 'REACCEPT_NEW_VERSION' | 'API'

Response

Acceptance recorded

idinteger
userIdinteger
documentType'TERMS_AND_CONDITIONS' | 'PRIVACY_POLICY'
documentVersionstring
documentHashstring
acceptedAtstring date-time
acceptanceMethod'CHECKBOX_DURING_SIGNUP' | 'CHECKBOX_IN_APP' | 'REACCEPT_NEW_VERSION' | 'API'
localestring
requestIdstring
privacyPolicyVersionstring
privacyPolicyHashstring
privacyNoticePresentedAtstring date-time
emailstring

Changes

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