Skip to main content

Express API Endpoints

Validate Auth

GET /dev/validate-auth

Response

title="200"

{
"TokenType": "TokenType2",
"AccessToken": "12345", (ONLY SHOW THE LAST 4 DIGITS)
"Expires": "2016-03-13T12:52:32.123Z",
"User": {
"Id": 116,
"FirstName": "FirstName8",
"LastName": "LastName2",
"Type": "Type6"
}
}

Data Sync Endpoint

GET /api/sync/clients

Response

title="200"

{
"clientsFound": 100, - Number Returned by Mindbody after going through all pages
"clientsStored": 100, - Number stored in database via update or insert
"pages": 4 - number of pages MindBody returned
}

Client App Settings API Call

GET /api/app/settings

Response

title="200"

{
"md_site_id": "-99",
"vod_notification_wait": 300,
"vod_finish": 0.65,
"api" : {
"vod_complete" : "/api/vod/completed",
"vod_categories" : "/api/vod/categories",
"vod_lists" : "/api/vod/videos"
}
}