/v1/apps/{app_id}/permissionsAuthList all permissions (system + custom)
Path parameters
app_id*stringId of the app.
Response · 200 Flat list — system + per-app permissions.
Array of object
id*stringPermission row UUID.
app_id*stringApp scope. `null` for system permissions.
resource*stringResource half of the permission key (`resource.action`).
Example: "user"
action*stringAction half of the permission key (`resource.action`).
Example: "read"
description*stringFree-text description of what this permission allows.
created_at*string · date-timeWhen the permission was created (ISO 8601).
Example
Request
GET https://api.auth.productcraft.co/v1/apps/{app_id}/permissions
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
const result = await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").permissions.list();auth.admin.app(…).permissions.list(options?): Auth.AppScopedPermissionListResponse
Response
[
{
"id": "string",
"app_id": "string",
"resource": "user",
"action": "read",
"description": "string",
"created_at": "2026-01-01T00:00:00.000Z"
}
]