Skip to content

Post Declarations

POST
/me/declarations
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.

Media typeapplication/json
DeclarationsIn
object
age_declared
required
Age Declared
boolean
terms_accepted
required
Terms Accepted
boolean
Examplegenerated
{
"age_declared": true,
"terms_accepted": true
}

Successful Response

Media typeapplication/json
MeOut
object
age_declared_at
required
Any of:
string format: date-time
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
notice_version
required
Any of:
string
own_token
required
Any of:
string
phone_verified
required
Phone Verified
boolean
profile_consent_at
required
Any of:
string format: date-time
terms_accepted_at
required
Any of:
string format: date-time
username
required
Any of:
string
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>
ValidationError
object
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"
}
]
}