muro Automation API
The Automation API from muro — 2 operation(s) for automation.
The Automation API from muro — 2 operation(s) for automation.
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-automation-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 Automation 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: Automation
paths:
/automation-rules:
get:
tags:
- Automation
summary: List automation rules
operationId: listAutomationRules
responses:
'200':
description: All rules, highest priority first.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/List'
- type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/AutomationRule'
post:
tags:
- Automation
summary: Create an automation rule
operationId: createAutomationRule
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AutomationRuleInput'
responses:
'201':
description: Created.
content:
application/json:
schema:
$ref: '#/components/schemas/AutomationRule'
'400':
description: Invalid rule.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/automation-rules/{id}:
parameters:
- $ref: '#/components/parameters/id'
get:
tags:
- Automation
summary: Retrieve a rule
operationId: getAutomationRule
responses:
'200':
description: The rule.
content:
application/json:
schema:
$ref: '#/components/schemas/AutomationRule'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
patch:
tags:
- Automation
summary: Update a rule
operationId: updateAutomationRule
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AutomationRuleInput'
responses:
'200':
description: Updated.
content:
application/json:
schema:
$ref: '#/components/schemas/AutomationRule'
'400':
description: Invalid rule.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
delete:
tags:
- Automation
summary: Delete a rule
operationId: deleteAutomationRule
responses:
'200':
description: Deleted.
'404':
description: Not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
RuleConditions:
type: object
properties:
match:
type: string
enum:
- all
- any
items:
type: array
items:
type: object
properties:
field:
type: string
enum:
- content
- email
- name
- website_id
- tag
op:
type: string
enum:
- contains
- equals
- regex
- exists
value:
type: string
AutomationRule:
type: object
properties:
object:
type: string
const: automation_rule
id:
type: string
example: rul_1a2b
name:
type: string
enabled:
type: boolean
priority:
type: integer
trigger:
type: string
enum:
- conversation.created
- message.created
conditions:
$ref: '#/components/schemas/RuleConditions'
actions:
type: array
items:
type: object
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
AutomationRuleInput:
type: object
required:
- name
- trigger
- actions
properties:
name:
type: string
trigger:
type: string
enum:
- conversation.created
- message.created
conditions:
$ref: '#/components/schemas/RuleConditions'
actions:
type: array
minItems: 1
items:
type: object
description: 'One of: {type:add_tag,value} | {type:assign,user_id} | {type:set_status,value} | {type:reply,text}'
enabled:
type: boolean
priority:
type: integer
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'
parameters:
id:
name: id
in: path
required: true
schema:
type: string
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)