Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Application

List Application Keys

Returns a list of application keys matching the input parameters.

The result can be sorted by id, aggregate, creation date, expiration date, resource owner or type. It can also be filtered by application, project or organization ID.

Required permissions:

  • project.app.read
POST
/zitadel.application.v2.ApplicationService/ListApplicationKeys

Header Parameters

Connect-Protocol-Version*1

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?Connect-Timeout-Ms

Define the timeout, in ms

Request Body

application/json
  1. body
pagination?

Pagination and sorting.

sortingColumn?sorting_column

The column to sort by. If not provided, the default is 'KEY_ID'.

Value in"APPLICATION_KEYS_SORT_BY_ID""APPLICATION_KEYS_SORT_BY_PROJECT_ID""APPLICATION_KEYS_SORT_BY_APPLICATION_ID""APPLICATION_KEYS_SORT_BY_CREATION_DATE""APPLICATION_KEYS_SORT_BY_ORGANIZATION_ID""APPLICATION_KEYS_SORT_BY_EXPIRATION""APPLICATION_KEYS_SORT_BY_TYPE"
filters?array<||>

Criteria to filter the application keys. All provided filters are combined with a logical AND.

Response Body

Success

application/json
  1. response
keys?array<>

The list of application keys matching the query. Depending on the applied limit, there might be more keys available than returned in this list. Use the returned pagination information to request further keys.

pagination?

Contains the total number of application keys matching the query and the applied limit.

Example Request
curl -X POST 'https://example.com/zitadel.application.v2.ApplicationService/ListApplicationKeys' \  -H 'Connect-Protocol-Version: 1' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "keys": [    {      "keyId": "string",      "applicationId": "string",      "projectId": "string",      "creationDate": "2023-01-15T01:30:15.01Z",      "organizationId": "string",      "expirationDate": "2023-01-15T01:30:15.01Z"    }  ],  "pagination": {    "totalResult": 0,    "appliedLimit": 0  }}

Was this page helpful?