Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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: accounts

  • Headers:

    • Authorization: Bearer-API YOUR_API_KEY

    • Publer-Workspace-Id: YOUR_WORKSPACE_ID

Endpoint

List Accounts

Retrieve all social media accounts in a workspace.

GET /api/v1/accounts

Retrieves a list of all social media accounts available in the specified workspace.

List Accounts

get

Retrieves a list of social media accounts available in the specified workspace.

Authorizations
AuthorizationstringRequired

API key authentication. Format: "Bearer-API YOUR_API_KEY"

Header parameters
Publer-Workspace-IdstringRequired

ID of the workspace to retrieve accounts from

Responses
200

Successful operation

application/json
idstringOptional

Unique identifier for the account

Example: 63c675b54e299e9cf2b667ea
providerstring · enumOptional

The social network provider

Example: blueskyPossible values:
namestringOptional

The display name of the social media account

Example: Tech News Daily
social_idstringOptional

Unique identifier for the account on the social media platform

Example: at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.post/3kje3rifpm22n
picturestringOptional

URL to the account's avatar/logo

Example: https://publer-dev.s3.amazonaws.com/uploads/avatars/bluesky_profile.jpg
typestring · enumOptional

Account 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: twitter
  • linkedin: in_page (Page), in_profile (Profile)
  • pinterest: pin_business (Business), pin_personal (Personal)
  • youtube: youtube (Channel)
  • tiktok: tiktok
  • google: google (Business Profile location)
  • wordpress_oauth: wordpress_oauth (WordPress.com site)
  • wordpress_basic: wordpress_basic (self-hosted WordPress site)
  • telegram: channel, group, supergroup
  • mastodon: mastodon
  • threads: threads
  • bluesky: bluesky
Example: blueskyPossible values:
get/accounts
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

Facebook

fb_page, fb_group, fb_profile

instagram

Instagram

ig_business

twitter

Twitter/X

twitter

linkedin

LinkedIn

in_page, in_profile

pinterest

Pinterest

pin_business, pin_personal

youtube

YouTube

youtube

tiktok

TikTok

tiktok

google

Google Business

google

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.

Get Account

get

Retrieves a single connected social account.

Authorizations
AuthorizationstringRequired

API key authentication. Format: "Bearer-API YOUR_API_KEY"

Path parameters
idstringRequired

ID of the account

Header parameters
Publer-Workspace-IdstringRequired

ID of the workspace containing the resource

Responses
200

Successful operation

application/json
idstringOptional

Unique identifier for the account

Example: 63c675b54e299e9cf2b667ea
providerstring · enumOptional

The social network provider

Example: blueskyPossible values:
namestringOptional

The display name of the social media account

Example: Tech News Daily
social_idstringOptional

Unique identifier for the account on the social media platform

Example: at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.post/3kje3rifpm22n
picturestringOptional

URL to the account's avatar/logo

Example: https://publer-dev.s3.amazonaws.com/uploads/avatars/bluesky_profile.jpg
typestring · enumOptional

Account 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: twitter
  • linkedin: in_page (Page), in_profile (Profile)
  • pinterest: pin_business (Business), pin_personal (Personal)
  • youtube: youtube (Channel)
  • tiktok: tiktok
  • google: google (Business Profile location)
  • wordpress_oauth: wordpress_oauth (WordPress.com site)
  • wordpress_basic: wordpress_basic (self-hosted WordPress site)
  • telegram: channel, group, supergroup
  • mastodon: mastodon
  • threads: threads
  • bluesky: bluesky
Example: blueskyPossible values:
get/accounts/{id}
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.

Last updated

Was this helpful?