Registering Users

Before sending a user's data to GeroSense API, you must register this user. Use /user endpoint for it:

POST https://api-b2b.gerosense.ai/api/v2.2/user

Headers

NameTypeDescription

Authorization*

String

Bearer <token>

Content-Type*

String

application/json

Request Body

NameTypeDescription

id*

String

User's unique identifier

biological_sex*

String

User's sex assigned at birth.

Either Male or Female

year_of_birth*

Int

User's year of birth

REQUEST (EXAMPLE)
curl -X 'POST' 'https://api-b2b.gerosense.ai/api/v2.2/user' \
     -H 'accept: application/json' \
     -H 'Authorization: Bearer <token>' \
     -H 'Content-Type: application/json' \
     -d '{
       "id": "85b4453a-46de-484c-bbc2-12666ebc7ed9",
       "biological_sex": "Female",
       "year_of_birth": 1990
     }'

Last updated