Get the height measurement from a specific point in time.
Returns a height reading
GET https://api.humanapi.co/v1/human/height
Returns all height readings
GET https://api.humanapi.co/v1/human/height/readings
# Returns a json object of height:
{
"id": "5509b45bb384e1620a5933c5",
"userId": "52e20cb2fff56aac62000001",
"timestamp": "2015-03-18T00:00:00.000Z",
"tzOffset": "-07:00",
"value": 1753,
"unit": "mm",
"source": "fitbit",
"sourceData": {},
"createdAt": "2015-03-18T17:22:35.859Z",
"updatedAt": "2015-03-18T17:22:35.859Z",
"humanId": "5dc2527186aaf9de560e5841f1a44bd6"
}
# Get the latest height measurement associated with the user
curl -H "Authorization: Bearer demo" "https://api.humanapi.co/v1/human/height"
Property | Type | Description |
---|---|---|
id | String | The id of the resource. |
userId | String | [deprecated - use humanId] |
humanId | String | Unique user identifier |
timestamp | Date | The original date and time of the measurement |
source | String | The source service for the measurement, where it was created |
value | Number | The value of the measurement in the unit specified |
tzOffset | String | The offset from UTC time in +/-hh:mm (e.g. -04:00) |
createdAt | Date | The time the measurement was created on the Human API server |
updatedAt | Date | The time the measurement was updated on the Human API server |
Zones are defined at the source and may vary, including zone names and ranges.