# POST /api/v1/hooks/:token

Auth: public

HTML: https://cooperemail.com/docs/reference/hook-receiver

## Summary

Public receiver. No API key. Unknown, disabled, or deleted tokens, and a suspended or deleted inbox, are HTTP 404 with no detail. A body over 256 KiB is HTTP 413. A bad signature is HTTP 401 and the body is not stored. The same delivery id within 24 hours is HTTP 200 {received:true, duplicate:true}. Success is HTTP 202 {received:true, id}. 60 requests a minute per source is HTTP 429.

## Request

This call has no JSON body.

## Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

## Errors

- HTTP 401 invalid_signature
- HTTP 413 payload_too_large
- HTTP 429 rate_limited

The live `message` is the sentence for that code. Branch on `code`.

```json
{
  "error": {
    "type": "authentication_error",
    "code": "invalid_signature",
    "docs_url": "https://cooperemail.com/docs#invalid_signature"
  }
}
```

## Idempotency

This route does not document Idempotency-Key or client_id.
