Applications API
Applications represent SaaS products or environments.
List Applications
GET /v1/applicationsReturns the applications visible to the current account.
Create Application
POST /v1/applications
Content-Type: application/json
{
"name": "Acme SaaS",
"routingMode": "proxy",
"proxyOriginUrl": "https://app.example.com",
"proxyRewriteRedirects": true,
"proxyPreserveHost": false
}The response includes an app secret once:
{
"application": {
"id": "app_123",
"name": "Acme SaaS"
},
"secret": "cdk_sk_..."
}Store the secret only on your server.
Get Application
GET /v1/applications/:applicationIdUpdate Application
PATCH /v1/applications/:applicationId
Content-Type: application/json
{
"name": "Acme SaaS",
"proxyOriginUrl": "https://app.example.com",
"proxyRewriteRedirects": true,
"proxyPreserveHost": false
}Rotate Application Secret
POST /v1/applications/:applicationId/secretThe response includes the new secret once. Existing setup-session signing code must be updated immediately.
Delete Application
DELETE /v1/applications/:applicationIdReturns 204 No Content after the application is removed.
