List social accounts
The Instagram, Facebook and TikTok accounts connected to this workspace, which create_social_post can post to. Pass their ids as account_ids.
Accounts can only be connected in the PropertyPixel app (each platform needs its own sign-in). If the account the user wants isn't listed, or its status is needs_reconnect, give the user connect_url.
Before a TikTok post, call get_social_account for each TikTok account: it returns the creator's current privacy options from TikTok, which this list doesn't include.
Works with view-only access.
AuthorizationBearer <pp_live_…>An API key from Settings → Developers (pp_live_…), or an OAuth access token.
List social accounts
application/json- response
object*stringdata*array<>can_post*booleanWhether this connection can post: the user is a workspace owner or editor, the connection has edit access, and the workspace is on a paid plan.
connect_url*stringWhere the user connects, reconnects or removes accounts in the PropertyPixel app. Connecting needs the platform's own sign-in screen, so it can't be done through the API: give the user this link.
uricurl -X GET 'https://api.propertypixel.app/v1/social/accounts'{ "object": "social_account_list", "data": [ { "object": "social_account", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "platform": "instagram", "connection_method": "facebook_login", "username": "string", "display_name": "string", "avatar_url": "string", "status": "active", "status_reason": "string", "connected_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z", "tiktok": { "nickname": "string", "privacy_level_options": [ "string" ], "comment_disabled": true, "duet_disabled": true, "stitch_disabled": true, "max_video_post_duration_sec": 0 } } ], "can_post": true, "connect_url": "http://example.com"}Export a listing video POST
Render the video's current version to MP4 in one or more formats. Free. Needs AI video first: a draft is refused (call generate_listing_video_ai). Default format: portrait_9x16. Rendering starts once every AI clip is ready and takes about a minute. Poll get_listing_video, waiting poll_after_ms, until the file's status is ready; its download_url is a signed MP4 link valid for about an hour. Exporting again replaces a file of an older version that is still rendering. Requires a connection with edit access.
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.