Skip to Content
PropertyPixel Docs

Social posting

Post photos and listing videos to Instagram, Facebook and TikTok, now or scheduled.

Post a listing's finished photos, or one of its listing videos, to the Instagram, Facebook and TikTok accounts connected to the workspace. A post can go out now or be scheduled up to 90 days ahead, and the same post can go to several accounts at once.

  • Plans: any paid plan (Starter, Pro or Studio). Posting spends no credits, so there is no quote step.
  • Who can post: workspace owners and editors, through a connection with edit access. Reviewers and view-only connections can list accounts and posts; posting or cancelling gets 403 forbidden_scope (a reviewer's connection is always view-only).
  • Same engine as the app: the API and MCP tools run the same checks as the Share button in the Studio, and post exactly the file a download would give.
ToolRESTAccessHints
list_social_accountsGET /social/accountsreadread-only
get_social_accountGET /social/accounts/{id}readopen-world
create_social_postPOST /social/postswriteopen-world
list_social_postsGET /social/postsreadread-only
get_social_postGET /social/posts/{id}readread-only
cancel_social_postPOST /social/posts/{id}/cancelwritedestructive

Accounts

Accounts are connected in the PropertyPixel app, not through the API: each platform needs its own sign-in screen. list_social_accounts (GET /v1/social/accounts) returns the workspace's accounts and a connect_url to give the user when the account they want is missing or needs reconnecting.

{
  "object": "social_account_list",
  "data": [
    {
      "object": "social_account",
      "id": "3f1c…",
      "platform": "tiktok",
      "connection_method": "tiktok_login",
      "username": "harbourhomes",
      "display_name": "Harbour Homes",
      "avatar_url": "https://…",
      "status": "active",
      "status_reason": null,
      "connected_at": "2026-11-20T09:12:00.000Z",
      "last_used_at": null
    }
  ],
  "can_post": true,
  "connect_url": "https://propertypixel.app/social?tab=accounts"
}
  • status is active or needs_reconnect. An account that needs reconnecting can't post now; a scheduled post to it still queues, and fails at send time if it hasn't been reconnected.
  • can_post is false when the user is a reviewer, the connection is view-only, or the workspace isn't on a paid plan.
  • The list is read from PropertyPixel only. A TikTok account's posting options come from get_social_account.

TikTok posting options

Before a TikTok post, get_social_account (GET /v1/social/accounts/{id}) returns the account with the creator's current options, asked live from TikTok:

{
  "object": "social_account",
  "id": "3f1c…",
  "platform": "tiktok",
  "status": "active",
  "…": "…",
  "tiktok": {
    "nickname": "Harbour Homes",
    "privacy_level_options": ["PUBLIC_TO_EVERYONE", "MUTUAL_FOLLOW_FRIENDS", "SELF_ONLY"],
    "comment_disabled": false,
    "duet_disabled": false,
    "stitch_disabled": true,
    "max_video_post_duration_sec": 600
  }
}
  • tiktok is null when TikTok doesn't answer within about 8 seconds, when the account needs reconnecting (its status then says so), or when the connection can't post (view-only or a reviewer). create_social_post checks the options again either way.
  • Answers are cached for about a minute per account.
  • Instagram and Facebook accounts have no tiktok field.

Creating a post

create_social_post (POST /v1/social/posts) takes the accounts, the media and a caption:

{
  "account_ids": ["9b2e…", "3f1c…"],
  "media": {
    "photos": [{ "version_id": "c71d…" }, { "image_id": "5a0e…", "original": true, "fit": "crop" }]
  },
  "caption": "Just listed: 14 Harbour Street. Open house Saturday 11–1.",
  "overrides": {
    "3f1c…": {
      "caption": "Just listed 🏡 #realestate",
      "settings": {
        "privacy_level": "PUBLIC_TO_EVERYONE",
        "brand_content_toggle": false,
        "brand_organic_toggle": true,
        "music_usage_consent": true
      }
    }
  }
}

Media is photos or one video, never both:

  • photos: 1–10 photos from one project, in order. { "version_id": "…" } posts a finished edit (the job id from get_job_status, show_results or get_download_link). { "image_id": "…", "original": true } posts the photo as uploaded (its id from get_project).
  • video: { "listing_video_id": "…", "format": "portrait_9x16" } posts that listing video's exported file in that shape (portrait_9x16, landscape_16x9 or square_1x1). The shape must be exported first with export_listing_video; otherwise the request fails with video_not_ready.

Fit or crop. Instagram feed photos must be between 4:5 and 1.91:1. Each photo takes fit: "fit" (default) adds a blurred extension to reach the nearest allowed shape and never removes pixels; "crop" cuts to that shape from the centre. Instagram shows every photo of a carousel in the first photo's shape, so in a post of two or more photos the ones after the first are fitted or cropped to the first photo's shape. Custom crop frames are only available in the app.

Captions and overrides. caption goes to every account. overrides is keyed by account id and can give one account its own caption ("" for none), post_type and settings. Caption limits: Instagram 2,200 characters, 30 hashtags and 20 mentions; TikTok 2,200 for video and 4,000 for photos; Facebook 63,206.

Post types. Each platform's post type is picked for you: Instagram posts one photo as a feed post, 2–10 as a carousel and video as a Reel; TikTok posts photos or a video; Facebook posts photos, and video as a video post. The only choice is Facebook video, which can be a Reel: "post_type": "reel".

Result. The response is the post (201). Posting now, each account's target starts as publishing; poll get_social_post until none is, then read each target's permalink. Each account succeeds or fails on its own, so a post ends published, partially_published or failed. Temporary platform failures are retried automatically for about 30 minutes.

Creating a post can take up to a minute (media is copied, and TikTok is asked about the account). To retry safely after a timeout, send request_id, a new unique value (such as a UUID) for each new post, and send the same request_id with the same body when you retry: for 24 hours, a repeat on the same connection returns the post already created, as it is now, instead of posting again. The same request_id with a different body returns 422 idempotency_conflict; a repeat while the first request is still running returns 409 idempotency_in_progress. A request that was refused (for example validation_failed) created nothing, so its request_id can be sent again with a corrected body. MCP clients can't send headers, so request_id is how the create_social_post tool retries safely. Over REST, POST /v1/social/posts also accepts the standard Idempotency-Key header.

Scheduling

Send schedule_at (ISO 8601 with a UTC offset) and timezone (the IANA zone the user scheduled in) to schedule a post instead of posting now:

{
  "schedule_at": "2026-11-21T18:30:00-08:00",
  "timezone": "America/Los_Angeles"
}
  • The time must be at least 5 minutes and at most 90 days ahead. Posts go out within about a minute of it.
  • timezone is required with schedule_at. When posting now it is optional and defaults to UTC.
  • The media is copied when the post is created, so later edits or deletions don't change what posts.
  • cancel_social_post (POST /v1/social/posts/{id}/cancel) cancels a post while its status is scheduled; once it has started sending, it returns 409 conflict. Owners can cancel any post, editors only their own.
  • list_social_posts (GET /v1/social/posts?status=scheduled) finds them. It pages with cursor and takes a comma-separated status filter.

TikTok settings

TikTok posts publish directly to the account, so TikTok requires the person posting to choose a few settings themselves. Every TikTok account in a post needs these in overrides[account_id].settings:

SettingRequiredValue
privacy_levelYesWho can see it: one of the account's tiktok.privacy_level_options from get_social_account (PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY). No default.
brand_organic_toggleYestrue if the post promotes the user's own business. TikTok labels it "Promotional content".
brand_content_toggleYestrue if it is a paid partnership. TikTok labels it "Paid partnership". Can't be combined with SELF_ONLY.
music_usage_consentYesMust be true: the user agrees to TikTok's Music Usage Confirmation.
allow_commentNoAllow comments. Default false.
allow_duetNoAllow Duet (video only). Default false.
allow_stitchNoAllow Stitch (video only). Default false.

When the post is created, PropertyPixel asks TikTok for the creator's current options and refuses a privacy level they don't offer (at settings.privacy_level), an interaction they've turned off (at settings.allow_comment, settings.allow_duet or settings.allow_stitch), a video longer than they can post (at media.video), or an account at TikTok's own daily limit. It checks again when the post is sent. If TikTok can't be reached while scheduling a post, the post is still scheduled and these checks run when it is sent.

If you build on these tools, show the user the TikTok account, let them choose the privacy level and say whether the post is commercial content, and tell them about the Music Usage Confirmation before you post. Never choose a privacy level for them. The MCP tool tells assistants to do this.

Limits

  • 50 posts per account per day. A post now to an account that has reached it is refused (validation_failed, code daily_limit_reached); a scheduled post that would exceed it fails for that account with "Daily limit reached. Schedule for tomorrow."
  • 1–10 photos or one video per post, from one project.
  • The usual rate limits apply per connection.

Errors

Errors use the standard problem details. A rejected post is 400 validation_failed with every problem in errors, each naming the field (path), the account (account_id) and a stable code:

{
  "type": "https://docs.propertypixel.app/errors#validation_failed",
  "title": "Validation failed",
  "status": 400,
  "code": "validation_failed",
  "detail": "TikTok @harbourhomes, overrides.3f1c….settings.privacy_level: Required: who can see the post. … (and 1 more problem; see errors)",
  "errors": [
    {
      "path": "overrides.3f1c….settings.privacy_level",
      "message": "Required: who can see the post. Ask the user to choose one of the account's tiktok.privacy_level_options (from list_social_accounts); never choose for them.",
      "code": "settings_invalid",
      "account_id": "3f1c…",
      "platform": "tiktok",
      "account": "TikTok @harbourhomes"
    },
    {
      "path": "caption",
      "message": "Instagram allows at most 30 hashtags.",
      "code": "too_many_hashtags",
      "account_id": "9b2e…",
      "platform": "instagram",
      "account": "Instagram @harbourhomes"
    }
  ]
}
CodeStatusWhen
validation_failed400The post breaks a rule: accounts, media count, captions, post type, TikTok settings, schedule window or the daily limit. See errors.
upgrade_required403The workspace isn't on a paid plan.
forbidden403An editor cancelling someone else's post.
forbidden_scope403The connection is view-only, or the user is a reviewer (a reviewer's connection is always view-only).
not_found404The post, photo, version or listing video isn't in this workspace.
video_not_ready409The listing video isn't exported in that shape. Run export_listing_video with that format, wait for it, then retry.
conflict409Cancelling a post that has already started sending, or posting a photo whose edit hasn't finished.
idempotency_in_progress409A post with this request_id is still being created. Retry shortly with the same request_id.
idempotency_conflict422This request_id was already used for a different post in the last 24 hours.

Common errors[].code values: account_not_found, account_disconnected, account_needs_reconnect, media_count, post_type_not_allowed, caption_too_long, too_many_hashtags, too_many_mentions, settings_invalid, privacy_level_not_allowed, comments_disabled, duet_disabled, stitch_disabled, video_too_long, schedule_too_soon, schedule_too_far, timezone_invalid, timezone_required and daily_limit_reached.