---
title: "Stage signed mail from the exact Median Labs forwarding address"
method: POST
path: "/webhooks/inbound-email-production-direct"
tags: ["Webhooks"]
---

# Stage signed mail from the exact Median Labs forwarding address

`POST /webhooks/inbound-email-production-direct`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/webhooks/inbound-email-production-direct`
- Auth: none required

Available only under the production direct-mail configuration. Requires the exact signed envelope recipient, the current registered forwarding handle and a still-eligible company and legal entity. A clean PDF enters private staging for assigned-accountant review. An equal attachment in the same scoped staging slot reuses the first staged copy. This route creates no accounting documents.

## Headers

- `X-Twilio-Email-Event-Webhook-Timestamp` string, required
- `X-Twilio-Email-Event-Webhook-Signature` string, required

## Request body `multipart/form-data`

- object
  - `envelope` string, required
  - `headers` string, required
  - `from` string, required
  - `subject` string
  - `attachment1` string, binary

## Response `200`

Delivery handled by staging, replay handling, or an unread fixed rule

## Other responses

- `400`: The signed multipart body, envelope, message headers, recipient, or attachment metadata is invalid
- `401`: The provider signature headers are missing, invalid, or stale
- `404`: The gated route or exact allowlisted company alias is not available
- `413`: The raw body, a field, an attachment, or the multipart field, file, or part count exceeds its configured limit
- `415`: The body is not raw multipart/form-data or uses a non-identity content encoding
- `422`: An attachment was rejected after malware scanning
- `503`: Inbound intake is temporarily at its bounded concurrency capacity

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/webhooks/inbound-email-production-direct/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
