List Pats
PATs
List Organization API Keys
GET
List Pats
Organization API keys (
ak_…) are AnyCRM’s own credential type — see Authentication for how they differ from user personal access tokens. All eight PAT/key management endpoints are gated on the token-management scopes (pats:read, pats:create, pats:delete), which every default role carries.
Auth
Requirespats:read and an active organization. Results are filtered to the caller’s own user_id and, through row-level security, the token’s active organization.
A caller holding organizations:manage (the admin role) instead gets every key in the organization, so an admin can revoke a departed member’s key — see Delete an Organization API Key. Keys owned by another member carry owner_user_id and owner_name; the admin’s own keys leave both null, so the two are always distinguishable.
Response
200 OK — a bare JSON array (no envelope), ordered newest-first.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.