Onplana App Data API

Published-app data surfaces: public form / upload / read endpoints and their owner-side bindings (all plans)

GitHub OpenAPI

Operations 7

POST /public/forms/{token}/submit Submit a form from a published app (public, append-only) #
POST /public/playground/entitlements/{slug}/claim Claim an unlock after paying (public) #
GET /public/playground/entitlements/{slug}/verify Check whether an unlock key is still valid (public) #
GET /public/playground/entitlements/{slug}/download/{assetId} Download a paid file (public, entitlement-gated) #
POST /public/playground/stripe-webhook/{token} Stripe webhook receiver for one published app (Stripe only) #
POST /public/uploads/{token} Upload a file from a published app (public, append-only) #
GET /public/reads/{token} Read a published app's own collected data (public, opt-in columns) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/onplana-com:onplana-com-app-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

onplana-com-app-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onplana App Data API
  version: 1.0.0
  description: AI-native Project Management System REST API. All org-scoped routes require the `X-Organization-Id` header. Most routes require a Bearer JWT obtained from `/auth/login`.
servers:
- url: /api
security:
- bearerAuth: []
- patAuth: []
tags:
- name: app-data
  description: 'Published-app data surfaces: public form / upload / read endpoints and their owner-side bindings (all plans)'
paths:
  /public/forms/{token}/submit:
    post:
      tags:
      - app-data
      summary: Submit a form from a published app (public, append-only)
      description: Appends one row to the List bound to this form token. Columns are created on first sight from the posted field names. Include an empty hidden `_honeypot` field; a non-empty value silently drops the submission. Reserved field `_files` carries fileRef claims returned by the upload endpoint, linking uploaded files to this submission. ALWAYS returns 200, including when the submission was dropped , never treat 200 as proof it was stored.
      security: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
        description: The frm_ token from the Forms panel.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: Arbitrary form fields. `captchaToken` and `_files` are reserved.
              properties:
                _honeypot:
                  type: string
                  description: Must be empty. Non-empty = bot, silently dropped.
                captchaToken:
                  type: string
                  description: Required only when the binding has captcha enabled.
                _files:
                  description: fileRef string, or array of them, from POST /public/uploads/{token}.
      responses:
        '200':
          description: 'Always 200. `{ ok: true }` whether or not the submission was stored.'
      operationId: postPublicFormsByTokenSubmit
      x-operation-id-source: derived
  /public/playground/entitlements/{slug}/claim:
    post:
      tags:
      - app-data
      summary: Claim an unlock after paying (public)
      description: 'Two shapes. `{ sessionId }` is the instant post-checkout claim: the Payment Link redirect carries `{CHECKOUT_SESSION_ID}`, and a paid session returns `{ status: "granted", key }` , store that key. `{ status: "pending" }` means a slow payment method is still clearing; `{ status: "expired" }` means the session is older than the 24h claim window, so use the email path instead. `{ email }` is the restore path: it ALWAYS answers `{ sent: true }`, whether or not that address bought anything, so never surface "no purchase found". A 429 means try again shortly , it is NOT "not purchased".'
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: The published app label, i.e. <slug>.onplana.app.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sessionId:
                  type: string
                  description: Stripe Checkout Session id from the post-payment redirect.
                email:
                  type: string
                  description: The email used at checkout. Triggers a magic-link restore.
      responses:
        '200':
          description: '`{ ok, status?, key?, sent? }`. Absent status = nothing to claim.'
        '429':
          description: Rate limited. Retry shortly; do NOT treat as unpaid.
      operationId: postPublicPlaygroundEntitlementsBySlugClaim
      x-operation-id-source: derived
  /public/playground/entitlements/{slug}/verify:
    get:
      tags:
      - app-data
      summary: Check whether an unlock key is still valid (public)
      description: 'Re-checks the stored key against the live entitlement on EVERY call, which is what makes a refund or dispute actually re-lock the app. Call it on each load and unlock only on `{ entitled: true }`. IMPORTANT: only a 200 with `entitled: false` means unpaid , a 429 or 5xx means the check could not run, so keep the current state rather than re-locking a buyer over an outage.'
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: key
        in: query
        required: true
        schema:
          type: string
        description: The unlock key from /claim.
      responses:
        '200':
          description: '`{ entitled: boolean }`'
        '429':
          description: Rate limited , keep the current unlock state.
        '500':
          description: Check unavailable , keep the current unlock state.
      operationId: getPublicPlaygroundEntitlementsBySlugVerify
      x-operation-id-source: derived
  /public/playground/entitlements/{slug}/download/{assetId}:
    get:
      tags:
      - app-data
      summary: Download a paid file (public, entitlement-gated)
      description: Streams a file the app owner uploaded as paid content. The bytes are private until this endpoint authorises them, which is what makes the paywall real , a static bundle can never hold a file back on its own. Always served as an attachment. The entitlement is re-checked per request, so a refund closes access on the next click.
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: assetId
        in: path
        required: true
        schema:
          type: string
      - name: key
        in: query
        required: true
        schema:
          type: string
        description: The unlock key from /claim.
      responses:
        '200':
          description: 'The file bytes (Content-Disposition: attachment).'
        '403':
          description: No valid entitlement for this app.
        '404':
          description: No such paid file on this app.
        '429':
          description: Rate limited , not an entitlement failure.
      operationId: getPublicPlaygroundEntitlementsBySlugDownloadByAssetId
      x-operation-id-source: derived
  /public/playground/stripe-webhook/{token}:
    post:
      tags:
      - app-data
      summary: Stripe webhook receiver for one published app (Stripe only)
      description: 'The per-app endpoint a builder registers in their OWN Stripe dashboard. The URL is per-app by necessity: signature verification needs that app''s signing secret, so the path token identifies the app before verification runs. Every event is verified against the bound secret, deduped on Stripe''s event id, and granted only when it matches a Payment Link the owner bound. Not for direct use , listed so the contract is discoverable.'
      security: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
        description: The swh_ token from the Payments panel.
      responses:
        '200':
          description: Processed (or a duplicate that was already settled).
        '400':
          description: Signature verification failed , Stripe retries.
        '429':
          description: Rate limited , Stripe retries.
        '500':
          description: Transient failure , Stripe retries and the event is re-applied.
        '503':
          description: No signing secret bound yet , Stripe retries.
      operationId: postPublicPlaygroundStripeWebhookByToken
      x-operation-id-source: derived
  /public/uploads/{token}:
    post:
      tags:
      - app-data
      summary: Upload a file from a published app (public, append-only)
      description: 'Accepts one multipart file in the field `file`, plus an empty hidden `_honeypot` field. The file lands as a document in a library the app owner controls; the app can NEVER read it back, so do not build a gallery of uploads. The response carries a `fileRef` to echo as `_files` on a subsequent form submission to link the two. ALWAYS returns 200: on any drop the fileRef is a decoy, so it cannot be used to detect whether the upload was stored.'
      security: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
        description: The upl_ token from the Files-in panel.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                _honeypot:
                  type: string
                captchaToken:
                  type: string
      responses:
        '200':
          description: 'Always 200. `{ ok: true, fileRef }` , fileRef is a decoy when the upload was dropped.'
      operationId: postPublicUploadsByToken
      x-operation-id-source: derived
  /public/reads/{token}:
    get:
      tags:
      - app-data
      summary: Read a published app's own collected data (public, opt-in columns)
      description: Returns `{ count }` by default. Row data appears only for columns the OWNER has explicitly approved in the Data panel (default none), so a fresh binding exposes no field values at all. Paginated via an opaque cursor. A missing, disabled or unknown binding answers a uniform 404 rather than distinguishing the cases.
      security: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
        description: The rd_ token from the Data panel.
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        description: Opaque pagination cursor from a prior response.
      responses:
        '200':
          description: '`{ count }`, or `{ rows, nextCursor }` when the owner has approved columns and the binding is in rows mode. A page binding returns `{ page }`.'
        '404':
          description: Unknown, disabled or deleted binding (uniform, never distinguishes which).
      operationId: getPublicReadsByToken
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    patAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Personal Access Token: `Authorization: Bearer pat_<token>`. Org context is embedded in the token - no `X-Organization-Id` header required.'
    oauthApp:
      type: oauth2
      description: Third-party OAuth app (confidential client). Register the app under Settings > Developer > OAuth apps; the person approving picks the workspace the token acts in. Tokens last 90 days and extend while in use; there is no refresh token, so a dormant connection re-consents.
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          scopes:
            tasks: Read and write the tasks assigned to the person, read their projects, log their time.
            schedule: Read projects and create or update them (publish a schedule).
            mcp: The MCP tool surface, as a member-capped agent persona.
            webhooks: Create, list, change and delete the app's own webhook subscriptions.