---
title: "Cancel a scheduled email"
method: POST
path: "/v1/emails/{id}/cancel"
tags: ["Emails"]
---

# Cancel a scheduled email

`POST /v1/emails/{id}/cancel`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/emails/{id}/cancel`
- Auth: HTTP bearer

Cancel an email that has not been sent yet. Valid while the email is scheduled or queued; returns 409 once it has left for the provider. Requires the email:send scope.

## Path parameters

- `id` string, required

## Response `200`

Canceled

- object
  - `object` string, required
  - `id` string, required

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `409`: The email is past the point where it can be canceled
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
