Skip to Content
PropertyPixel Docs
API referenceSocial posting

List social posts

GET
/social/posts

The workspace's social posts, newest first, with each account's status, permalink and any error. Filter by status (e.g. scheduled to find posts that can still be cancelled). Page with next_cursor.

Works with view-only access.

Authorization

headerAuthorizationBearer <pp_live_…>

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

Query Parameters

status?array<>

Only posts in these statuses (comma-separated in a query string), e.g. scheduled or failed.

Items1 <= items <= 6
cursor?string

Opaque cursor from a previous page's next_cursor.

limit?integer

Page size (1–100).

Range1 <= value <= 100
Default25

Response Body

List social posts

application/json
  1. response
data*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://api.propertypixel.app/v1/social/posts'
Example Response
{  "data": [    {      "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"      ]    }  ],  "next_cursor": "string"}

Get a social account GET

One connected account. For a TikTok account it also asks TikTok, live, for the creator's current posting options (tiktok): privacy_level_options and which interactions they have turned off. Call it for each TikTok account before a TikTok post, and show the user its privacy options so they can choose; never choose for them. tiktok is null when TikTok didn't answer within a few seconds, the account needs reconnecting, or this connection can't post; create_social_post checks the options again either way. Instagram and Facebook accounts have no tiktok field. Works with view-only access.

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.