muro Messages API

The Messages API from muro — 2 operation(s) for messages.

GitHub OpenAPI

Operations 3

GET /conversations/{id}/messages List messages (chronological) #
POST /conversations/{id}/messages Send a reply or note #
POST /conversations/{id}/typing Broadcast an agent typing indicator #

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/muro-chat:muro-chat-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

muro-chat-messages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: muro REST Messages API
  version: 1.0.0
  description: Set up sites and their chat widgets, read conversations, send replies, triage threads, and sync contacts. JSON in, JSON out, one Bearer key. Stable DTOs, keyset pagination, predictable errors, and HMAC-signed webhooks.
  contact:
    name: muro support
    email: contact@muro.chat
    url: https://muro.chat/docs/api
servers:
- url: https://muro.chat/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Messages
paths:
  /conversations/{id}/messages:
    parameters:
    - $ref: '#/components/parameters/id'
    get:
      tags:
      - Messages
      summary: List messages (chronological)
      operationId: listMessages
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/cursor'
      - name: since
        in: query
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: A page of messages.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/List'
                - type: object
                  properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Message'
        '400':
          description: Invalid query parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      tags:
      - Messages
      summary: Send a reply or note
      operationId: createMessage
      parameters:
      - $ref: '#/components/parameters/idempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - content
              properties:
                content:
                  type: string
                  maxLength: 32000
                kind:
                  type: string
                  enum:
                  - agent
                  - note
                  default: agent
                attachments:
                  type: array
                  items: {}
                replyTo:
                  type: object
                  description: Quote an earlier message this reply threads under.
                  required:
                  - messageId
                  - preview
                  - senderName
                  properties:
                    messageId:
                      type: string
                      example: msg_4d1c
                    preview:
                      type: string
                      maxLength: 280
                    senderName:
                      type: string
      responses:
        '201':
          description: The created message (same shape as list).
          headers:
            Location:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Message'
        '400':
          description: Invalid body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Idempotency-Key reused with a different body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Content-Type must be application/json.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /conversations/{id}/typing:
    parameters:
    - $ref: '#/components/parameters/id'
    post:
      tags:
      - Messages
      summary: Broadcast an agent typing indicator
      operationId: typing
      responses:
        '202':
          description: Broadcast accepted.
        '404':
          description: Conversation not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
    cursor:
      name: cursor
      in: query
      schema:
        type: string
      description: Opaque next_cursor from a prior page.
    id:
      name: id
      in: path
      required: true
      schema:
        type: string
    idempotencyKey:
      name: Idempotency-Key
      in: header
      schema:
        type: string
      description: Safe-retry key; an identical retry replays the first response. Durable (survives deploys/instances), retained ~24h.
  schemas:
    Message:
      type: object
      properties:
        object:
          type: string
          const: message
        id:
          type: string
          example: msg_4b71c2
        conversation_id:
          type: string
          example: cnv_8f2a1b
        sender_type:
          type: string
          enum:
          - visitor
          - agent
          - system
          - note
        sender_id:
          type:
          - string
          - 'null'
        content:
          type: string
        attachments:
          type: array
          items: {}
        created_at:
          type: string
          format: date-time
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - type
          - message
          properties:
            type:
              type: string
              enum:
              - authentication_error
              - permission_error
              - rate_limit_error
              - invalid_request_error
              - subscription_required
              - not_found
              - api_error
            message:
              type: string
            code:
              type: string
              description: Machine-readable reason when the type alone is not enough, for example `plan_limit_reached`.
            request_id:
              type: string
    List:
      type: object
      required:
      - object
      - data
      - has_more
      - next_cursor
      properties:
        object:
          type: string
          const: list
        data:
          type: array
          items: {}
        has_more:
          type: boolean
        next_cursor:
          type:
          - string
          - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A workspace API key, `Authorization: Bearer mr_live_…`. Scopes: read, write.'
x-id-prefixes:
  conversation: cnv_
  message: msg_
  contact: vis_
  website: web_
  widget: wgt_
  user: usr_
  event: evt_
  saved_reply: srp_
  api_key: mr_live_
x-rate-limit:
  requests: 120
  window_seconds: 60
  scope: per API key (per process)