Skip to content
Ordinal
Esc
↑↓navigate↵open⌘Jpreview

post.published

Fired when a post is successfully published to a social channel

SENDpost.published
Message
application/json
typestring

The event type (e.g. post.published).

dataobject

Event-specific payload for this webhook.

Show properties
postobject

The published post.

Show properties
idstring

Post ID.

titlestring

Post title.

channelstring

Channel where the post was published (e.g. LinkedIn, Twitter).

campaignCampaign | null

Campaign if the post is assigned to one. Contains id, name, startDate, and endDate.

Show properties
Any of:
Campaign
idstring<uuid>

Campaign ID.

namestring

Campaign name.

startDatestring<date-time>

Campaign start, as an ISO 8601 timestamp.

endDatestring<date-time>

Campaign end, as an ISO 8601 timestamp.

null
null
urlstring

Ordinal post URL.

postUrlstring | null

Published URL on the social platform.

profilePublishingProfile

Profile that published the post. Contains id, name, and detail.

Show properties
idstring<uuid>

Profile ID.

namestring | null

Profile name. Can be null.

detailstring | null

Profile handle or vanity name. Can be null.

workspaceWorkspace

Workspace the post belongs to. Contains id, slug, and name.

Show properties
idstring<uuid>

Workspace ID.

slugstring

Workspace slug.

namestring

Workspace name.

publishedByUser

User who triggered the publish. Contains id, firstName, lastName, and email.

Show properties
idstring<uuid>

User ID.

firstNamestring | null

First name. Can be null.

lastNamestring | null

Last name. Can be null.

emailstring<email>

Email address.

publishedAtstring<date-time>

ISO 8601 timestamp when the post was published.

createdAtstring<date-time>

ISO 8601 timestamp when the webhook event was created.

Message
{
  "type": "post.published",
  "data": {
    "post": {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "title": "Q4 Product Launch Announcement",
      "channel": "LinkedIn",
      "campaign": {
        "id": "550e8400-e29b-41d4-a716-446655440003",
        "name": "Launch 2025",
        "startDate": "2025-01-01",
        "endDate": "2025-12-31"
      },
      "url": "https://app.tryordinal.com/acme/posts/550e8400-e29b-41d4-a716-446655440001",
      "postUrl": "https://www.linkedin.com/feed/update/urn:li:share:7123456789012345678",
      "profile": {
        "id": "550e8400-e29b-41d4-a716-446655440002",
        "name": "Acme Inc",
        "detail": "acme-inc"
      },
      "workspace": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "slug": "acme",
        "name": "Acme Inc"
      },
      "publishedBy": {
        "id": "550e8400-e29b-41d4-a716-446655440010",
        "firstName": "Jane",
        "lastName": "Doe",
        "email": "jane@example.com"
      },
      "publishedAt": "2025-02-26T14:30:00.000Z"
    }
  },
  "createdAt": "2025-02-26T14:30:00.000Z"
}