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 docs

API 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.

Settings → API keys — create keys per use case, see when each was last used, and revoke them.
API keys
Settings → API keys — create keys per use case, see when each was last used, and revoke them.

CLI

Just type npx send.ad in your terminal to start the conversation (you'll need to click "Allow" once in your browser the first time). Say "I want to announce 15% off our new fall menu" and it'll build an email from the right template and open a preview. Say something like "make the button green" and it'll make the edit. Say "send to the VIP list tomorrow at 10am" and it'll show you the recipient count, time, and cost before asking for confirmation to send. To use it as commands: 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.

API docs → CLI — every command and option.
CLI
API docs → CLI — every command and option.

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.

API docs → MCP server — how to register with Claude Code, Cursor, and the tool list.
MCP (Claude Code and more)
API docs → MCP server — how to register with Claude Code, Cursor, and the tool list.

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.