Skip to Content
PropertyPixel Docs
API referenceSocial posting

List social accounts

GET
/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.

Authorization

headerAuthorizationBearer <pp_live_…>

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

Response Body

List social accounts

application/json
  1. response
object*string
data*array<>
can_post*boolean

Whether 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*string

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

Formaturi
Example Request
curl -X GET 'https://api.propertypixel.app/v1/social/accounts'
Example Response
{  "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"}