Smart for AI
The whole Smart API in one file for your AI assistant, and the MCP server for agents.
Give a model the Smart API in one read: its guides, the SDK and every endpoint, as Markdown.
https://developer.swarmhit.com/smart-api/llms.txtUse it
- Chat assistants (Claude, ChatGPT): paste the link, or download the file and attach it, then ask for what you want to build: "Using the Swarmhit Smart API in this file, write a script that adds these leads to my campaign."
- Coding assistants (Cursor, Claude Code, Copilot): add the link as documentation
(for example
@docsin Cursor), so their suggestions use real endpoints and fields. - One page at a time: add
.mdto any page's address for its Markdown, for example/smart-api/campaigns.md. Every page also has a Copy Markdown button.
Let an agent act
The MCP server exposes most of the Smart API as tools, so an AI agent can run campaigns, read the inbox and manage leads directly, with your API key.
Other formats
- The OpenAPI document:
https://app.swarmhit.com/openapi.yaml. - Every page of this site, Smart and Raw:
/llms-full.txt.
Change a number's name, caps, warm-up or sender PATCH
**JavaScript SDK:** [`swarmhit.whatsappAccounts.update(whatsappAccountId, params)`](/smart-api/sdk/methods#whatsappAccounts) Only the fields given are written. A value out of range is refused with `400` and the reason, never clamped.
Changelog
What changed in the API, newest first.