v1
auth

Record user consent

Changed on

Record the terms version accepted at signup and, if the user refused marketing email, the opt-out. Idempotent; never clears an opt-out.

post/api/auth/user/consent

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Request body

terms_versionstring required
marketing_opt_outboolean required

Response

Successful Response

terms_accepted_atstring date-time nullable
terms_versionstring nullable
marketing_opt_out_atstring date-time nullable
marketing_opt_out_sourcestring nullable

Changes