Check whether a user holds one or more permissions. This is an internal authorization helper; roles and permissions themselves are managed through their own APIs.
POST /permission-checks takes a permissions array (required) and an optional user_id; omit it to check the authenticated caller. The response reports whether each permission is held.
curl https://algapsa.com/api/v1/permission-checks \
-H "X-API-Key: $ALGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"permissions": ["ticket:read", "ticket:update"]
}'Every endpoint links through to its full parameters, request and response schemas, and code samples.
POST/api/v1/permission-checksAlgaPSACheck user permissions