create_app_endpoint
Creates a REST endpoint for a board, letting you control exposed columns and enable per-user row access via the X-App-User header.
Instructions
Expose a board as a REST endpoint of an app: /apps/{appSlug}/api/{slug}. exposedColumns limits which columns are readable/writable. rowLevelSecurity.enabled makes the endpoint per-user: the developer's server sends X-App-User: <their user id> next to the API key, and the endpoint returns, updates and deletes ONLY that user's rows (401 without the header). Use it whenever the app has its own users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name | |
| slug | Yes | URL slug: lowercase letters, digits and dashes | |
| appId | Yes | App id or slug (from list_apps / create_app) | |
| boardId | Yes | Board id (from list_boards / create_board) | |
| allowedMethods | No | HTTP methods the endpoint accepts: GET, POST, PATCH, DELETE | |
| exposedColumns | No | Columns the endpoint reads and writes, with the JSON key each one gets; without it the endpoint returns bare metadata | |
| organizationId | No | Organization id; defaults to the credential organization when omitted | |
| rowLevelSecurity | No | Row-level security: when enabled, each app user sees and edits only their own rows |