GET
/api/v2/user
curl \
-X GET https://api.fincalc.co.uk/api/v2/user \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"data": {
"ID": 102,
"Name": "James Burton",
"Email": "hello@example.com",
"CompanyID": 57,
"PrimaryCompanyID": 58,
"Locked": 1,
"SecurityProfileID": 42,
"LicenceEnabled": 1,
"MobilePhone": "07777000858",
"Adviser": 1,
"TeamID": 105,
"UserLicenceType": 1,
"FormattedValues": {
"Locked": "No",
"TeamID": "London Branch",
"Adviser": "Yes",
"CompanyID": "FinCalc",
"LicenceEnabled": "Yes",
"UserLicenceType": "FinCalc",
"PrimaryCompanyID": "Network Company",
"SecurityProfileID": "Administrator"
}
}
}
Response examples (401)
{
"success": false,
"message": "Client authentication failed"
}
Response examples (404)
{
"success": false,
"message": "User not found."
}