Users
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
tokenstringRequiredExample:
A unique token for the user provided by the partner
unique-user-tokensexstring · enumRequiredExample:
The user's sex
malePossible values: regionstring · enumRequiredExample:
The user's region
north_americaPossible values: usaResidencestringOptionalExample:
The user's state of residence
CaliforniabirthDatestringRequiredExample:
The user's birth date
1990-01-01researchConsentbooleanRequiredExample:
Whether the user has consented to their data being used for research
trueResponses
201Success
application/json;v=1
post
/users201Success
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tokenstringRequiredExample:
A unique token for the user provided by the partner
unique-user-tokenQuery parameters
unit-systemstring · enumOptionalPossible values:
The unit system in which values will be returned
Responses
200Success
application/json;v=1
get
/users/{token}200Success
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tokenstringRequiredExample:
A unique token for the user provided by the partner
unique-user-tokenBody
tokenstringOptionalExample:
A unique token for the user provided by the partner
unique-user-tokensexstring · enumOptionalExample:
The user's sex
malePossible values: regionstring · enumOptionalExample:
The user's region
north_americaPossible values: usaResidencestringOptionalExample:
The user's state of residence
CaliforniabirthDatestringOptionalExample:
The user's birth date
1990-01-01researchConsentbooleanOptionalExample:
Whether the user has consented to their data being used for research
trueResponses
200Success
application/json;v=1
patch
/users/{token}200Success
Last updated