Skip to Content
PropertyPixel Docs
API referenceSocial posting

Get a social post

GET
/social/posts/{id}

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.

Authorization

headerAuthorizationBearer <pp_live_…>

An API key from Settings → Developers (pp_live_…), or an OAuth access token.

Path Parameters

id*string

The post's id, from create_social_post or list_social_posts.

Match^([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)$
Formatuuid

Response Body

Get a social post

application/json
  1. response
object*string
id*string
Match^([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)$
Formatuuid
status*SocialPostStatus

scheduled (waiting for its time; can be cancelled), publishing, published, partially_published (some accounts failed), failed or cancelled.

Value in"scheduled""publishing""published""partially_published""failed""cancelled"
media_kind*string
Value in"video""photos"
caption*string
scheduled_for*|

When it is due to post; null when it was posted straight away.

timezone*string

IANA time zone the post was scheduled in.

sent_at*|null
cancelled_reason*|null
source*string

Where the post was created: web (the PropertyPixel app), api or mcp.

Value in"web""api""mcp"
media*array<>
targets*array<>

One per account. Each publishes, fails or is retried on its own.

created_at*string
Match^(?:(?:\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))$
Formatdate-time
warnings?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.

Example Request
curl -X GET 'https://api.propertypixel.app/v1/social/posts/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "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"  ]}

Create a social post POST

Post photos or a listing video to connected Instagram, Facebook and TikTok accounts now, or schedule it. Free: no credits are spent. Returns the post; when posting now, each account's target starts as publishing, so call get_social_post to see the result and permalinks. Media: photos are finished versions (version_id) or originals (image_id with original: true), 1–10 from one project. A video is a listing video's exported shape (export_listing_video first; otherwise video_not_ready). Before calling: show the user the accounts, the caption and the media, and when it will post, and get their OK. This publishes publicly on their behalf. TikTok: every TikTok account needs overrides[account_id].settings with privacy_level, brand_content_toggle, brand_organic_toggle and music_usage_consent: true. Before calling, call get_social_account for each TikTok account, then show the user the TikTok account (its name) and its privacy options (tiktok.privacy_level_options) and ask which one they want; never pick a privacy level for them. Ask whether the post is commercial content: promoting their own business (brand_organic_toggle) or a paid partnership (brand_content_toggle), and tell them TikTok will label it. Tell them that by posting they agree to TikTok's Music Usage Confirmation. Call only after they confirm all of this. Retries: creating a post can take up to a minute. Always send a fresh request_id (a UUID) with each new post. If the call times out or fails without saying the post was refused, call again with exactly the same arguments and the same request_id: it returns the post already created rather than posting twice. Never retry without it. Limits: 50 posts per account per day. Errors name the account and field (validation_failed with errors[]). Requires a connection with edit access.

Cancel a social post 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.