The Profile resource contains reference attributes that are convenient when you link a local app user from your application with a Human API user.
Returns the human profile
GET https://api.humanapi.co/v1/human/profile
# Returns a json object:
{
"userId": "52e20cb2fff56aac62000001",
"createdAt": "2014-01-24T06:48:18.361Z",
"email": "[email protected]",
"defaultTimeZone": {
"name": "UTC"
},
"humanId": "5dc2527186aaf9de560e5841f1a44bd6"
}
# Get user's health profile
curl -H "Authorization: Bearer demo" "https://api.humanapi.co/v1/human/profile"
Response Properties
Property | Type | Description |
---|---|---|
userId | String | [deprecated - use humanId] |
humanId | String | Unique user identifier |
String | The user’s email address, if known | |
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 |