Auth

Get current user

Returns information about the authenticated user, their current organization, and API key permissions. Use this endpoint to verify your authentication and understand your available API access levels.

get/v2/auth/whoami

Response

OK

Example response

{
  "tenant": {
    "id": 1,
    "name": "Contoso Ltd.",
    "subdomain": "contoso"
  },
  "user": {
    "id": 1,
    "firstName": "John",
    "lastName": "Smith",
    "emailAddress": "john.smith@contoso.com"
  },
  "grant": {
    "type": "api-key",
    "scopes": [
      "api"
    ],
    "createdAt": "2023-01-01T00:00:00Z"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.