User Profile
A profile contains information about a User including connected applications. Due to HIPAA de-identification standards, only non-identifiable data is available.
Example
GET https://api.validic.com/v1/profile.json?authentication_token={USER_ACCESS_TOKEN}
GET https://api.validic.com/v1/profile.json?authentication_token=dbcd72a51f1b4a78450791a7f5c832b7a0876ffd03703bcce5d3a62e47c37c78 200 { "profile": { "uid": "123467890", "_id": "51552cd7fded0807c4000017", "gender": "null", "location": "null", "country": "null", "birth_year": "null", "height": null, "weight": null, "devices": { "fitbit": ["Flex", "Aria"] }, "applications": [ { "name": "garmin_connect" }, { "name": "jawbone_up" }, { "name": "lumo" }, { "name": "movesapp" }, { "name": "withings" } ] } }
Example
POST https://api.validic.com/v1/profile.json
POST https://api.validic.com/v1/profile.json -H 'Content-Type: application/json' { "profile": { "gender": "M", "location": "NC", "country": "United States", "birth_year": "1973", "height": 167.5, "weight": 83.9146 }, "authentication_token": "d18397e3845e8b66f7453dc55ea3fc445d1b879a6f96ebe7b243badabce08c98" } 201 { "code": 201, "message": "Ok", "profile": { "uid": "123467890", "_id": "51552cd7fded0807c4000017", "gender": "M", "location": "NC", "country": "United States", "birth_year": "1973", "height": 167.5, "weight": 83.9146, "applications": [] } }
Params
Field
Type
Description
uid
String
User’s ID from the provisioning application
_id
String
User’s Validic ID
gender
String
Either M or F
location
String
2-letter State abbreviation in United States, postal code or City, State for other countries
country
String
The user’s Country of residence (e.g., “United States,” “Canada,” etc.)
birth_year
String
User’s year of birth
height
Double
User’s most current height in cm
weight
Double
User’s most current weight in kg
applications
String
A list of connected 3rd party applications (stored in a hash)