Onplana Comments API

Threaded comments on projects, tasks, and proposals

GitHub OpenAPI

Operations 4

GET /comments List comments on a project, task, proposal, issue, idea or client #
POST /comments Post a comment #
PUT /comments/{id} Edit a comment #
DELETE /comments/{id} Delete a comment #

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-comments-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-comments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onplana Comments 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: Comments
  description: Threaded comments on projects, tasks, and proposals
paths:
  /comments:
    get:
      tags:
      - Comments
      summary: List comments on a project, task, proposal, issue, idea or client
      description: Exactly one of `projectId`, `taskId`, `proposalId`, `issueId`, `ideaId`, `companyId` must be supplied.
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: projectId
        in: query
        required: false
        schema:
          type: string
      - name: taskId
        in: query
        required: false
        schema:
          type: string
      - name: proposalId
        in: query
        required: false
        schema:
          type: string
      - name: issueId
        in: query
        required: false
        schema:
          type: string
      - name: ideaId
        in: query
        required: false
        schema:
          type: string
      - name: companyId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Array of Comment
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
      operationId: getComments
      x-operation-id-source: derived
    post:
      tags:
      - Comments
      summary: Post a comment
      description: The text goes in `content`. Name exactly one thing to comment on (`projectId`, `taskId`, `proposalId`, `issueId`, `ideaId` or `companyId`); `parentId` makes it a reply.
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: string
                  minLength: 1
                  maxLength: 10000
                projectId:
                  type: string
                taskId:
                  type: string
                proposalId:
                  type: string
                issueId:
                  type: string
                ideaId:
                  type: string
                companyId:
                  type: string
                parentId:
                  type: string
                threadKind:
                  type: string
                  enum:
                  - AGENT
              required:
              - content
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Comment'
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '403':
          description: Forbidden - insufficient role
      operationId: postComments
      x-operation-id-source: derived
  /comments/{id}:
    put:
      tags:
      - Comments
      summary: Edit a comment
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: string
                  minLength: 1
                  maxLength: 10000
              required:
              - content
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Comment'
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '403':
          description: Forbidden - insufficient role
        '404':
          description: Not found
      operationId: putCommentsById
      x-operation-id-source: derived
    delete:
      tags:
      - Comments
      summary: Delete a comment
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Deleted
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '403':
          description: Forbidden - insufficient role
        '404':
          description: Not found
      operationId: deleteCommentsById
      x-operation-id-source: derived
components:
  parameters:
    OrgHeader:
      name: X-Organization-Id
      in: header
      required: true
      description: UUID of the active organization. Sets org context for all scoped operations.
      schema:
        type: string
  schemas:
    Comment:
      type: object
      properties:
        id:
          type: string
        content:
          type: string
        authorId:
          type: string
        projectId:
          type: string
          nullable: true
        taskId:
          type: string
          nullable: true
        proposalId:
          type: string
          nullable: true
        issueId:
          type: string
          nullable: true
        ideaId:
          type: string
          nullable: true
        companyId:
          type: string
          nullable: true
        parentId:
          type: string
          nullable: true
          description: Parent comment id for threaded replies.
        threadKind:
          type: string
          nullable: true
          enum:
          - AGENT
          - null
          description: AGENT for the focused human-agent thread; null for the team thread.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - content
      - authorId
      - createdAt
  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.