Accounts

List connected social media accounts

Returns all social media accounts the authenticated user has connected. Use these account IDs when creating posts and flows.

get/connected-accounts

Request

  • Base URL: https://www.sociahive.com/api/v1
  • URL: https://www.sociahive.com/api/v1/connected-accounts
  • Auth: one of:
    • API key in header X-API-Key
    • OAuth 2 (authorization code, authorization URL /api/oauth/authorize, token URL /api/oauth/token, scopes: accounts:read)

Query parameters

platform'instagram' | 'messenger' | 'whatsapp' | 'linkedin' | 'twitter' | 'tiktok' | 'telegram' | 'threads' | 'youtube' | 'bluesky' | 'pinterest' | 'facebook'

Connected-account platform identifier

Response

Connected accounts

selected_account_idstring nullable

The account to open on when this client has no choice of its own: the one the user last picked on any device, else the oldest connected account. Null when there is none.

Example response

{
  "data": [
    {
      "id": "507f1f77bcf86cd799439011"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.