What does a social media API do?
A social media API lets software request actions or read data from social accounts. Postdom focuses on publishing supplied short-form videos, scheduling them and reading their outcomes across TikTok, Instagram Reels, YouTube Shorts, LinkedIn, Facebook Reels, X, Snapchat Spotlight, Threads and Bluesky. It is not a video generator or a complete replacement for every native platform feature.
Should I use the SDK or MCP?
Use the Node or Python SDK when your backend controls the workflow. Use MCP when an authorized AI client calls Postdom tools. Both need workspace access and connected accounts; neither gives the caller human approval authority. Match examples to the package version you install.
Will the SDK example make my video public?
Not by default. The Node publishVideo helper and MCP publish_video tool use TikTok SELF_ONLY and YouTube private settings, and mark the supplied content as AI-generated on TikTok, Instagram Reels and YouTube Shorts. Instagram uses a Reel with AI disclosure rather than a private-visibility setting. LinkedIn is sent no settings at all, so no disclosure is set for it. Facebook Reels receives only the fixed Reel format, and X, Snapchat Spotlight and Threads receive nothing; none of the four carries an AI-disclosure field, Snapchat requires a Public Profile on the account, Threads takes its audience from whether the profile is public or private, and every Bluesky post is public because the post record carries no visibility field. Confirm that those defaults match the reviewed content and intended audience before calling them.
How should I handle a successful submission?
Save the returned id and read the post. Submission is not publication: the post may need review, be scheduled or still be publishing. Show per-destination publishes and errors. A partial outcome must not become a blanket success message.
Can I safely retry a publish?
Keep one idempotency key for the same logical write, including retries of that unchanged request. Save a returned post ID and read it before deciding to submit again. A timeout does not prove nothing happened, and idempotency is not an exactly-once delivery promise.
Can a workspace key approve posts or connect accounts without a person?
No. Account OAuth consent, approvals, billing and dashboard administration remain human-controlled. A read/write key does not grant those permissions. Keep keys on your backend, use the account IDs returned for that workspace, and return the human handoff when required.
Are all analytics fields available?
No. Read each measurement with its availability record and capture time. Null means missing, not zero; an available field still needs a usable snapshot. Follow the destination coverage reference before offering a metric in your own reporting UI.