Returns the current user's permissions for the selected workspace.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Responses
200 OK
application/json
signaturestring or nullOptionalThe signature of the user permissions. Can be verified with the HMACSHA1 algorithm and the secret.
userPermissionobjectOptionalShow 10 properties
aiProductbooleanOptionalWhether the user has the AI product.
pmProductbooleanOptionalWhether the user has the PM product.
isAiPlanActivebooleanOptionalWhether the workspace has an active AI plan.
userIdstringOptionalThe id of the user.
isAdminbooleanOptionalWhether the user is an admin user.
isGuestbooleanOptionalWhether the user is a guest user.
roleIdstringOptionalThe role id of the user.
isBlockedbooleanOptionalWhether the user is blocked.
permissionsarray of object or nullOptionalA list of permissions assigned to the user.
Show 2 properties
featurestring or nullOptionalThe identifying key of the feature.
accessLevelsarray of string or nullOptionalThe list of access levels assigned to the feature.
projectRolesPermissionsarray of object or nullOptionalA list of project role permissions assigned to the user.
Show 2 properties
projectRoleIdstringOptionalThe id of the project role.
permissionsarray of object or nullOptionalThe list of permissions of the project role.
Show 2 properties
featurestring or nullOptionalThe identifying key of the feature.
accessLevelsarray of string or nullOptionalThe list of access levels assigned to the feature.
400 Bad Request
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.