Webhooks Events

Post Validated

This event is triggered when a draft post is validated (state to_validate → live/pending).

postWebhookpostValidated

Payload

type'post_validated'

Example payload

{
  "payload": {
    "org_id": 106844,
    "post": {
      "bulk_id": 7,
      "post_type": "standard",
      "title": "Great post title !",
      "summary": "Wonderful post summary !",
      "cta_link": "www.partoo.co",
      "start_at": "2050-01-01T09:00:00",
      "end_at": "2050-01-01T09:00:00",
      "schedule_time": "2050-01-01T09:00:00",
      "expiration_time": "2050-01-01T09:00:00",
      "validation_time": "2050-01-01T09:00:00Z",
      "post_medias": [
        {
          "media_type": "photo",
          "media_format": "png"
        }
      ],
      "offer_terms": "These are the conditions",
      "offer_code": "PROMO25",
      "created_at": "2019-08-01T19:15:54.256000+02:00",
      "updated_at": "2019-09-01T15:12:35.256000+02:00"
    },
    "post_ids": [
      14398024,
      14398025
    ],
    "business_ids": [
      "69661fcd599c4ab7800db486",
      "6969f6a175a203457b0e6f0c"
    ],
    "diffusers": [
      "google_my_business__posts",
      "facebook__posts"
    ]
  }
}

Response

Return a 200 status to indicate that the event was properly received

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.