POST /emails//cancel
Cancel a scheduled email before it’s sent.
Authentication
JWT (Dashboard) or API Key
Path Parameters
| Parameter | Type | Description |
|---|
id | string (UUID) | Scheduled email ID |
Response
{
"emailId": "550e8400-e29b-41d4-a716-446655440000"
}
Example
curl -X POST https://app.usesendi.com/api/emails/550e8400-e29b-41d4-a716-446655440000/cancel \
-H "Authorization: Bearer snd_your_api_key"
Errors
| Status | Error | Cause |
|---|
404 | Not found | Email doesn’t exist or isn’t in scheduled status |
Cancelling dispatches an email.cancelled webhook event.