> ## Documentation Index
> Fetch the complete documentation index at: https://agentmail.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://agentmail.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://agentmail.manicule.dev/api/mcp.
> Every agent surface: https://agentmail.manicule.dev/.well-known/llms-manifest.json

# Message Rejected (/api-reference/message-rejected)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 868 · updated: 2026-09-29 -->
Related: [Sign Up](/api-reference/sign-up.md), [Attach Human](/api-reference/attach-human.md), [Verify](/api-reference/verify.md), [List Inboxes](/api-reference/list-inboxes.md), [Create Inbox](/api-reference/create-inbox.md), [Search Inboxes](/api-reference/search-inboxes.md)

# Message Rejected

`POST` webhook `webhooks_events_messageRejected`

> Message Rejected

Base URL: `https://api.agentmail.to`

Base URL: `https://x402.api.agentmail.to`

Base URL: `https://mpp.api.agentmail.to`

Base URL: `https://api.agentmail.eu`

## OpenAPI

```json
{
  "servers": [
    {
      "url": "https://api.agentmail.to",
      "description": "prod"
    },
    {
      "url": "https://x402.api.agentmail.to",
      "description": "prod-x402"
    },
    {
      "url": "https://mpp.api.agentmail.to",
      "description": "prod-mpp"
    },
    {
      "url": "https://api.agentmail.eu",
      "description": "eu-prod"
    }
  ],
  "parameters": [
    {
      "name": "svix-id",
      "in": "header",
      "required": true,
      "schema": {
        "type": "string",
        "description": "ID of webhook message.",
        "title": "SvixId"
      }
    },
    {
      "name": "svix-signature",
      "in": "header",
      "required": true,
      "schema": {
        "type": "string",
        "description": "Signature of webhook message.",
        "title": "SvixSignature"
      }
    },
    {
      "name": "svix-timestamp",
      "in": "header",
      "required": true,
      "schema": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp of webhook message.",
        "title": "SvixTimestamp"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "event"
              ]
            },
            "event_type": {
              "type": "string",
              "enum": [
                "message.rejected"
              ]
            },
            "event_id": {
              "type": "string",
              "description": "ID of event.",
              "title": "EventId"
            },
            "reject": {
              "type": "object",
              "properties": {
                "inbox_id": {
                  "type": "string",
                  "description": "The ID of the inbox.",
                  "title": "InboxId"
                },
                "thread_id": {
                  "type": "string",
                  "description": "ID of thread.",
                  "title": "ThreadId"
                },
                "message_id": {
                  "type": "string",
                  "description": "ID of message.",
                  "title": "MessageId"
                },
                "timestamp": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of event.",
                  "title": "Timestamp"
                },
                "reason": {
                  "type": "string",
                  "description": "Reject reason."
                }
              },
              "required": [
                "inbox_id",
                "thread_id",
                "message_id",
                "timestamp",
                "reason"
              ],
              "title": "Reject"
            }
          },
          "required": [
            "type",
            "event_type",
            "event_id",
            "reject"
          ],
          "title": "MessageRejectedEvent"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Webhook received successfully"
    }
  }
}
```
