v1
latestOpenAPI 3.1.02026-07-17747116.5 KBWebhooks
Draft Published
Triggered when a draft is successfully published to one or more platforms.
postWebhookdraft.published
Payload
Example payload
{
"data": {
"id": 12345,
"social_set_id": 67890,
"draft_id": 12345,
"status": "draft",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-16T09:15:00Z",
"scheduled_date": "2025-01-20T14:00:00Z",
"published_at": "2025-01-20T14:00:05Z",
"draft_title": "Weekly Newsletter",
"tags": [
"marketing",
"product"
],
"preview": "Excited to announce our new feature! 🚀",
"share_url": "https://app.postey.ai/share/abc123",
"private_url": "https://app.postey.ai/?d=12345&a=67890",
"platforms": {
"x": {
"posts": [
{
"text": "Hello world! This is my first post.",
"media_ids": [
"550e8400-e29b-41d4-a716-446655440000"
]
}
],
"settings": {
"reply_to_url": "https://x.com/therajatkapoor/status/1399394576951959554"
}
},
"linkedin": {
"posts": [
{
"text": "Hello world! This is my first post.",
"media_ids": [
"550e8400-e29b-41d4-a716-446655440000"
]
}
]
},
"mastodon": {
"posts": [
{
"text": "Hello world! This is my first post.",
"media_ids": [
"550e8400-e29b-41d4-a716-446655440000"
]
}
]
},
"threads": {
"posts": [
{
"text": "Hello world! This is my first post.",
"media_ids": [
"550e8400-e29b-41d4-a716-446655440000"
]
}
]
},
"bluesky": {
"posts": [
{
"text": "Hello world! This is my first post.",
"media_ids": [
"550e8400-e29b-41d4-a716-446655440000"
]
}
]
}
},
"x_published_url": "https://x.com/username/status/1234567890",
"linkedin_published_url": "https://www.linkedin.com/feed/update/urn:li:share:1234567890",
"x_post_published_at": "2025-01-20T14:00:05Z",
"linkedin_post_published_at": "2025-01-20T14:00:08Z",
"mastodon_post_published_at": "2025-01-20T14:00:10Z",
"threads_post_published_at": "2025-01-20T14:00:12Z",
"bluesky_post_published_at": "2025-01-20T14:00:15Z",
"scratchpad_text": "line 1\nline 2\n\nline 4"
}
}Response
Return any 2xx status to acknowledge receipt