Skip to content

Quick Start

Send your first email in under 5 minutes.

1. Get an API Key

Log into the dashboard and navigate to API Keys. Create a new API key and save it securely.

2. Send an Email

Using the SDK

typescript
import { ResendPlus } from '@resend-plus/sdk'

const client = new ResendPlus({
  apiKey: 'rp_your_api_key'
})

const email = await client.emails.send({
  from: 'hello@yourdomain.com',
  to: ['user@example.com'],
  subject: 'Hello from Resend Plus!',
  html: '<p>This is my first email.</p>'
})

console.log('Email sent:', email.id)

Using cURL

bash
curl -X POST https://api.resendplus.com/v1/emails \
  -H "Authorization: Bearer rp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "hello@yourdomain.com",
    "to": ["user@example.com"],
    "subject": "Hello from Resend Plus!",
    "html": "<p>This is my first email.</p>"
  }'

3. Check Delivery Status

The API returns an email ID that you can use to track status:

typescript
const status = await client.emails.get(email.id)
console.log('Status:', status.status) // 'sent', 'delivered', 'bounced'

Next Steps

Built with VitePress