CustomDomain Docs
API referenceAPI referenceApplications

The API date an application is pinned to

The API date an application is pinned to: CustomDomain™ API reference in the applications group. Covers parameters, request body, responses and error codes.

GET
/applications/{id}/api-version

version is empty when the application is not pinned. Requires app:read.

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

application/json

curl -X GET "https://example.com/applications/string/api-version"
{  "application_id": "string",  "webhook_id": "string",  "version": "string",  "effective": "string",  "current": "string",  "versions": [    "string"  ]}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}