/
User Profile

User Profile

GET: https://api.validic.com/v1/profile.json?authentication_token={user_access_token}

A profile contains information about a User, including connected applications. Due to HIPAA de-identification standards, only non-identifiable data is available.

Request

curl --request GET \ --url 'https://api.validic.com/v1/profile.json?authentication_token=user_access_token' \ --header 'Validic-Version: 2016-03-01' \ --header 'accept: application/json'

Response

{ "profile": { "uid": "NCC-58925", "_id": "5669da356SAMPLE47800007c", "gender": "F", "location": "NC", "country": "null", "birth_year": "1973", "height": "167.5", "weight": "83.9146", "devices": {}, "applications": [ { "name": "fatsecret" }, { "name": "fitbit" } ] } }

 

 

The following values are found in the response.

Return Value

Type

Description

Return Value

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

devices

Object

A list of devices connected to user's app (Fitbit ONLY)

applications

Array

A list of connected 3rd party applications (stored in a hash)