Skip to main content

POST /emails//cancel

Cancel a scheduled email before it’s sent.

Authentication

JWT (Dashboard) or API Key

Path Parameters

ParameterTypeDescription
idstring (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

StatusErrorCause
404Not foundEmail doesn’t exist or isn’t in scheduled status
Cancelling dispatches an email.cancelled webhook event.