muro Conversations API
The Conversations API from muro — 3 operation(s) for conversations.
The Conversations API from muro — 3 operation(s) for conversations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/muro-chat:muro-chat-conversations-api"
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.
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: 3.2.0
info:
title: muro REST Conversations 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: Conversations
paths:
/conversations:
get:
tags:
- Conversations
summary: List conversations
operationId: listConversations
parameters:
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/cursor'
- name: status
in: query
schema:
type: string
enum:
- open
- closed
- snoozed
- name: q
in: query
schema:
type: string
maxLength: 128
description: Search name/email/message text.
- name: since
in: query
schema:
type: string
format: date-time
description: Only conversations with activity strictly after this timestamp (compare with `updated_at`). Use it to poll for new messages.
responses:
'200':
description: A page of conversations.
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Requests allowed per window.
X-RateLimit-Remaining:
schema:
type: integer
description: Requests left in the window.
X-RateLimit-Reset:
schema:
type: integer
description: Unix seconds when the window resets.
X-Request-Id:
schema:
type: string
description: Correlation id — quote it to support.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/List'
- type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Conversation'
'400':
description: Invalid query parameter.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing/invalid key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
post:
tags:
- Conversations
summary: Open a conversation toward a known contact
operationId: createConversation
parameters:
- $ref: '#/components/parameters/idempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- visitor_id
properties:
visitor_id:
type: string
example: vis_19c4ab
content:
type: string
maxLength: 32000
description: Optional opening line.
responses:
'201':
description: Created. Carries a Location header.
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Requests allowed per window.
X-RateLimit-Remaining:
schema:
type: integer
description: Requests left in the window.
X-RateLimit-Reset:
schema:
type: integer
description: Unix seconds when the window resets.
X-Request-Id:
schema:
type: string
description: Correlation id — quote it to support.
Location:
schema:
type: string
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Conversation'
- type: object
properties:
opening_message_id:
type: string
description: Id of the opening message, when `content` was supplied.
example: msg_4d1c
'400':
description: Invalid body.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the write scope.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such contact.
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}:
parameters:
- $ref: '#/components/parameters/id'
get:
tags:
- Conversations
summary: Retrieve a conversation
operationId: getConversation
responses:
'200':
description: The conversation.
content:
application/json:
schema:
$ref: '#/components/schemas/Conversation'
'404':
description: Not found in your workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
patch:
tags:
- Conversations
summary: Triage a conversation
operationId: updateConversation
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
status:
type: string
enum:
- open
- closed
- snoozed
tags:
type: array
items:
type: string
maxLength: 64
maxItems: 50
assigned_user_id:
type:
- string
- 'null'
mark_read:
type: boolean
mark_unread:
type: boolean
metadata:
type: object
additionalProperties: true
description: Shallow-merged; a null value drops a key.
responses:
'200':
description: Updated conversation.
content:
application/json:
schema:
$ref: '#/components/schemas/Conversation'
'400':
description: Invalid body or assignee not in workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/conversations/bulk:
post:
tags:
- Conversations
summary: Apply one action to many conversations
operationId: bulkConversations
parameters:
- $ref: '#/components/parameters/idempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- ids
- action
properties:
ids:
type: array
items:
type: string
maxItems: 100
action:
type: string
enum:
- close
- open
- snooze
- read
- unread
- assign
assigned_user_id:
type:
- string
- 'null'
responses:
'200':
description: Per-id result.
content:
application/json:
schema:
$ref: '#/components/schemas/BulkResult'
'400':
description: Invalid body.
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'
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:
BulkResult:
type: object
properties:
object:
type: string
const: bulk_result
action:
type: string
updated:
type: integer
not_found:
type: integer
results:
type: array
items:
type: object
properties:
id:
type: string
status:
type: string
enum:
- updated
- not_found
Conversation:
type: object
properties:
object:
type: string
const: conversation
id:
type: string
example: cnv_8f2a1b
status:
type: string
enum:
- open
- closed
- snoozed
tags:
type: array
items:
type: string
unread_count:
type: integer
website_id:
type: string
example: web_1a2b
assigned_user_id:
type:
- string
- 'null'
visitor:
type: object
properties:
id:
type: string
example: vis_19c4
name:
type:
- string
- 'null'
email:
type:
- string
- 'null'
last_message:
type:
- object
- 'null'
metadata:
type: object
additionalProperties: true
summary:
type:
- string
- 'null'
description: AI recap (auto-generated on close).
summary_at:
type:
- string
- 'null'
format: date-time
created_at:
type: string
format: date-time
updated_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)