Post Declarations
POST
/me/declarations
const url = 'https://example.com/me/declarations';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"age_declared":true,"terms_accepted":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/me/declarations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "age_declared": true, "terms_accepted": true }'Record the age declaration and acceptance of the current notice. Registration takes the same flags; Google sign-ups land here.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
DeclarationsIn
object
age_declared
required
Age Declared
boolean
terms_accepted
required
Terms Accepted
boolean
Examplegenerated
{ "age_declared": true, "terms_accepted": true}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MeOut
object
current_notice_version
required
Current Notice Version
string
declarations_complete
required
Declarations Complete
boolean
id
required
Id
string format: uuid
is_admin
required
Is Admin
boolean
phone_verified
required
Phone Verified
boolean
Examplegenerated
{ "age_declared_at": "2026-04-15T12:00:00Z", "current_notice_version": "example", "declarations_complete": true, "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "is_admin": true, "notice_version": "example", "own_token": "example", "phone_verified": true, "profile_consent_at": "2026-04-15T12:00:00Z", "terms_accepted_at": "2026-04-15T12:00:00Z", "username": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}