/v1/apps/{app_id}/roles/permissionsAuthList all available permissions
Path parameters
app_id*stringId of the app.
Response · 200
Array of object
id*stringUnique identifier of the permission.
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 the permission, or `null`.
created_at*string · date-timeWhen the permission was created (ISO 8601).
is_system*booleanTrue iff the row is a system (shared) permission.
Example
Request
GET https://api.auth.productcraft.co/v1/apps/{app_id}/roles/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").roles.permissions.list();auth.admin.app(…).roles.permissions.list(options?): Auth.RolePermissionListResponse
Response
[
{
"id": "string",
"app_id": "string",
"resource": "user",
"action": "read",
"description": "string",
"created_at": "2026-01-01T00:00:00.000Z",
"is_system": false
}
]