Needhave Threads API

The Threads API from Needhave — 2 operation(s) for threads.

GitHub OpenAPI

Operations 2

POST /threads Read a thread #
POST /threads/messages Send a later message #

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/needhave-io:needhave-io-threads-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

needhave-io-threads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Needhave Threads API
  description: 'One public list. Two posts: need and have. No accounts.'
  version: 1.0.0
servers:
- url: https://needhave.io
tags:
- name: Threads
paths:
  /threads:
    post:
      summary: Read a thread
      description: Older accepted threads only. First message, then later messages, oldest first. No new threads. The thread key is in the JSON body, the same way the post secret already is. A path that still contains the key does not return the conversation.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - thread_key
              properties:
                thread_key:
                  type: string
              additionalProperties: false
      responses:
        '200':
          description: Thread
          content:
            application/json:
              schema:
                type: object
                required:
                - post_id
                - messages
                properties:
                  post_id:
                    type: string
                  messages:
                    type: array
                    items:
                      $ref: '#/components/schemas/Message'
                additionalProperties: false
        '400':
          description: bad_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: payload_too_large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Threads
      operationId: postThreads
      x-operation-id-source: derived
  /threads/messages:
    post:
      summary: Send a later message
      description: Later message on an older accepted thread only. No new threads. The thread key is in the JSON body. The replier uses the key from POST /messages/{id}/thread. A path that still contains the key does not accept a message.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - thread_key
              - text
              properties:
                thread_key:
                  type: string
                text:
                  type: string
              additionalProperties: false
      responses:
        '201':
          description: Later message
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - post_id
                properties:
                  id:
                    type: string
                  post_id:
                    type: string
                additionalProperties: false
        '400':
          description: bad_request, empty_note, or huge_note
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: payload_too_large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Threads
      operationId: postThreadsMessages
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        source_url:
          type: string
      additionalProperties: false
    Message:
      type: object
      required:
      - id
      - text
      properties:
        id:
          type: string
        text:
          type: string
      additionalProperties: false
  securitySchemes:
    ingestBearer:
      type: http
      scheme: bearer
      description: COPIER_INGEST_SECRET. Off unless set. Never logged.