List connected social accounts
Retrieve all social accounts connected to your organization.
Retrieve all social accounts connected to your organization. This endpoint returns all social media profiles that have been connected and authorized through OAuth flows.
Use Cases:
- View all connected social media accounts for your organization
- Check which platforms have accounts connected
- Verify account status and metadata
- Get account information for use in post creation endpoints
- Filter accounts by tenant ID, network, username, or unique platform ID
Filtering:
id- Filter by encoded social account ID (exact match)tenantId- Filter by tenant ID for multi-tenant applications (exact match)network- Filter by social network platform, e.g.x,linkedin,instagram(exact match)networkUniqueId- Filter by the account's unique ID on the platform (exact match)username- Filter by username or handle (case-insensitive partial match)- All filters can be combined for precise queries
Pagination:
- Use
limitandoffsetquery parameters to paginate results - Default limit is 50, maximum is 100
totalis the number of accounts matching your filters across all pages;countis the number returned in this page- Results are always ordered by connection order (oldest connected first), so paging through every offset returns each account exactly once. Accounts connected while you are paginating are appended after the last page rather than shifting the pages you already fetched
Tokens: By default, OAuth tokens are never exposed. Pass includeTokens=true to include the account's access_token nested under a tokens object in each result. Only access_token is returned - refresh tokens and other sensitive fields remain hidden.
Permissions: Requires accounts:read. Access is limited by the API key creator's current organization membership and stored key ceiling. See Organization permissions. includeTokens=true additionally requires sensitive accounts:read_tokens; normal responses omit provider credentials.
id?stringFilter by social account ID (exact match, encoded ID as returned by the API)
tenantId?stringFilter by tenant ID (exact match)
network?stringFilter by social network platform (exact match, e.g. 'x', 'linkedin', 'instagram', 'threads', 'bluesky', 'facebook', 'tiktok', 'tiktok-business', 'youtube', 'pinterest', 'vimeo', 'reddit')
networkUniqueId?stringFilter by the account's unique identifier on the social network platform (exact match)
username?stringFilter by username or handle (case-insensitive partial match)
limit?numberMaximum number of results to return (1-100)
1 <= value <= 10050offset?numberNumber of results to skip for pagination
0 <= value0includeTokens?stringWhen true, include the account's access_token (from network_data) under a tokens object in each result. Defaults to false; tokens are never returned otherwise.
"true""false"List of social accounts retrieved successfully
application/json- response
Successful list operation response
success*booleandata*array<>count*numberNumber of social accounts returned in this page
total*numberTotal number of social accounts matching the filters, across all pages
limit*numberMaximum number of results per page
offset*numberNumber of results to skip
curl -X GET 'https://api.outstand.so/v1/social-accounts'{ "success": true, "data": [ { "id": "string", "orgId": "string", "tenant_id": "string", "nickname": "string", "network": "string", "username": "string", "profile_picture_url": "string", "network_unique_id": "string", "network_webhook_reference_id": "string", "customer_social_network_id": 0, "accountType": "string", "isActive": 0, "createdAt": "2019-08-24T14:15:22Z", "tokens": { "access_token": "string" } } ], "count": 0, "total": 0, "limit": 0, "offset": 0}