Auth API reference

Auth API · Permissions

get/v1/apps/{app_id}/permissionsAuth

List all permissions (system + custom)

Path parameters

app_id*string

Id of the app.

Response · 200 Flat list — system + per-app permissions.

Array of object

id*string

Permission row UUID.

app_id*string

App scope. `null` for system permissions.

resource*string

Resource half of the permission key (`resource.action`).

Example: "user"

action*string

Action half of the permission key (`resource.action`).

Example: "read"

description*string

Free-text description of what this permission allows.

created_at*string · date-time

When the permission was created (ISO 8601).

Example

Request

GET https://api.auth.productcraft.co/v1/apps/{app_id}/permissions
Authorization: Bearer YOUR_TOKEN

Response

[
  {
    "id": "string",
    "app_id": "string",
    "resource": "user",
    "action": "read",
    "description": "string",
    "created_at": "2026-01-01T00:00:00.000Z"
  }
]