---
title: "Receive an email event from the email provider"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Receive an email event from the email provider

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="post">POST</span>
<code class="cvo-op-path-code">/v1/email/events</code>
</div>
<div class="cvo-op-badges">
<span class="cvo-op-badge cvo-op-badge-auth" data-required="none">No key needed</span>
</div>
</div>

The email provider calls this when an email we sent is delivered, bounces, is delayed, is marked as spam, fails, or is suppressed. Each becomes one `api:email-*` line in the history of the invoice the email carried. A call the provider retries adds nothing twice. An event for an email we did not send is answered and ignored.

The call is signed with the `svix-id`, `svix-timestamp` and `svix-signature` headers. A call that does not verify is refused and nothing is read.

## Headers

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The call was read. |
| `401` | The call is not signed with our secret (`invalid_signature`). Nothing was read. |
| `503` | This deployment has no signing secret (`email_events_not_configured`), or a mail from an approved sender carries an invoice and no key can read it (`email_inbox_not_configured`). The provider tries again later. |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/receive-an-email-event-from-the-email-provider/index.mdx
