Botanalytics Messages API

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

Operations 1

POST /messages Log conversation messages #

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/botanalytics-messages-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

botanalytics-messages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Botanalytics Message Ingestion Messages API
  version: v2
  description: The Botanalytics REST ingestion API accepts conversational message events from chatbots and voice assistants for analytics processing. This specification is a faithful reconstruction of the single verified ingestion operation exposed by the Botanalytics v2 backend, derived from the first-party Node SDK source (github.com/botanalytics/node-sdk, core/src/base.js) and the public REST API documentation. It is NOT a provider-published OpenAPI document.
  x-apievangelist-generated: true
  x-source: https://github.com/botanalytics/node-sdk (core/src/base.js) + https://docs.beta.botanalytics.co/docs/integration/rest-api/overview
  contact:
    name: Botanalytics
    url: https://botanalytics.co
servers:
- url: https://api.beta.botanalytics.co/v2
  description: Botanalytics v2 ingestion (private beta)
security:
- bearerAuth: []
tags:
- name: Messages
paths:
  /messages:
    post:
      operationId: logMessages
      summary: Log conversation messages
      description: Submit a batch of conversation message events to Botanalytics for analytics processing. The Node and Python SDKs wrap this endpoint. Requests are POSTed with a JSON body containing a `messages` array and a Bearer JWT whose `channel` claim identifies the source channel. The SDK retries failed POSTs (default limit 10) with a 30s request timeout.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MessageBatch'
      responses:
        '200':
          description: Everything worked as expected; messages accepted.
        '201':
          description: Messages created.
        '400':
          description: The request was unacceptable, often due to missing a required parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: You forgot to include your API token or it is wrong.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The requested resource doesn't exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Messages
components:
  schemas:
    MessageBatch:
      type: object
      required:
      - messages
      properties:
        messages:
          type: array
          description: Array of channel message events to ingest.
          items:
            type: object
    Error:
      type: object
      description: Error details returned in JSON format in the response body.
      properties:
        message:
          type: string
        code:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'A Botanalytics API key is a JWT carrying a `channel` claim. Send it as `Authorization: Bearer <token>`.'