Cancel a social post
Cancel a scheduled post so it never publishes to any of its accounts. Only posts with status scheduled can be cancelled; once it has started sending this returns conflict. Workspace owners can cancel any post, editors only their own. Confirm with the user first.
Requires a connection with edit access.
AuthorizationBearer <pp_live_…>An API key from Settings → Developers (pp_live_…), or an OAuth access token.
id*stringThe post's id, from create_social_post or list_social_posts.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidIdempotency-Key?stringA unique key (for example a UUID) that makes retries safe. A retry with the same key and body returns the stored response; the same key with a different body returns 422. Keys last 24 hours.
length <= 255Cancel a social post
application/json- response
object*stringid*string^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidstatus*SocialPostStatusscheduled (waiting for its time; can be cancelled), publishing, published, partially_published (some accounts failed), failed or cancelled.
"scheduled""publishing""published""partially_published""failed""cancelled"media_kind*string"video""photos"caption*stringscheduled_for*|When it is due to post; null when it was posted straight away.
timezone*stringIANA time zone the post was scheduled in.
sent_at*|nullcancelled_reason*|nullsource*stringWhere the post was created: web (the PropertyPixel app), api or mcp.
"web""api""mcp"media*array<>targets*array<>One per account. Each publishes, fails or is retried on its own.
created_at*string^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timewarnings?array<string>Only on create_social_post's result: things the user should know that didn't stop the post, e.g. a TikTok account whose settings couldn't be checked now and will be checked when the post is sent. Show them to the user.
curl -X POST 'https://api.propertypixel.app/v1/social/posts/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel'{ "object": "social_post", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "scheduled", "media_kind": "video", "caption": "string", "scheduled_for": "2019-08-24T14:15:22Z", "timezone": "string", "sent_at": "2019-08-24T14:15:22Z", "cancelled_reason": "user", "source": "web", "media": [ { "position": 0, "source": { "kind": "version", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "width": 0, "height": 0, "duration_ms": 0, "fit": "fit", "thumbnail_url": "string" } ], "targets": [ { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "platform": "instagram", "username": "string", "post_type": "feed", "caption": "string", "settings": { "property1": null, "property2": null }, "status": "pending", "permalink": "string", "error": { "code": "string", "message": "string", "retryable": true }, "published_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "warnings": [ "string" ]}Get a social post GET
One social post: its status, media, and each account's status, permalink once published, and error if it failed. After create_social_post posts now, poll this every 10–20 seconds until no account is publishing (video can take a few minutes). Works with view-only access.
Create a quote POST
Price a spending request without running it. Pass the returned id as quote_id to the operation within 10 minutes. Requires a connection with edit access.