# Receive webhooks in your app (https://unmissed.dev/docs/your-app)

Your app receives each webhook with its original method, body and headers, so the sender's signature still checks out. Reply with any `2xx` status to accept it.

A few headers that only make sense for one connection are left out: `host`, `content-length`, `connection`, `keep-alive`, `transfer-encoding`, `te`, `upgrade`, `accept-encoding` and `proxy-connection`. If the sender sent no `content-type`, your app gets `application/octet-stream`.

## Headers [#headers]

Unmissed adds two headers:

| Header | What it is |
| --- | --- |
| `x-unmissed-webhook-id` | The same on every retry and resend. Use it to skip a webhook you've already handled. |
| `x-unmissed-attempt` | Which attempt this is, starting at 1. A resend starts again at 1. |

## Order [#order]

Order isn't guaranteed. Webhooks go out several at a time, and a retry can land after a newer one. Senders such as Stripe don't promise order either, so use the event's own timestamp.

## Late webhooks [#late-webhooks]

Some senders sign a timestamp and reject old ones. Stripe allows 5 minutes by default. If webhooks may reach your app late, for example after it was down, raise that tolerance in your app.

## Size [#size]

Bodies can be up to 25 MB, file uploads included. Multipart webhooks, like inbound email with attachments, arrive byte for byte, so their signatures still check out.

## Webhooks from the CLI [#webhooks-from-the-cli]

Webhooks that [`unmissed listen`](/docs/cli) sends to your laptop carry the sender's headers only, without the two `x-unmissed-*` headers.