# message.edited

HTML: https://www.app2email.com/docs/api/webhooks/message.edited · Index: https://www.app2email.com/docs/api/llms.txt

A contact edited a message they sent.

Group: Messages. Header `X-App2email-Event: message.edited`. Inside the envelope `{id, type, created, number, test?, data}` ([envelope, headers, signature](https://www.app2email.com/docs/api/webhooks.md)). Every webhook of the number gets every number event: filter by `type`.

## data

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `data.message_id` | string | yes | The edit's own id. |
| `data.original_message_id` | string | yes |  |
| `data.from` | string | yes |  |
| `data.from_user_id` | string |  |  |
| `data.name` | string |  |  |
| `data.type` | string |  | The new content's type, eg text or image. |
| `data.text` | string |  | The new text or caption. |
| `data.message` | object |  | The new content, as Meta sent it.; any keys |
| `data.conversation_url` | string |  |  |
| `data.timestamp` | string |  |  |
| `data.whatsapp` | object |  | Meta's object, unchanged.; any keys |

## Samples

### text

```json
{
  "id": "evt_Pa3k9m2Lw8Rt5Yp1Zs01",
  "type": "message.edited",
  "created": "2026-11-06T01:00:00.000Z",
  "number": "4976659348270",
  "data": {
    "message_id": "wamid.HBgLNjE0MTIzNDU2NzgVAgARGBJTQU1QTEVfVEVTVF9FVkVOVAA=",
    "original_message_id": "wamid.HBgLNjE0MTIzNDU2NzgVAgASGBJPUklHSU5BTF9NRVNTQUdFAA==",
    "from": "61412345678",
    "from_user_id": "AU.1234567890123456",
    "name": "Sample Contact",
    "type": "text",
    "text": "Is my order on its way? It is order 1234.",
    "message": {
      "type": "text",
      "text": {
        "body": "Is my order on its way? It is order 1234."
      }
    },
    "conversation_url": "https://www.app2email.com/conversation/61412345678_4976659348270_SAMPLEk3XbQ9rTzP2mW",
    "timestamp": "2026-11-06T01:00:00.000Z"
  }
}
```

Send it to your URL: https://www.app2email.com/docs/api/webhooks/tester?type=message.edited
