---
title: Message Complained
description: Webhook event payload for `message.complained`.
---

{/* This file is generated by Agentry docs tooling.
Do not edit this file directly. Any changes should be made by running the generation command again. */}

## Delivery

Webhook deliveries are signed with Svix headers:

- `svix-id`
- `svix-timestamp`
- `svix-signature`

## Event Type

`message.complained`

## Payload Schema

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "event"
      ]
    },
    "event_type": {
      "type": "string",
      "enum": [
        "message.complained"
      ]
    },
    "event_id": {
      "$ref": "#/components/schemas/type_events:EventId"
    },
    "complaint": {
      "$ref": "#/components/schemas/type_events:Complaint"
    }
  },
  "required": [
    "type",
    "event_type",
    "event_id",
    "complaint"
  ],
  "title": "MessageComplainedEvent"
}
```

## Example Payload

```json
{
  "complaint": {
    "inbox_id": "<string>",
    "message_id": "<string>",
    "recipients": [
      "<string>"
    ],
    "sub_type": "<string>",
    "thread_id": "<string>",
    "timestamp": "2026-01-01T00:00:00Z",
    "type": "<string>"
  },
  "event_id": "<string>",
  "event_type": "message.complained",
  "type": "event"
}
```
