Check project permissions

View as Markdown
Resolves whether the caller holds each of the requested permission slugs on the project.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

idstringRequired
The project id.

Query parameters

slugsstringOptional

Comma-separated permission slugs to evaluate (max 50, de-duplicated).

Response

A map of permission slug to whether the caller holds it.
permissionsmap from strings to booleans

Errors

401
Unauthorized Error
404
Not Found Error