Skip to Content
PropertyPixel Docs
API referenceSocial posting

Create a social post

POST
/social/posts

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.

Authorization

headerAuthorizationBearer <pp_live_…>

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

Header Parameters

Idempotency-Key?string

A 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.

Lengthlength <= 255

Request Body

application/json
  1. body
account_ids*array<>

Accounts to post to, from list_social_accounts.

Items1 <= items <= 50
media*

What to post: photos or one video, never both.

caption?string

Shared caption. Limits: Instagram 2,200 characters, 30 hashtags and 20 mentions; TikTok 2,200 for video and 4,000 for photos; Facebook 63,206.

Lengthlength <= 70000
Default""
overrides?

Per account (keyed by account id): its own caption, post type or settings. Every TikTok account needs settings here.

schedule_at?string

When to post, ISO 8601 with a UTC offset (e.g. 2026-11-21T18:30:00-08:00), at least 5 minutes and at most 90 days ahead. Omit to post now.

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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
Formatdate-time
timezone?string

IANA time zone the user scheduled in (e.g. America/Los_Angeles), shown with the post in the app. Required with schedule_at; defaults to UTC when posting now.

Length1 <= length <= 100
request_id?string

Makes retries safe. Send a new unique value (a UUID) for each new post, and the same value again when retrying that post after a timeout or an unclear failure: for 24 hours, a repeat on the same connection returns the post already created instead of posting twice.

Length1 <= length <= 200

Response Body

Create 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 POST 'https://api.propertypixel.app/v1/social/posts' \  -H 'Content-Type: application/json' \  -d '{  "account_ids": [    "d714e4ab-c3f3-418f-a340-7a939bc488b2"  ],  "media": {}}'
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"  ]}