---
title: "Social post published"
method: POST
path: "social_post.published"
tags: ["Socials"]
---

# Social post published

`POST social_post.published` (webhook)

Triggered when a social post goes live, on at least one of its accounts. Its status is partial when it failed on others

## Headers

- `webhook-id` string, required
- `webhook-timestamp` string, required
- `webhook-signature` string, required

## Payload

- object
  - `id` string, required: Unique identifier for this webhook event
  - `object` 'event', required
  - `type` 'social_post.published', required: The event type
  - `livemode` boolean, required: `false` when a test purchase or a test event from the dashboard caused this event, `true` otherwise
  - `created_at` string, date-time, required: ISO 8601 timestamp of when the event was created
  - `api_version` string, required: API version used to generate the payload
  - `data` object, required: `object` is the resource exactly as its API endpoint returns it.
    - `object` SocialPost, required
      - `object` string, required
      - `id` string, required
      - `title` string, nullable, required
      - `content` string, required
      - `platforms` object, required
      - `platform_data` object, required
      - `account_ids` string[], required: The connected accounts (`sacct_...`) it goes out on. Empty means the only connected account on each of its platforms; a platform with several needs its ids named.
      - `upload_ids` unknown[], required
        - unknown
      - `media_urls` unknown[], required
        - unknown
      - `status` 'draft' | 'publishing' | 'scheduled' | 'posted' | 'partial' | 'failed' | 'disconnected', required
      - `scheduled_at` string, date-time, nullable, required
      - `posted_at` string, date-time, nullable, required
      - `error` string, nullable, required
      - `targets` object[], required: Each account the post went out to and how it fared there; empty until it is sent. A post that went live on some accounts and failed on the rest has status `partial`, and `error` names the accounts that failed.
        - `account_id` string, nullable, required: The account (`sacct_...`), or null once it is disconnected.
        - `platform` string, required
        - `status` 'pending' | 'published' | 'failed', required
        - `platform_post_id` string, nullable, required
        - `url` string, nullable, required: The post on the platform, once it is live.
        - `error` string, nullable, required: Why it failed on this account.
        - `published_at` string, date-time, nullable, required
      - `analytics` object, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `warnings` string[]: Only in the reply to creating or editing a draft, and only when there is something to fix: the problems it would hit going out, such as missing media or a platform with no connected account.

## Acknowledgement `200`

Return any 2xx status within 5 seconds to acknowledge receipt.

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
