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

**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",
    "cancelledAt": "string",
    "scope": "post",
    "targets": [
      {
        "channelId": "string",
        "platform": "x",
        "targetId": "string"
      }
    ]
  },
  "type": "post.cancelled"
}
```

**Responses**

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