Accounts
Manage and retrieve social media accounts connected to your Publer workspaces. Use these accounts as targets when scheduling or publishing content.
Requirements
Authentication: Bearer API token
Scope:
accountsHeaders:
Authorization: Bearer-API YOUR_API_KEYPubler-Workspace-Id: YOUR_WORKSPACE_ID
Endpoint
List Accounts
Retrieve all social media accounts in a workspace.
GET /api/v1/accountsRetrieves a list of all social media accounts available in the specified workspace.
Retrieves a list of social media accounts available in the specified workspace.
API key authentication. Format: "Bearer-API YOUR_API_KEY"
ID of the workspace to retrieve accounts from
Successful operation
Unique identifier for the account
63c675b54e299e9cf2b667eaThe social network provider
blueskyPossible values: The display name of the social media account
Tech News DailyUnique identifier for the account on the social media platform
at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.post/3kje3rifpm22nURL to the account's avatar/logo
https://publer-dev.s3.amazonaws.com/uploads/avatars/bluesky_profile.jpgAccount type. Values per provider:
facebook:fb_page(Page, including location Pages),fb_group(Group),fb_profile(Profile)instagram:ig_business(connected via Facebook Login or Instagram Login)twitter:twitterlinkedin:in_page(Page),in_profile(Profile)pinterest:pin_business(Business),pin_personal(Personal)youtube:youtube(Channel)tiktok:tiktokgoogle:google(Business Profile location)wordpress_oauth:wordpress_oauth(WordPress.com site)wordpress_basic:wordpress_basic(self-hosted WordPress site)telegram:channel,group,supergroupmastodon:mastodonthreads:threadsbluesky:bluesky
blueskyPossible values: Unauthorized
Permission denied or missing required scope
GET /api/v1/accounts HTTP/1.1
Host: app.publer.com
Authorization: YOUR_API_KEY
Publer-Workspace-Id: text
Accept: */*
[
{
"id": "63c675b54e299e9cf2b667ea",
"provider": "bluesky",
"name": "Tech News Daily",
"social_id": "at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.post/3kje3rifpm22n",
"picture": "https://publer-dev.s3.amazonaws.com/uploads/avatars/bluesky_profile.jpg",
"type": "bluesky"
}
]The list of accounts returned will include all social media accounts that you have connected to your Publer workspaces and have permission to access. These accounts can be used to schedule and publish content via the Posts API.
The accounts data provides important information about the social media profiles available for posting, including their configuration settings and current synchronization status.
Supported Providers
Publer supports these network providers and account types:
Provider
Description
Account Types
facebook
fb_page, fb_group, fb_profile
instagram
ig_business
twitter
Twitter/X
linkedin
in_page, in_profile
pinterest
pin_business, pin_personal
youtube
YouTube
youtube
tiktok
TikTok
tiktok
google
Google Business
wordpress
WordPress
wordpress_oauth, wordpress_basic
telegram
Telegram
channel, group, supergroup
mastodon
Mastodon
mastodon
threads
Threads
threads
bluesky
Bluesky
bluesky
Get Account
Retrieves a single connected social account.
Retrieves a single connected social account.
API key authentication. Format: "Bearer-API YOUR_API_KEY"
ID of the account
ID of the workspace containing the resource
Successful operation
Unique identifier for the account
63c675b54e299e9cf2b667eaThe social network provider
blueskyPossible values: The display name of the social media account
Tech News DailyUnique identifier for the account on the social media platform
at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.post/3kje3rifpm22nURL to the account's avatar/logo
https://publer-dev.s3.amazonaws.com/uploads/avatars/bluesky_profile.jpgAccount type. Values per provider:
facebook:fb_page(Page, including location Pages),fb_group(Group),fb_profile(Profile)instagram:ig_business(connected via Facebook Login or Instagram Login)twitter:twitterlinkedin:in_page(Page),in_profile(Profile)pinterest:pin_business(Business),pin_personal(Personal)youtube:youtube(Channel)tiktok:tiktokgoogle:google(Business Profile location)wordpress_oauth:wordpress_oauth(WordPress.com site)wordpress_basic:wordpress_basic(self-hosted WordPress site)telegram:channel,group,supergroupmastodon:mastodonthreads:threadsbluesky:bluesky
blueskyPossible values: Unauthorized
Permission denied or missing required scope
GET /api/v1/accounts/{id} HTTP/1.1
Host: app.publer.com
Authorization: YOUR_API_KEY
Publer-Workspace-Id: text
Accept: */*
{
"id": "63c675b54e299e9cf2b667ea",
"provider": "bluesky",
"name": "Tech News Daily",
"social_id": "at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.post/3kje3rifpm22n",
"picture": "https://publer-dev.s3.amazonaws.com/uploads/avatars/bluesky_profile.jpg",
"type": "bluesky"
}Returns the same account shape as GET /api/v1/accounts, including provider, name, social_id, picture, type and the account's default settings.
Related Resources
Workspaces API - Manage organizational units
Posts API - Create and publish content to accounts
Media API - Upload media files for posting
Last updated
Was this helpful?

