Skip to content
  • Auto
  • Light
  • Dark
Get Started

Introspect

Introspect
get/api/v1/auth/introspect

Introspect returns the current user's principle_id, user_id and a list of roles, permissions, and enabled features.

Returns
featuresarray of string
optional

The list of feature flags enabled for the tenant the logged in user belongs to.

permissionsarray of string
optional

The list of permissions that the current logged in user has.

principleIdstring
optional

The principleID of the current logged in user.

rolesarray of string
optional

The list of roles that the current logged in user has.

userIdstring
optional

The userID of the current logged in user.

Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/auth/introspect \
    -H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"
200 Example
{
  "features": [
    "string"
  ],
  "permissions": [
    "string"
  ],
  "principleId": "principleId",
  "roles": [
    "string"
  ],
  "userId": "userId"
}