Accounts
getContext
accounts.getContext
The plan, features, monthly and scheduled post quotas, latest allowed schedule date and allowed networks of the key’s account. Check it before a batch of posts.
Risk: read
context full type
context full type
getPlatformLimits
accounts.getPlatformLimits
Live per-network limits Publora checks before scheduling (characters, images, videos, documents, GIFs, thumbnails). Use them to validate a post before sending it.
Risk: read
list
accounts.list
List connected social accounts (LinkedIn, X, Instagram, Threads, TikTok, YouTube, Facebook Pages, Bluesky, Mastodon, Telegram) with connection and token status. Their platformId values are the targets for posts.create.
Risk: read
connections full type
connections full type
testConnection
accounts.testConnection
Check that one connected account still works: token status, granted permissions and the last error, if any.
Risk: read
lastError full type
lastError full type
Analytics
postStatistics
analytics.postStatistics
Engagement counters (reactions, comments, reposts, quotes, saves and more) for up to 50 published Mastodon or Bluesky posts. Cached for about 2 hours; needs a plan with analytics.
Risk: read
posts full type
posts full type
stats full type
stats full type
profileStatistics
analytics.profileStatistics
Followers, following and post count of one connected Mastodon or Bluesky account. Cached for about 2 hours; needs a plan with analytics.
Risk: read
profile full type
profile full type
Company
getWorkspaceContext
company.getWorkspaceContext
Context of one Agency Account and Workspace, to refresh its capabilities before a command.
Risk: read
data full type
data full type
listConnections
company.listConnections
Publishing channels of a Workspace. Their channel keys (<platform>-<platformId>) are the platforms of company drafts. A channel with status reconnect_required must be reconnected before scheduling.
Risk: read
data full type
data full type
listContexts
company.listContexts
Agency API start point: the Accounts and Workspaces the key’s owner can act in, with each Workspace’s capabilities. Pass a workspace id to the other company operations.
Risk: read
data full type
data full type
listPlatforms
company.listPlatforms
Publishable networks with the text, media and platformSettings limits of Agency drafts.
Risk: read
data full type
data full type
posts.cancelApproval
company.posts.cancelApproval
Remove the client review from a draft so it can be scheduled without the client’s approval. Use only when the user asks.
Risk: write
data full type
data full type
posts.completeMedia
company.posts.completeMedia
Verify an uploaded Agency media file after the PUT. On 409 AGENCY_CORE_MEDIA_UPLOAD_PENDING retry after Retry-After.
Risk: write
data full type
data full type
posts.createDraft
company.posts.createDraft
Create an Agency draft in a Workspace (text, channels, per-channel text, settings, first comment). It never schedules; use company.posts.schedule.
Risk: write
platformContents full type
platformContents full type
firstComment full type
firstComment full type
repostSourceSnapshot full type
repostSourceSnapshot full type
data full type
data full type
posts.get
company.posts.get
An Agency post group and its channel posts: status, errors, and postedId and permalink once published. includeApproval adds the client review.
Risk: read
data full type
data full type
posts.getApproval
company.posts.getApproval
The client review of an Agency post group: status, comment, private review URL, expiry and decision.
Risk: read
data full type
data full type
posts.listMedia
company.posts.listMedia
Media and the selected YouTube thumbnail of an Agency post group; url is set only for ready files.
Risk: read
data full type
data full type
posts.recover
company.posts.recover
Copy the failed channels of a failed or partly published post group into a new draft, with its media. The source is not changed.
Risk: write
data full type
data full type
posts.removeMedia
company.posts.removeMedia
Detach a file from an Agency draft; storage deletes it after deletionAfter. A requested client review becomes outdated.
Risk: destructive · Irreversible
data full type
data full type
posts.requestApproval
company.posts.requestApproval
Start a client review round for a draft and get a private review URL. Publora does not send the URL; deliver it yourself. Editing the draft afterwards makes the round outdated.
Risk: write
data full type
data full type
posts.reschedule
company.posts.reschedule
Move a scheduled Agency post to another time, before publishing starts.
Risk: destructive
data full type
data full type
posts.reserveMedia
company.posts.reserveMedia
Reserve an upload for an Agency draft (or a YouTube thumbnail). PUT the exact bytes to uploadUrl with every uploadHeaders entry, then call company.posts.completeMedia.
Risk: write
data full type
data full type
posts.retryApprovalNotification
company.posts.retryApprovalNotification
Send the review decision email to the user who requested the review again, when notificationStatus is failed.
Risk: destructive
data full type
data full type
posts.schedule
company.posts.schedule
Schedule an Agency draft for a UTC time; the current time publishes it now. Channels must be usable, media ready and, while a client review is requested, approved.
Risk: destructive
data full type
data full type
posts.unschedule
company.posts.unschedule
Return a scheduled Agency post to draft, before publishing starts. Allowed while billing is required.
Risk: write
data full type
data full type
posts.updateDraft
company.posts.updateDraft
Change an Agency draft. Omitted fields keep their value. Editing makes a requested client review outdated.
Risk: write
platformContents full type
platformContents full type
firstComment full type
firstComment full type
repostSourceSnapshot full type
repostSourceSnapshot full type
data full type
data full type
webhooks.create
company.webhooks.create
Subscribe a URL to a Workspace’s post.published and post.failed events (up to 10). The reply is the only time the signing secret is shown.
Risk: write
data full type
data full type
webhooks.delete
company.webhooks.delete
Delete a Workspace webhook subscription.
Risk: destructive · Irreversible
data full type
data full type
webhooks.list
company.webhooks.list
Webhook subscriptions of a Workspace (post.published, post.failed). Workspace settings managers only.
Risk: read
data full type
data full type
webhooks.regenerateSecret
company.webhooks.regenerateSecret
Issue a new signing secret for a Workspace subscription; the old one stops working at once.
Risk: destructive · Irreversible
data full type
data full type
webhooks.update
company.webhooks.update
Change a Workspace subscription’s name, URL or events, or turn it on or off.
Risk: write
data full type
data full type
accountStatistics
linkedin.accountStatistics
Totals or daily figures across all published LinkedIn posts of one account, optionally for a date range.
Risk: read
dateRange full type
dateRange full type
addReaction
linkedin.addReaction
React to a LinkedIn post as the connected account (LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION or ENTERTAINMENT). The reaction is public.
Risk: write
reaction full type
reaction full type
urnTranslated full type
urnTranslated full type
createComment
linkedin.createComment
Publish a comment, or a reply to a comment, on a LinkedIn post as the connected account. Supports @mentions and an image.
Risk: destructive
comment full type
comment full type
deleteComment
linkedin.deleteComment
Delete a comment from a LinkedIn post.
Risk: destructive · Irreversible
followers
linkedin.followers
LinkedIn follower count (lifetime) or daily follower growth for a date range.
Risk: read
dateRange full type
dateRange full type
data full type
data full type
mentionables
linkedin.mentionables
LinkedIn members you can @mention, collected from comments and reactions on connected company pages, each with a ready mention token. Paid plans only.
Risk: read
people full type
people full type
postStatistics
linkedin.postStatistics
Analytics for one LinkedIn post: impressions, members reached, reactions, comments and reshares. queryTypes “ALL” returns all five. Cached for 2 hours.
Risk: read
profileSummary
linkedin.profileSummary
LinkedIn profile summary: follower total and growth, plus aggregated post impressions, reactions, comments, reshares and reach.
Risk: read
dateRange full type
dateRange full type
profile full type
profile full type
errors full type
errors full type
removeReaction
linkedin.removeReaction
Remove the connected account’s reaction from a LinkedIn post.
Risk: write
reaction full type
reaction full type
urnTranslated full type
urnTranslated full type
reshare
linkedin.reshare
Reshare a LinkedIn post to the connected account’s feed (member or company page), with optional commentary. It is published right away.
Risk: destructive
Media
attach
media.attach
Attach one image or video to a draft or scheduled post by reference (an HTTPS download URL and a stable file id). Publora downloads it right away. A scheduled post goes back to draft and keeps its time.
Risk: write
file full type
file full type
postGroup full type
postGroup full type
complete
media.complete
Check an uploaded file right away instead of when the post is scheduled. Optional.
Risk: write
mediaFile full type
mediaFile full type
createUpload
media.createUpload
Get a pre-signed URL (valid for an hour) to PUT an image, video or PDF to, attached to a draft or scheduled post group. Use this for files that are not at a public URL.
Risk: write
delete
media.delete
Remove an uploaded file from its post group. A scheduled post goes back to draft.
Risk: destructive · Irreversible
uploadInstagramCover
media.uploadInstagramCover
Upload a cover image for an Instagram Reel (stored as JPEG). Set the returned URL as platformSettings.instagram.coverUrl with posts.update.
Risk: write
cover full type
cover full type
cover full type
cover full type
uploadYoutubeThumbnail
media.uploadYoutubeThumbnail
Upload a custom YouTube thumbnail (JPEG or PNG, 2 MB max, at least 640x360) for a draft or scheduled post. Attach the returned mediaId as platformSettings.youtube.thumbnail with posts.update.
Risk: write
thumbnail full type
thumbnail full type
thumbnail full type
thumbnail full type
Posts
create
posts.create
Create one post for one or more connected accounts, with text, media URLs, per-network settings and first comments. Without scheduledTime or publishNow it is saved as a draft; with scheduledTime it is scheduled; publishNow publishes it right away and it cannot be recalled once live. An idempotencyKey makes a retry return the original post.
Risk: destructive
firstComments full type
firstComments full type
warnings full type
warnings full type
delete
posts.delete
Delete a post group with all its network copies and media. Content already published on a network stays live.
Risk: destructive · Irreversible
get
posts.get
Get one post group with its status, publish time, settings, attached media and each network’s delivery state, including the live post id and link once published.
Risk: read
platforms full type
platforms full type
posts full type
posts full type
media full type
media full type
getLogs
posts.getLogs
Publishing log of a post group from the last 90 days, oldest first (up to 100 events): scheduled, processing, attempts, successes, failures and retries per network.
Risk: read
logs full type
logs full type
list
posts.list
List posts, newest first, filtered by status, network and scheduled date. Page with page and limit; pagination.hasNextPage says whether another page exists.
Risk: read
posts full type
posts full type
pagination full type
pagination full type
update
posts.update
Change a draft or scheduled post: text, targets (the list is replaced), publish time, status, settings, first comments or extra media. publishNow publishes it immediately.
Risk: destructive
firstComments full type
firstComments full type
warnings full type
warnings full type
postGroup full type
postGroup full type
Webhooks
create
webhooks.create
Subscribe an HTTPS URL to post.scheduled, post.published, post.failed and post.demoted events (up to 10 per account; needs a paid plan). The reply is the only time the signing secret is shown.
Risk: write
webhook full type
webhook full type
delete
webhooks.delete
Delete a webhook subscription.
Risk: destructive · Irreversible
list
webhooks.list
List webhook subscriptions (signing secrets are not returned).
Risk: read
webhooks full type
webhooks full type
regenerateSecret
webhooks.regenerateSecret
Issue a new signing secret for a webhook subscription. The old secret stops working at once, so deliveries fail verification until the receiver has the new one.
Risk: destructive · Irreversible
update
webhooks.update
Change a subscription’s name, URL or events, or pause and resume it.
Risk: write
webhook full type
webhook full type