Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Application

Get Application Key

Retrieves the application key matching the provided ID.

Specifying a project, organization and application ID is optional but help with filtering/performance.

Required permissions:

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

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
keyId*key_id

The unique ID of the application key to be retrieved.

Response Body

Success

application/json
  1. response
keyId?key_id

Unique ID of the application key.

creationDate?expiration_date

The timestamp when the key will expire.

Formatdate-time
expirationDate?expiration_date

The timestamp when the key will expire.

Formatdate-time
Example Request
curl -X POST 'https://example.com/zitadel.application.v2.ApplicationService/GetApplicationKey' \  -H 'Connect-Protocol-Version: 1' \  -H 'Content-Type: application/json' \  -d '{  "keyId": "string"}'
Example Response
{  "keyId": "string",  "creationDate": "2023-01-15T01:30:15.01Z",  "expirationDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?