---
title: "Mail webhook"
method: POST
path: "/webhooks/mail/{provider}"
tags: ["Webhooks"]
---

# Mail webhook

`POST /webhooks/mail/{provider}`

## Request

- Base URL: `https://api.vicem.ai`
- URL: `https://api.vicem.ai/webhooks/mail/{provider}`
- Auth: none required

Raw provider payload. Authenticated by the provider signature header and deduplicated by provider event id; never by a bearer token.

## Path parameters

- `provider` string, required

## Request body

- unknown

## Response `200`

OK. The body is not part of the contract (usually `{"ok": true}`).

- object

## Other responses

- `404`: No such resource, or not visible to this caller.
- `500`: Unexpected server error (reported to Sentry).

---

[API](https://skmtc.dev/vicem/apis/vicem-api.md) · [All operations](https://skmtc.dev/vicem/apis/vicem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vicem/apis/vicem-api/revisions/9efcec07e5f4?raw)
