POST
/emails/{email_id}/cancel
Resend APICancel the schedule of the e-mail.
- Base URL
- https://api.resend.com
- Auth
- Authorization: Bearer <RESEND_API_KEY>
- Last verified
- 2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 164 tokens · Vary: Accept
→ 164 tokens · Vary: Accept
Critical gotchas
All requests must include a User-Agent header (e.g. User-Agent: my-app/1.0) or the API returns HTTP 403.
The to field is an array of strings, even when sending to a single recipient.
cURL
curl -X POST 'https://api.resend.com/emails/email-id/cancel' \ -H "Authorization: Bearer $RESEND_API_KEY" \ -H 'User-Agent: my-app/1.0'Get a free Resend API key → sponsored
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| email_id | path | string | Yes | The ID of the email. |
Response 200 OK
{
"object": "email",
"id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
"message_id": "<202301010000.4ef9a417@email.example.com>",
"to": [
"delivered@resend.dev"
],
"from": "Acme <onboarding@resend.dev>",
"created_at": "2023-04-03 22:13:42.674981+00",
"subject": "Hello World",
"html": "Congrats on sending your <strong>first email</strong>!",
"text": "string",
"bcc": [
"string"
],
"cc": [
"string"
],
"reply_to": [
"string"
],
"last_event": "delivered"
}