Pinthread API

Pinthread API as documented publicly: 15 operations. Contract generated from the documentation by API Evangelist (2026-11-21); not the provider's own document.

GitHub OpenAPI

Operations 15

POST /admin/threads/purge Operator: permanent thread deletion #
GET /api/version GET /api/version returns {"sha":""} , the commit the server runs. #
GET /config Read Read the project configuration. #
GET /events Read Read new activity after a cursor. #
GET /health GET /health returns {"ok":true} with the API version. #
POST /mcp MCP endpoint POST https://pinthread.dev/mcp takes one JSON-RPC 2.0 message, or a batch of up to 20. #
GET /me Read Read the identity behind the token. #
GET /threads Read List threads. #
POST /threads Write Start a thread. #
PATCH /threads/{id} Write Resolve or reopen with { resolved: true | false }. Mark a suggested edit applied with { applied: true, note }. Change workflow fields with any of { status, assignee, priority #
POST /threads/{id}/attachments Write Attach an image to a thread. #
POST /threads/{id}/comments Write Reply to a thread. #
DELETE /threads/{id}/comments/{commentid} Write Delete a comment the token's identity wrote. #
PATCH /threads/{id}/comments/{commentid} Write Edit a comment the token's identity wrote. #
POST /threads/{id}/comments/{commentid}/reactions Write React to 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/pinthread-dev:pinthread-dev-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

pinthread-dev-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Pinthread API
  version: '2026-11-21'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-21: 15 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Pinthread has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 15
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-21'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://pinthread.dev/docs/api
paths:
  /admin/threads/purge:
    post:
      operationId: post_admin_threads_purge
      tags:
      - Admin
      summary: 'Operator: permanent thread deletion'
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: project key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostAdminThreadsPurgeRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostAdminThreadsPurgeResponse'
      x-evidence:
        kind: documentation
  /api/version:
    get:
      operationId: get_api_version
      tags:
      - Api
      summary: GET /api/version returns {"sha":"<commit>"} , the commit the server runs.
      description: Provides the server version identifier. No token required.
      x-source: https://pinthread.dev/docs/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiVersionResponse'
      x-evidence:
        kind: documentation
  /config:
    get:
      operationId: get_config
      tags:
      - Config
      summary: Read Read the project configuration.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /events:
    get:
      operationId: get_events
      tags:
      - Events
      summary: Read Read new activity after a cursor.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      - name: since
        in: query
        required: false
        schema:
          type: string
        description: cursor indicating start point
      - name: limit
        in: query
        required: false
        schema:
          type: string
        description: max number of events (default 100, max 200)
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEventsResponse'
      x-evidence:
        kind: documentation
  /health:
    get:
      operationId: get_health
      tags:
      - Health
      summary: GET /health returns {"ok":true} with the API version.
      description: Returns a simple health check object. No token required.
      x-source: https://pinthread.dev/docs/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetHealthResponse'
      x-evidence:
        kind: documentation
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: MCP endpoint POST https://pinthread.dev/mcp takes one JSON-RPC 2.0 message, or a batch of up to 20.
      description: Accepts a single JSON‑RPC 2.0 request or a batch (max 20). Body size limited to 64 KB. Returns 202 for notifications, otherwise
        a JSON‑RPC response. GET returns 405.
      x-source: https://pinthread.dev/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMcpResponse'
      x-evidence:
        kind: documentation
  /me:
    get:
      operationId: get_me
      tags:
      - Me
      summary: Read Read the identity behind the token.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /threads:
    get:
      operationId: get_threads
      tags:
      - Threads
      summary: Read List threads.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      - name: id
        in: query
        required: false
        schema:
          type: string
        description: one thread
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        description: pagination cursor
      - name: offset
        in: query
        required: false
        schema:
          type: string
        description: offset
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetThreadsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_threads
      tags:
      - Threads
      summary: Write Start a thread.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostThreadsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /threads/{id}:
    patch:
      operationId: patch_threads_id
      tags:
      - Threads
      summary: 'Write Resolve or reopen with { resolved: true | false }. Mark a suggested edit applied with { applied: true, note }. Change workflow
        fields with any of { status, assignee, priority, labels, dueAt } (p'
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchThreadsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /threads/{id}/attachments:
    post:
      operationId: post_threads_id_attachments
      tags:
      - Threads
      summary: Write Attach an image to a thread.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /threads/{id}/comments:
    post:
      operationId: post_threads_id_comments
      tags:
      - Threads
      summary: Write Reply to a thread.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostThreadsIdCommentsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /threads/{id}/comments/{commentid}:
    delete:
      operationId: delete_threads_id_comments_commentid
      tags:
      - Threads
      summary: Write Delete a comment the token's identity wrote.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: commentid
        in: path
        required: true
        schema:
          type: string
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_threads_id_comments_commentid
      tags:
      - Threads
      summary: Write Edit a comment the token's identity wrote.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: commentid
        in: path
        required: true
        schema:
          type: string
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchThreadsIdCommentsCommentidRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /threads/{id}/comments/{commentid}/reactions:
    post:
      operationId: post_threads_id_comments_commentid_reactions
      tags:
      - Threads
      summary: Write React to a comment.
      x-source: https://pinthread.dev/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: commentid
        in: path
        required: true
        schema:
          type: string
      - name: project
        in: query
        required: true
        schema:
          type: string
        description: your project key
      - name: branch
        in: query
        required: true
        schema:
          type: string
        description: branch, for example branch=shared
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostAdminThreadsPurgeRequest:
      type: object
      properties:
        threadIds:
          type: string
          description: array of 1 to 50 exact thread IDs
      required:
      - threadIds
    PostAdminThreadsPurgeResponse:
      type: object
      properties:
        project:
          type: string
          description: project key
        deletedIds:
          type: string
          description: list of IDs that were deleted
        unknownIds:
          type: string
          description: list of IDs not found in the project
    GetApiVersionResponse:
      type: object
      properties:
        sha:
          type: string
          description: Git commit hash of the running server.
    GetEventsResponse:
      type: object
      properties:
        events:
          type: string
          description: list of event objects
        cursor:
          type: string
          description: cursor for next request
        more:
          type: string
          description: true when another page is waiting
    GetHealthResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Health status flag.
    PostMcpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON-RPC version, must be "2.0".
        id:
          type: integer
          description: Request identifier for matching responses.
        method:
          type: string
          description: One of initialize, ping, tools/list, tools/call.
        params:
          type: object
          description: Method‑specific parameters.
      required:
      - jsonrpc
      - method
    PostMcpResponse:
      type: object
      properties:
        '202':
          type: string
          description: Returned for notifications (no body).
        jsonrpc:
          type: string
          description: JSON-RPC version in the response.
        id:
          type: integer
          description: Matches the request id.
        result:
          type: object
          description: Result of the RPC call.
        error:
          type: object
          description: Error object if the call failed.
    GetThreadsResponse:
      type: object
      properties:
        threads:
          type: string
          description: list of thread objects
        nextCursor:
          type: string
          description: cursor for the next page
    PostThreadsRequest:
      type: object
      properties:
        page:
          type: string
          description: page identifier
        body:
          type: string
          description: thread body content
        anchor:
          type: string
          description: anchor object
    PatchThreadsIdRequest:
      type: object
      properties:
        resolved:
          type: string
          description: true to resolve, false to reopen
        applied:
          type: string
          description: true to mark suggested edit applied
        note:
          type: string
          description: note for applied edit
        status:
          type: string
          description: workflow status
        assignee:
          type: string
          description: assignee identifier
        priority:
          type: string
          description: priority level
        labels:
          type: string
          description: array of labels
        dueAt:
          type: string
          description: due date
        anchor:
          type: string
          description: anchor object (only on a thread the token started)
    PostThreadsIdCommentsRequest:
      type: object
      properties:
        body:
          type: string
          description: comment body
      required:
      - body
    PatchThreadsIdCommentsCommentidRequest:
      type: object
      properties:
        body:
          type: string
          description: new comment body
      required:
      - body
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      x-source: https://pinthread.dev/docs/api/
tags:
- name: Admin
- name: Api
- name: Config
- name: Events
- name: Health
- name: Mcp
- name: Me
- name: Threads
security:
- Bearer: []