AI Coding Agents
msend is designed to be easy for AI coding assistants (Claude Code, Cursor, Codex, Antigravity, etc.) to integrate into your codebase accurately.
Machine-Readable Endpoints
Point your AI coding agent directly at these files:
| Resource | URL | Purpose |
|---|---|---|
| llms.txt | https://docs.msend.dev/llms.txt | Curated index of all documentation pages for LLM context windows. |
| OpenAPI 3.1 (YAML) | https://docs.msend.dev/openapi/msend.v1.yaml | Full API schema, request/response models, error codes, and webhook payloads. |
| Live Instance OpenAPI | https://<your-host>/api/v1/openapi.json | Served without auth from any running msend instance (with servers[0].url matching APP_HOST). |
Every OpenAPI operationId in msend is verb-first (send_message, list_events, reply_in_thread, update_consent, etc.) so code generators and MCP bridges can map endpoints directly to agent tools.
Example Prompt for Your Coding Agent
Read https://docs.msend.dev/llms.txt and https://docs.msend.dev/openapi/msend.v1.yaml.
Build a webhook receiver in Python that:
1. Verifies Msend-Signature (v1=HMAC-SHA256 of "<timestamp>.<raw_body>") with a 5-minute replay window.
2. Deduplicates on Msend-Event-Id.
3. Replies to message.received events where addressed_to_agent is true via POST /api/v1/conversations/{id}/messages with an Idempotency-Key.Last updated on