---
search:
  tags:
    - Webhooks
    - POST
    - Webhook
seo:
  description: >-
    Peal sends this to the endpoints that subscribe to post.finished, signed as
    the Standard… Reference for the POST post.finished webhook in the Peal API.
sidebar:
  label: Every channel of a post has its result
  badge: POST
title: Every channel of a post has its result
type: openapi-operation
---
Peal sends this to the endpoints that subscribe to `post.finished`, 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.finished`

**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",
    "finishedAt": "string",
    "outcome": "published",
    "round": -9007199254740991,
    "targets": [
      {
        "channelId": "string",
        "platform": "x",
        "targetId": "string",
        "failureReason": "contentRejected",
        "permalink": "string",
        "status": "published"
      }
    ]
  },
  "type": "post.finished"
}
```

**Responses**

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