- A PublishBuddy account at app.publishbuddy.com
- At least one social profile connected to that account (Instagram, X, Facebook, etc.)
curlor any HTTP client of your choice
1. Get an API token
If you don’t have one yet, follow the Authentication walkthrough:1
Open the dashboard
Sign in at app.publishbuddy.com.
2
Go to User Settings → Login & Security
Click your avatar → User Settings, then open the Login & Security tab.
3
Generate an API token
Click Generate API token, tick the abilities you need (for this quickstart, enable
workspaces, profiles, media_contents, and posts), and copy the value somewhere safe.2. List your workspaces
Every resource in PublishBuddy is scoped to a workspace, so the first call always tells you which workspaces your token can see.id of the workspace you want to work with:
3. List the workspace’s social profiles
A profile represents one connected social account inside the workspace (e.g. your Instagram business account, or your brand’s X profile).4. Upload a piece of media
Posts can contain text, links, and media. To attach an image or video, upload it to the media library first. Uploads go directly to storage in three steps: presign, upload, confirm. First, ask the API for a pre-signed upload URL:id and an upload_url:
5. Publish a post
Combine everything: the profile to publish to, the text, and the media.waiting, publishing, published, etc.):
6. Check the post’s status
status becomes published, the url field will contain the live post’s URL on the social network.
Next steps
Core concepts
Understand workspaces, profiles, posts, and the publish lifecycle.
Schedule posts
Three ways to control when a post goes live.
Analyze performance
Read profile, workspace, and best-time analytics.
Full API reference
Every endpoint, parameter, and response shape.