Get Current User Profile

Use this endpoint to get the user profile information for the account that you've authenticated against the Tenovos API with.
This is useful when needing to check which groups you are in which may restrict the API calls you can make.

SecurityApiKeyAuth or BasicAuth
Request
header Parameters
X-API-Key
required
string

Customer-specific API key required to invoke API.

Authorization
required
string

Provided by Authentication Token creation operation

AccessToken
required
string

JWT token provided by Authentication Token creation operation.

Responses
200

The Response Body is a JSON object.

401

Unauthorized. Missing Authorization or AccessToken or Access Token expired

403

Forbidden. Missing X-API-key

get/user
Request samples
Response samples
application/json
{
  • "userId": "7d675ef0-f423-11e9-8071-89c0c4052141",
  • "customerId": "1234567890",
  • "emailId": "erlich.bachman@piedpiper.com",
  • "firstName": "Erlich",
  • "lastName": "Bachman",
  • "roleId": "7d5620e0-f423-11e9-8071-89c0c4052141",
  • "status": "enabled",
  • "groups": [
    ],
  • "userName": "erlich.bachman",
  • "phone": 15551234565,
  • "contact": "Richard Hendricks",
  • "country": "USA",
  • "company": "Pied Piper",
  • "friendlyName": "Erlich Bachman"
}