---
search:
  tags:
    - Webhooks
    - POST
    - Webhook
seo:
  description: >-
    Peal sends this to the endpoints that subscribe to post.edited, signed as
    the Standard Webhooks… Reference for the POST post.edited webhook in the
    Peal API.
sidebar:
  label: A post's text was edited on a channel's platform
  badge: POST
title: A post's text was edited on a channel's platform
type: openapi-operation
---
Peal sends this to the endpoints that subscribe to `post.edited`, signed as the Standard Webhooks specification says. Answer any 2xx once it is taken; any other answer, or none within 15 seconds, is tried again.

`POST post.edited`

**Webhook.** The API sends this request to your endpoint.

**Payload** (`application/json`, required)

- `id` (string, required)
- `sample` (boolean)
- `timestamp` (string, required)
- `version` (number, required)
- `workspaceExternalId` (string | null, required)
- `data` (object, required)
- `type` (string, required)

Payload example:

```json
{
  "id": "string",
  "sample": true,
  "timestamp": "string",
  "version": 1,
  "workspaceExternalId": "string",
  "data": {
    "workspaceId": "string",
    "postId": "string",
    "channelId": "string",
    "platform": "x",
    "targetId": "string",
    "editedAt": "string",
    "part": -9007199254740991
  },
  "type": "post.edited"
}
```

**Responses**

- `2XX` — The receiver took the event.
