> ## Documentation Index
> Fetch the complete documentation index at: https://ordinal.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# post.permanently_deleted

> Fired when a post is permanently deleted

All webhook payloads follow a consistent top-level structure with event-specific data nested within the `data` object.

**type** `string` *required*

The event type (e.g. `post.permanently_deleted`).

**data** `object` *required*

Event-specific payload for this webhook.

**Data object parameters**

**post** `object` *required*

The permanently deleted post.

**Post object parameters**

**id** `string` *required*

Post ID.

**title** `string` *required*

Post title.

**status** `string` *required*

Post status.

**channels** `array` *required*

Channels the post was scheduled for.

**campaign** `object | null`

Campaign if assigned. Contains `id`, `name`, `startDate`, and `endDate`.

**url** `string` *required*

Ordinal post URL.

**labels** `array` *required*

Labels attached to the post. Each contains `id`, `name`, `color`, and `backgroundColor`.

**workspace** `object` *required*

Workspace the post belonged to. Contains `id`, `slug`, and `name`.

**deletedBy** `object | null`

User who deleted the post, or null if auto-deleted after trash retention. Contains `id`, `firstName`, `lastName`, and `email`.

**deletedAt** `string` *required*

ISO 8601 timestamp when the post was permanently deleted.

**linkedIn** `object | null`

LinkedIn content when the post included LinkedIn. Contains `profile` (id, name, detail), `copy`, and `assets` (id, name, url, mimetype, size, width, height, duration).

**x** `object | null`

X/Twitter content when the post included Twitter. Contains `profile` (id, name, detail) and `tweets` (array of `{ copy, assets }`).

**createdAt** `string` *required*

ISO 8601 timestamp when the webhook event was created.

```json Example theme={null}
{
  "type": "post.permanently_deleted",
  "data": {
    "post": {
      "id": "550e8400-e29b-41d4-a716-446655440001",
    "title": "Old Draft",
    "status": "archived",
    "channels": ["LinkedIn"],
    "campaign": null,
    "url": "https://app.tryordinal.com/acme/posts/550e8400-e29b-41d4-a716-446655440001",
    "labels": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440400",
        "name": "Marketing",
        "color": "#9333ea",
        "backgroundColor": "#f3e8ff"
      }
    ],
    "workspace": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "slug": "acme",
      "name": "Acme Inc"
    },
    "deletedBy": {
      "id": "550e8400-e29b-41d4-a716-446655440010",
      "firstName": "Jane",
      "lastName": "Doe",
      "email": "jane@example.com"
    },
    "deletedAt": "2025-03-15T10:00:00.000Z",
    "linkedIn": {
      "profile": {
        "id": "550e8400-e29b-41d4-a716-446655440002",
        "name": "Acme Inc",
        "detail": "acme-inc"
      },
      "copy": "Old draft content",
      "assets": [
        {
          "id": "550e8400-e29b-41d4-a716-446655440010",
          "name": "product-photo.jpg",
          "url": "https://cdn.tryordinal.com/assets/product-photo.jpg",
          "mimetype": "image/jpeg",
          "size": 245678,
          "width": 1920,
          "height": 1080,
          "duration": null
        }
      ]
    },
    "x": null
    }
  },
  "createdAt": "2025-03-15T10:00:00.000Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.