← Back to CLIs
Melvynx

resend

Send and manage emails via Resend CLI - send emails, manage domains, api keys. Use when user mentions 'resend', 'send email', or wants to use Resend email API.

Install

$ npx api2cli install resend

Details

Skill type: Official CLI
Auth type: bearer
Version: 1.0.0
Author: Melvynx
Views: 0

README

resend

Setup

npm i -g resend

Verify installation:

resend --version

Authentication

resend login

Resources

Emails

CommandDescription
resend emails send --from onboarding@resend.dev --to user@example.com --subject "Hello" --html "<p>Hi</p>"Send an email with HTML body
resend emails send --from hi@example.com --to user@example.com --subject "Hello" --text "Plain text"Send a plain text email
resend emails get <id>Get email details by ID

Domains

CommandDescription
resend domains listList all domains
resend domains create --name example.comAdd a domain
resend domains verify <id>Verify a domain
resend domains delete <id>Remove a domain
resend domains get <id>Get domain details

API Keys

CommandDescription
resend api-keys listList all API keys
resend api-keys create --name "My Key"Create a new API key
resend api-keys delete <id>Delete an API key

Global Flags

FlagDescription
--api-key <key>Use a specific API key
Sponsors