Changes made through preview endpoints (
/k/v1/preview/...) are saved as a draft and do not affect the live app until you call Deploy App Settings. After deploying, use Get App Deploy Status to confirm the deployment completed.App management
Get App — GET /k/v1/app.json
Get App — GET /k/v1/app.json
Returns the details of a single app.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | Integer | Yes | The app ID. |
Response properties
| Property | Type | Description |
|---|---|---|
appId | String | The app ID. |
code | String | The app code. |
name | String | The app name. |
description | String | The app description. |
spaceId | String | The ID of the space the app belongs to, or null. |
threadId | String | The ID of the thread the app belongs to, or null. |
createdAt | String | ISO 8601 timestamp of when the app was created. |
creator | Object | The creator’s code and name. |
modifiedAt | String | ISO 8601 timestamp of the last modification. |
modifier | Object | The last modifier’s code and name. |
Examples
Sample response
Get Apps — GET /k/v1/apps.json
Get Apps — GET /k/v1/apps.json
Returns a list of apps. Supports filtering by IDs, codes, name, or space. Returns up to 100 apps per request.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ids[] | Array of integers | No | Filter by app IDs. Up to 100 values. |
codes[] | Array of strings | No | Filter by app codes. Up to 100 values. |
name | String | No | Filter by app name (partial match). |
spaceIds[] | Array of integers | No | Filter by space IDs. Up to 100 values. |
offset | Integer | No | Number of apps to skip. Default: 0. |
limit | Integer | No | Number of apps to return. Max: 100. Default: 100. |
Response properties
| Property | Type | Description |
|---|---|---|
apps | Array | List of app objects. Each object contains the same properties as Get App. |
Examples
Sample response
Creating and deploying apps
Add Preview App — POST /k/v1/preview/app.json
Add Preview App — POST /k/v1/preview/app.json
Creates a new app in preview (draft) state. The app is not live until you call Deploy App Settings.
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
name | String | Yes | The app name. Maximum 64 characters. |
space | Integer | No | The ID of the space to place the app in. |
thread | Integer | No | The ID of the thread in the space. Required if space is specified. |
Response properties
| Property | Type | Description |
|---|---|---|
app | String | The ID of the newly created app. |
revision | String | The revision number of the app settings. |
Examples
Sample response
Deploy App Settings — POST /k/v1/preview/app/deploy.json
Deploy App Settings — POST /k/v1/preview/app/deploy.json
Deploys the draft settings of one or more apps, making them live. You can deploy up to 300 apps per request.
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
apps | Array of objects | Yes | List of apps to deploy. Each object contains app (app ID) and optionally revision. |
apps[].app | Integer | Yes | The app ID. |
apps[].revision | Integer | No | The expected revision number. Deployment fails if the current revision does not match. Use -1 to skip the check. |
revert | Boolean | No | If true, reverts all draft settings back to the live settings without deploying. Default: false. |
Response
An empty object{} is returned on success.Examples
Sample response
Get App Deploy Status — GET /k/v1/preview/app/deploy.json
Get App Deploy Status — GET /k/v1/preview/app/deploy.json
Returns the deployment status for one or more apps. Use this after calling Deploy App Settings to confirm deployment completed.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
apps[] | Array of integers | Yes | The app IDs to check. Up to 300 values. |
Response properties
| Property | Type | Description |
|---|---|---|
apps | Array | List of status objects. |
apps[].app | String | The app ID. |
apps[].status | String | Deployment status: PROCESSING, SUCCESS, FAIL, or CANCEL. |
Examples
Sample response
Related pages
- Form fields — Add and manage form fields
- Views and settings — Manage views, permissions, notifications, and more
- REST API overview — Full endpoint reference table