Sending Users Data
Headers
Name
Type
Description
Request Body
Name
Type
Description
Field
Type
Description
curl -X 'POST' 'https://api-b2b.gerosense.ai/api/v2.2/samples' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"user_id": "85b4453a-46de-484c-bbc2-12666ebc7ed9",
"data_type": "steps",
"data": [
{
"device_name": "iPhone",
"device_version": "17.0.3",
"start_date": "2023-11-01T08:04:51.000+04:00",
"end_date": "2023-11-01T08:04:58.000+04:00",
"value": 14,
"unit": "count"
},
{
"device_name": "iPhone",
"device_version": "17.0.3",
"start_date": "2023-11-01T09:47:21.000+04:00",
"end_date": "2023-11-01T09:47:34.000+04:00",
"value": 24,
"unit": "count"
},
...
]
}' Last updated