Loading...
Loading...
Operate the Resend platform from the terminal — send emails, manage domains, contacts, broadcasts, templates, webhooks, and API keys via the `resend` CLI. Use when the user wants to run Resend commands in the shell, scripts, or CI/CD pipelines. Always load this skill before running `resend` commands — it contains the non-interactive flag contract and gotchas that prevent silent failures.
npx skill4agent add resend/resend-cli resend-cli--json--quiet-q01{"error":{"message":"...","code":"..."}}--api-keyRESEND_API_KEYdeleterm--yes--api-keyRESEND_API_KEYresend login --key--profileRESEND_PROFILE| Flag | Description |
|---|---|
| Override API key for this invocation |
| Select stored profile |
| Force JSON output (auto in non-TTY) |
| Suppress spinners/status (implies |
| Command Group | What it does |
|---|---|
| send, get, list, batch, cancel, update |
| list, get, attachments, forward, listen |
| create, verify, update, delete, list |
| create, list, delete |
| create, send, update, delete, list |
| create, update, delete, segments, topics |
| create, update, delete, list |
| create, get, list, delete |
| create, publish, duplicate, delete, list |
| create, update, delete, list |
| create, update, listen, delete, list |
| login, logout, switch, rename, remove |
| Utility commands |
| # | Mistake | Fix |
|---|---|---|
| 1 | Forgetting | All |
| 2 | Not saving webhook | |
| 3 | Omitting | Without |
| 4 | Using | Batch sending does not support |
| 5 | Expecting | List returns summaries only — use |
| 6 | Sending a dashboard-created broadcast via CLI | Only API-created broadcasts can be sent with |
| 7 | Passing | |
resend emails send --from "you@domain.com" --to user@example.com --subject "Hello" --text "Body"resend domains create --name example.com --region us-east-1
# Configure DNS records from output, then:
resend domains verify <domain-id>
resend domains get <domain-id> # check statusresend broadcasts create --from "news@domain.com" --subject "Update" --segment-id <id> --html "<h1>Hi</h1>" --sendRESEND_API_KEY=re_xxx resend emails send --from ... --to ... --subject ... --text ...resend doctor -qresendagent-email-inbox