Skip to main content

List API keys

GET 

/api-keys

Returns the registered API keys, including revoked ones (check isRevoked).

The key value itself (the JWT) is never returned after creation. The list is paged and supports sort and inlinePageInfo. You can also filter by any field of the record with an equality query parameter, for example ?appName=reporting-integration or ?isRevoked=true. An unknown field name returns 400 InvalidQuery. advanced is ignored here, and select is rejected with 400 InvalidQuery.

Required role: superadmin or admin.

Request​

Responses​

A page of API keys.

Response Headers
    X-Pagination-Count

    Number of records in this page.

    X-Pagination-Max-Count

    Page size used for the request (limit).

    X-Pagination-Page

    Current page number.

    X-Pagination-Pages

    Total number of pages.

    X-Pagination-Total

    Total number of records matching the query.

    Link

    RFC 8288 links with rel values first, last, and, when they exist, prev and next.