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.
openapi: 3.2.0
info:
title: ChatRail MCP API
version: 1.0.0
description: 'Send, schedule and receive WhatsApp messages through a linked-device session.
**Two things the API is careful about, which shape every endpoint below.**
*Accepted is not delivered.* A 202 means the message is durably stored and queued. Only the `status` field ever claims WhatsApp delivered anything, and `queued`, `submitted`, `sent`, `delivered` and `read` are deliberately distinct.
*A retry must not send twice.* Send `Idempotency-Key` on every send. A replay returns the original response; a concurrent duplicate is told to retry rather than allowed to race.'
contact:
name: ChatRail
url: https://www.chatrail.dev
servers:
- url: https://www.chatrail.dev
security:
- apiKey: []
tags:
- name: MCP
description: Workspace tools for a coding assistant.
paths:
/v1/mcp:
post:
summary: MCP endpoint
description: 'Model Context Protocol over a stateless streamable HTTP transport. OAuth 2.1 access tokens and workspace API keys are both accepted. Read-only by default; mutating tools preview and apply only when called again with `confirm: true`. No tool returns message content.'
tags:
- MCP
operationId: post_v1_mcp
responses:
'200':
description: An MCP response.
'401':
description: Authentication is required.
'402':
description: MCP is not on this plan.
security:
- apiKey:
- mcp:read
x-scopes:
- mcp:read
/v1/mcp/tools:
get:
summary: List MCP tools
description: Available to dashboard sessions for setup and to API keys with `mcp:read`.
tags:
- MCP
operationId: get_v1_mcp_tools
responses:
'200':
description: The tools this credential may call.
security:
- apiKey: []
- session: []
components:
securitySchemes:
apiKey:
type: http
scheme: bearer
description: 'A workspace API key, `cr_live_…`. Server-side only: it carries workspace authority and must never reach a browser.'
session:
type: apiKey
in: cookie
name: chatrail_session
description: Dashboard session cookie. Set by `/v1/auth/verify`.