Comprehensive API Call List
The following section provides you with a comprehensive list of ALL Validic API calls a client might utilize.
- Basic User Provisioning
ExamplePOST https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json
-H 'Content-Type: application/json' { "user": { "uid": "123467890" }, "access_token": "ORGANIZATION_ACCESS_TOKEN" }
- User Provisioning with Profile Parameters
ExamplePOST https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json
-H 'Content-Type: application/json' { "user": { "uid": "123467890", "profile": { "gender": "M", "location": "NC", "birth_year": "1973", "height": 167.5, "weight": 83.9146 } }, "access_token": "ORGANIZATION_ACCESS_TOKEN" }
- Update User
ExamplePUT https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}.json
-H 'Content-Type: application/json' { "user": { "uid": "abcde" }, "access_token": "ORGANIZATION_ACCESS_TOKEN" }
- Delete User
-
ExampleDELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}.json
-H 'Content-Type: application/json' { "access_token": "ORGANIZATION_ACCESS_TOKEN" }
-
ExampleDELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json
-H 'Content-Type: application/json' { "access_token": "ORGANIZATION_ACCESS_TOKEN", "uid": "123467890" }
-
ExampleDELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json?access_token=ORGANIZATION_ACCESS_TOKEN
-H 'Content-Type: application/json' { "uid": "123467890" }
-
DELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json?access_token=ORGANIZATION_ACCESS_TOKEN&uid=123467890
-
- Suspend User
ExamplePUT https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}
-H 'Content-Type: application/json' { "suspend": "1", "access_token": "ORGANIZATION_ACCESS_TOKEN" }
- GET User Data
-
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json?access_token={ORGANIZATION_ACCESS_TOKEN}
-
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}.json?access_token={ORGANIZATION_ACCESS_TOKEN}
-
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}.json?authentication_token={USER_ACCESS_TOKEN}
-
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}/fitness/latest.json?access_token={ORGANIZATION_ACCESS_TOKEN}&start_date={START_DATE}&end_date={END_DATE}
-
- Shorthand User Data Calls
-
GET https://api.validic.com/v1/routine.json?authentication_token={USER_ACCESS_TOKEN}&start_date={START_DATE}&end_date={END_DATE}
-
GET https://api.validic.com/v1/routine/latest.json?authentication_token={USER_ACCESS_TOKEN}&start_date={START_DATE}&end_date={END_DATE}
-
- GET User Apps
-
GET https://api.validic.com/v1/apps.json?access_token={ORGANIZATION_ACCESS_TOKEN}&authentication_token={USER_ACCESS_TOKEN
-
- GET User Stats
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/stats/users_count.json?access_token={ORGANIZATION_ACCESS_TOKEN}&start_date={START_DATE}&end_date={END_DATE}
- GET User Credentials
GET https://api.validic.com/v1/me.json?authentication_token={USER_ACCESS_TOKEN}
- GET User Profile
GET https://api.validic.com/v1/profile.json?authentication_token={USER_ACCESS_TOKEN}
- Update User Profile
ExamplePOST 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" }
- Refresh User Access Token
https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users/{USER_ID}/refresh_token.json?access_token={ORGANIZATION_ACCESS_TOKEN}
- GET Bulk Organization Data
-
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/{object}.json?access_token={ORGANIZATION_ACCESS_TOKEN}&start_date={START_DATE}&end_date={END_DATE}
-
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/{object}/latest.json?access_token={ORGANIZATION_ACCESS_TOKEN}&start_date={START_DATE}&end_date={END_DATE}&source={SOURCE}&expanded={BOOLEAN}&allow_null={BOOLEAN}&show_validated={BOOLEAN}&limit={LIMIT}&offset={OFFSET}&page={PAGE}
-