Returns every permission registered in the system, ordered ascending byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/TheSerchCp/SEAM-API/llms.txt
Use this file to discover all available pages before exploring further.
idPermission. No role-permission check is applied — any authenticated user can call this endpoint. This is intentional so that administrators can browse available permissions when building role configurations.
Authentication
Requires a valid JWT in theAuthorization header. No specific role permission is needed.
Request
Method:GET
Path: /api/v1/permission
Headers
Bearer token obtained from the login endpoint. Format:
Bearer <token>Response
200 OK
Returns all permission records in ascendingidPermission order.
Always
true for successful responses.Human-readable status message. Value:
"Permisos registados obtenidos".Array of permission objects.
Example Response
Error Responses
| Status | Description |
|---|---|
401 Unauthorized | Missing or invalid JWT token. |
401 Unauthorized
Code Example
cURL
Socket.IO Events
This is a read-only endpoint. Adata:changed broadcast is not emitted. The requesting client receives operation:progress events for the permissions:fetchAll operation on their own socket only.
| Event | Target | Operation | Status sequence |
|---|---|---|---|
operation:progress | Requesting socket | permissions:fetchAll | start → success |