Docs
Emails · Sending

Update Email

Reschedule an email that hasn't been sent yet.

PATCH/emails/{email_id}
Only scheduled emails can be updated. Send one with scheduled_at first (e.g. "scheduled_at": "in 1 hour"); its ID is filled in here automatically.

Path Parameters

email_idstringrequired
ID of a scheduled email.

Body Parameters

scheduled_atstringrequired
New send time: ISO 8601 or e.g. in 2 hours.
import { Resend } from 'resend';

const client = new Resend('pw_xxxxxxxxx');

const { data, error } = await client.emails.update({ id: '{email_id}', scheduledAt: 'in 2 hours' });
Try itPATCH/emails/%7Bemail_id%7D

No key yet? Create one in the dashboard.