CustomDomain Docs
Applications

List an application's API keys (secrets omitted)

List an application's API keys (secrets omitted): CustomDomain™ API reference in the applications group. Covers parameters, request body and responses.

GET
/applications/{id}/keys
AuthorizationBearer <token>

Long-lived tenant API key, cd_live_… (production) or cd_test_… (staging, development), stored hashed. Keys created before the switch to cd_ start with sk_live_… / sk_test_… and are still accepted. Scoped to the owning application's tenant.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/applications/string/keys"
{  "keys": [    {      "id": "string",      "application_id": "string",      "name": "string",      "prefix": "string",      "environment": "production",      "scopes": [        "string"      ],      "is_default": true,      "last_used_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "revoked_at": "2019-08-24T14:15:22Z"    }  ]}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}