CLI · MCP · API
Everything in Send is available over the REST API, and the CLI and MCP server are thin tools built on top of it. One API key works for all three.
Go to API docsAPI keys
Create one in Settings → API keys. A key is shown only once, when you create it. Make a separate key per agent so if one leaks, you only have to revoke that one.
CLI
Save your key with npx send.ad login --key sd_live_…, then run things like sendad whoami · sendad contacts import file.csv --list customers · sendad ai "brief" --list customers --send · sendad campaigns report <id>. Add --json for machine-readable output.
MCP (Claude Code and more)
One line — claude mcp add sendad -e SEND_API_KEY=sd_live_… -- npx -y send.ad mcp — and Claude Code picks up the send_* tools. Say "send the holiday promo to the customers list" and the agent picks the right tool.
REST
Call /api/v1/* with an Authorization: Bearer sd_live_… header. The OpenAPI spec lives at /api/v1/openapi.json, and AI-readable summaries are at /llms.txt and /skill.md.