---
updatedAt: 2026-09-01T16:18:35.000Z
---

Fetch the complete documentation index at: https://developers.wabbit.gg/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Edit Message

# Edit Message

Replace the content or embed of a message this command already sent

> **Note:** targetStepId in this example points at a synthetic send step the docs pipeline supplies for validation — in a real command it must be the id of an actual send step you added earlier.

## Fields

| Field          | Type                        | Required | Description                                                                                          |
| -------------- | --------------------------- | -------- | ---------------------------------------------------------------------------------------------------- |
| `targetStepId` | string                      | yes      | Must be the id of a send step earlier in the same trigger's step tree.                               |
| `content`      | string or null              | no       | null leaves existing text alone; '' clears it. At least one of content/embed/components is required. |
| `embed`        | object                      | no       | Same shape as send.embed.                                                                            |
| `components`   | array of button/select rows | no       | Same shape and limits as send.components.                                                            |

## Example

```json
{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "edit_message",
  "targetStepId": "01H8XGJVBWX7Y5Z3K9M2N4P6Q0",
  "content": "Updated!"
}
```