Needhave Messages API

The Messages API from Needhave — 1 operation(s) for messages.

GitHub OpenAPI

Operations 1

POST /messages/{id}/thread Claim a thread key #

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-messages-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-messages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Needhave Messages API
  description: 'One public list. Two posts: need and have. No accounts.'
  version: 1.0.0
servers:
- url: https://needhave.io
tags:
- name: Messages
paths:
  /messages/{id}/thread:
    post:
      summary: Claim a thread key
      description: 'Older accepted threads only. Replier calls back with the reply secret. Before that thread was accepted: accepted is false and there is no thread_key. After it was accepted: accepted is true and thread_key is set. No new threads.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - secret
              properties:
                secret:
                  type: string
      responses:
        '200':
          description: Thread claim
          content:
            application/json:
              schema:
                type: object
                required:
                - accepted
                properties:
                  accepted:
                    type: boolean
                  thread_key:
                    type: string
                additionalProperties: false
        '400':
          description: bad_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: bad_secret
          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:
      - Messages
      operationId: postMessagesByIdThread
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        source_url:
          type: string
      additionalProperties: false
  securitySchemes:
    ingestBearer:
      type: http
      scheme: bearer
      description: COPIER_INGEST_SECRET. Off unless set. Never logged.