Registering Users

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

POST /api/v1.1/user

Headers

Request Body

REQUEST (EXAMPLE)
curl -X 'POST' 'https://<api-proxy-hostname>/api/v1.1/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