Schemas
Pagination
totalTotal number of items
limitItems per page
offsetNumber of items skipped
has_moreWhether there are more items
Post
idPost ID
statusin_approval = waiting for a reviewer in an approval workflow; PATCH /posts/{id} can still move its schedule_at without changing this status. rejected = an approver declined the post via POST /posts/{id}/reject; it will not be published. posting = a publish is in flight. warning = some platforms published and some failed (see errors for the failures, published_urls for the successes); retry the failures with POST /posts/{id}/retry. failed = every platform failed. NOTE: a failed post whose dashboard 'retry as new post' succeeded flips to published even though it has no published_urls of its own. Check retries for the post that actually carries the live URLs.
typePost type. 'reel' media must be a video (MP4/MOV): an image is rejected with 400 validation_error at schedule/publish; use 'post' to share an image. A 'story' carries 1 to 10 media items; every item is one slide and publishes as its own story, in order.
Stories only, after publishing. Per-platform list of the published slides in publish order. published_urls keeps the first slide's URL per platform; this field has every slide.
contentPost content per platform
The channels the post targets, as a map of platform key to true or false. Every platform key is present; the channels the post publishes to are true. Requests send accounts as an array of account IDs instead (POST /posts/create, PATCH /posts/{id}).
Per-platform media object. Keys: default, instagram, facebook, etc. Each value is an array of {url, id, channel, alt?}.
location_idInstagram location tag (Facebook Place/Page ID), echoed back from the create/update request. Omitted when not set.
collaboratorsInstagram co-author usernames (the 'Collab' feature), echoed back from the create/update request. Omitted when none set.
Instagram photo user tags, echoed back from the create/update request. Omitted when none set.
schedule_atScheduled publish time (ISO 8601)
app_urlDeep link to open this post inside the OmniSocials app, correct for the environment (staging vs production). Draft, scheduled, and failed posts open in the composer; published posts open in the details view. Hand this to the user so they can click straight through to review a draft you just created.
The post's tags: the workspace's own labels (for example a hook style or a format) to filter and compare posts in Analytics. Never sent to a platform. Manage them with /tags; set them with tags on create or update, or in bulk with POST /tags/apply.
trial_reelSet when the post is an Instagram Trial Reel (instagram.is_trial_reel), null otherwise. strategy: SS_PERFORMANCE = Instagram shares it with followers when it does well, MANUAL = the person decides in the Instagram app. Instagram's API does not say whether a trial reel was later shared with followers.
Live URLs of the post on each platform after publishing. Keys are platform identifiers (facebook, instagram, linkedin, linkedin_page, youtube, tiktok, pinterest, x, threads, bluesky, mastodon, google_business, telegram, discord). Only platforms that successfully published appear; failed platforms are omitted (see errors). Empty object {} while the post is still draft, scheduled, or processing.
retry_ofPresent when this post was created by the dashboard 'retry as new post' flow: the ID of the original failed post it retries. The live platform URLs are on THIS post's published_urls.
retriesPresent on a post that has been retried as a new post: the IDs of its retry posts (newest last). A published post with empty published_urls and retries set is a resolved failure: the actual publish lives on the retry post, so don't double-count it.
created_atapproval_statusApproval workflow status. none = no approval workflow attached. pending = waiting on an approver (post status is in_approval); act on it with POST /posts/{id}/approve or /reject. approved / rejected = the workflow finished. GET /posts/{id}/approval returns the review itself: steps, approvers, the rejection reason and the comments.
Per-platform user-friendly error messages, keyed by platform identifier (facebook, instagram, linkedin, linkedin_page, youtube, tiktok, pinterest, x, threads, bluesky, mastodon, google_business). Populated when status is failed or warning. Only platforms that failed appear; successful platforms are omitted (see published_urls). null while the post is still draft/scheduled/processing or every platform succeeded. A platform's entry is removed once a retry of it succeeds (via POST /posts/{id}/retry or the dashboard). Mirrors the per-platform error a user sees in the dashboard with a Retry button.
sourceOrigin of post creation: web, api, mcp, workflow, zapier, make, n8n, etc.
updated_atxX (Twitter) options on the post. Includes per-publish settings (reply_settings, made_with_ai, paid_partnership), the poll and the canonical thread shape. Present when the post has X-specific data; omitted otherwise.
blueskyBluesky options on the post. Present when the post is a Bluesky thread; omitted otherwise.
mastodonMastodon options on the post. Present when the post is a Mastodon thread or carries a poll; omitted otherwise.
threadsThreads options on the post. Present when the post is a Threads thread (multi-post chain), carries a location tag, a poll or a topic; omitted otherwise.
telegramTelegram options on the post, and after publishing the result. Omitted when none are set.
discordDiscord options on the post, and after publishing the result. Omitted when none are set.
instagramInstagram options on the post. Present when set; includes first_comment (the configured auto first comment) and, after publish, first_comment_result describing the outcome.
The post's video cover exactly as stored; null when none was chosen.
facebookFacebook options on the post: first_comment, its post-publish first_comment_result, and the video thumbnail (thumbnail_type + thumb_offset / cover_url) when one is set.
linkedinLinkedIn Profile options on the post: first_comment, its post-publish first_comment_result, carousel_as_images (present when the post opts out of the default PDF document carousel) and document_source (present as slides when the post opts out of sending the kept original PDF).
linkedin_pageLinkedIn Company Page options on the post: first_comment, its post-publish first_comment_result, carousel_as_images (present when the post opts out of the default PDF document carousel) and document_source (present as slides when the post opts out of sending the kept original PDF).
youtubeYouTube options on the post. After publish, first_comment and its first_comment_result are nested here alongside the Shorts metadata.
tiktokTikTok options on the post. After publish, first_comment and its first_comment_result are nested here alongside the TikTok publish options. First comments need the workspace's TikTok comments authorization.
The comment-to-DM setup bound to this post, when one exists. Returned by GET /posts/{id} for a post that goes to Instagram or Facebook, and by create and update when the request carried comment_dm_automation. The fields are those of the first automation (Instagram first), plus platforms and automations (one per channel). Its post field is null here (the post is this one). actions.follow_gate is the Instagram automation's Follow first (null when the first automation is a Facebook one). actions.follow_up is the first automation's follow-up (tap is null when that is a Facebook one).
FirstCommentResult
statusposted = comment is live; failed = the main post published but the comment did not (see error; retry via POST /posts/retry-first-comment); skipped = the main post did not publish so the comment was never attempted; posting = a retry of the comment is being sent right now (a few seconds; claimed_at says since when).
pendingTikTok only. true while the comment waits for TikTok to return the final video id (status is failed with an explanatory error meanwhile); the comment is posted automatically once the id resolves, usually within minutes.
comment_idurlerrorposted_atVideoCoverEntry
typeframe uses the video frame at thumb_offset; custom uploads the image at cover_url.
thumb_offsetMilliseconds into the video (type frame).
cover_urlPublic image URL, JPEG or PNG (type custom).
VideoCover
typeframe uses the video frame at thumb_offset; custom uploads the image at cover_url.
thumb_offsetMilliseconds into the video (type frame).
cover_urlPublic image URL, JPEG or PNG (type custom).
Per-platform overrides keyed by platform id (instagram, facebook, linkedin, linkedin_page, tiktok, pinterest, youtube). An override wins over the base cover for that platform.
LinkedInPollFields
questionThe poll question.
options2-4 answer options.
durationHow long the poll stays open for votes.
XPoll
options2 to 4 answer options of up to 25 characters, all different.
duration_minutesHow long the poll stays open, in minutes (5 to 10080, 7 days).
ThreadsPoll
options2 to 4 answer options of 1 to 25 characters, all different.
MastodonPoll
optionsThe answer options, all different; count and length within the instance's limits.
expires_inHow long the poll stays open, in seconds, within the instance's range (default one day).
multipleAllow several answers per person.
hide_totalsHide the vote counts until the poll ends.
TelegramPoll
options2 to 12 answer options of up to 100 characters, all different.
open_periodSeconds the poll stays open (5 seconds to about 30 days). Leave out to keep the poll open.
multipleAllow several answers per person.
TelegramButton
textButton label.
urlLink the button opens: https://, http:// or tg://, at most 2,048 characters. Any other scheme (such as javascript:) or a longer link is refused with 400 validation_error, on a draft too.
DiscordPoll
options2 to 10 answer options of up to 55 characters, all different.
duration_hoursHours the poll stays open (1 hour to 32 days).
multipleAllow several answers per person.
DiscordButton
textButton label (1 to 80 characters).
urlLink the button opens: https:// or http://, at most 2,048 characters. Any other scheme (such as javascript:) or a longer link is refused with 400 validation_error, on a draft too.
PostDryRun
dry_runvalidAlways true in a 200 answer. An invalid request answers with the error of the real call instead.
statusThe status the post would get: posting = published right away.
typeschedule_atOne entry per selected account.
Present with approval_workflow_id: the workflow the post would enter. Nobody is notified in a dry run.
Present with tags: the ids of the tags that exist, and the names the real call would create as new tags.
Present with comment_dm_automation, the channels that would get an automation.
CreatePostRequest
Post content: a string (the same text everywhere) or an object with 'default' and platform keys: instagram, facebook, linkedin, linkedin_page, youtube, tiktok, pinterest, x, threads, bluesky, mastodon, google_business, telegram, discord. Coming soon: reddit, snapchat.
accountsSocial accounts to post to. Each entry is either:
- A bare platform name (e.g.
"youtube","linkedin_page"), or - The composite ID returned by
GET /v1/accountsin the form"<workspace_id>_<platform>"(e.g."844008_youtube").
The composite form's workspace prefix must match the workspace your API key belongs to. Mismatched or unknown ids return 400 validation_error with an "Unknown account/platform" message. Always source ids from GET /v1/accounts for the API key in use.
channelsAlias of accounts (the SDKs and the CLI send this name). When both are sent, accounts wins.
scheduled_atAlias of schedule_at (the SDKs send this name). When both are sent, schedule_at wins.
Media IDs from POST /media/upload. Flat array or per-platform object. Any entry may be an { id, alt } object to carry a per-media accessibility description (alt text, max 1500 chars). For type 'story', each item is one slide (max 10, published in order).
typePost type: 'post' (feed), 'story' (Instagram/Facebook), 'reel' (Instagram/Facebook/YouTube/TikTok). Telegram and Discord have no reels: a reel that names them is still accepted, and they get the video as a normal post; send a video for them alone as a 'post'. A 'reel' must have video media (MP4/MOV); an image is rejected with 400 validation_error at schedule/publish. Use 'post' to share an image. A 'story' takes 1 to 10 media items: each item is one slide, published as its own story in the order given (Instagram and Facebook have no multi-slide story container). More than 10 returns 400 validation_error.
Media IDs from POST /media/upload. Flat array or per-platform object. Any entry may be an { id, alt } object to carry a per-media accessibility description (alt text, max 1500 chars). For type 'story', each item is one slide (max 10, published in order).
External image/video/PDF URLs to download and attach (max 10 total, each file ≤ 100 MB). Flat array or per-platform object. Any entry may be a { url, alt } object to carry a per-media accessibility description (alt text, max 1500 chars), delivered to Mastodon, Bluesky, X, Pinterest, Instagram (images) and LinkedIn (images). When using per-platform format, 'default' acts as fallback for selected platforms without their own key. A PDF URL is rasterized into one image slide per page (max 20, in order). On LinkedIn it publishes as a swipeable document, elsewhere as an image carousel; slides inherit the entry's alt. For files over 100 MB (up to 1 GB), upload first via POST /v1/media/upload-from-url and attach the returned media id via the media field; oversized media_urls fail with code file_too_large.
schedule_atISO 8601 datetime to schedule. Omit for a draft without a date. With draft: true the time is kept but the post stays a draft (a planned draft on the calendar, see draft).
draftPlanned draft. With schedule_at, the post is stored as draft and keeps that time: it shows on the dashboard calendar at that slot with a dashed outline, the scheduler never publishes it, and a person schedules it from the composer (or you do with PATCH /posts/{id} and draft: false). Use it when an agent proposes a slot that a human should confirm. Not allowed with publish_now or approval_workflow_id (400 validation_error). Without schedule_at it changes nothing: that post is a draft already.
dry_runTest the request without creating anything. With true the call runs the same checks as a real call, in the same order, and stops before the first write: no post or draft, no media file, no tag, no approval, no comment-to-DM automation, no job, no webhook, no call to a social network. It answers 200 with data.dry_run: true, data.valid: true and what the real call would create (PostDryRun); an invalid request answers the same status and error as the real call. Not checked: the files behind media_urls (they are not downloaded; warning media_urls_not_fetched), the byte size of an image crop (the crop is not rendered; warning image_fit with action: would_crop), and the database write itself. A draft skips the platform checks in a dry run too (warning draft_not_checked). Also accepted as the query parameter ?dry_run=true. A value that is not a boolean answers 400 validation_error. Default false. The other post endpoints (PATCH /posts/{id}, DELETE /posts/{id}, publish, retry, approve, reject) have no dry run: they refuse dry_run with 400 validation_error and change nothing.
Image fit per channel, for feed images (type post) whose ratio is outside what a channel shows uncropped. auto (the default when omitted) takes the channel's rule: Instagram crops a tall or wide image to 4:5 / 1.91:1 around the subject (Instagram cuts it to that window anyway, and Meta cannot boost a feed post outside it); Pinterest keeps a Pin taller than 2:3 and only reports it. crop crops for that channel, keep sends the original. Every decision is reported in the response warnings with code: "image_fit". The crop is a file of its own for that channel only; default and the other channels keep the original. On PATCH, media_fit alone (no media) re-decides the stored images: keep gives the original back, crop crops an image that was kept.
publish_nowSet true to publish immediately
link_urlURL to share as a rich preview card on platforms that support link-share posts (currently LinkedIn and Facebook). When set on a text post, the URL renders as a preview tile with thumbnail / title / description instead of plain text. Ignored on platforms that don't support link shares (Instagram, TikTok, etc.) and on posts that already have media attached (media takes precedence).
link_titleOptional title for the link-share preview. LinkedIn uses this directly when set. Facebook ignores this: it fetches OG metadata server-side. Omit to let LinkedIn auto-fetch the page title.
link_descriptionOptional description for the link-share preview. LinkedIn uses this when set; Facebook auto-fetches the OG description. Omit to defer to OG metadata.
link_thumbnail_urlOptional thumbnail image URL for the preview card. LinkedIn uploads this image as the card thumbnail; without it, LinkedIn uses the page's Open Graph image, and when the upload fails the card has no image. Facebook ignores it and uses the page's Open Graph image.
Video thumbnail for a post whose media is one video. Applied on Instagram (feed videos and reels), Facebook (feed videos and reels), LinkedIn Profile and Page, TikTok, Pinterest and YouTube Shorts. On YouTube Shorts the cover shows only on channels where YouTube has enabled custom Shorts thumbnails (rolling out since July 2026, YouTube Partner Program channels first); on other channels YouTube stores it as the default thumbnail but shows a frame from the video on Shorts. TikTok only takes a frame, so a custom cover is skipped there (set a tiktok override with type frame to choose the frame). The per-platform reel fields (instagram.thumb_offset / cover_url, tiktok.video_cover_timestamp_ms, pinterest.video_cover) keep working and win over the base cover for their platform.
sourceSelf-reported origin of the integration creating this post. Defaults to 'api' if omitted. Use 'zapier', 'make', 'n8n', etc. to identify your integration.
location_idInstagram only. Facebook Place/Page ID to tag the post's location with (e.g. a dealership or storefront). Applied to single-image and carousel feed posts via Instagram's content-publishing location_id. Find a Place's Page ID via Facebook's Pages Search API. Ignored by other platforms. Send an empty string on PATCH to clear it.
collaboratorsInstagram only. Up to 3 public Instagram usernames to invite as co-authors (the 'Collab' feature). Applied to image, carousel, and reel posts, not Stories. Invited users get an invitation in the Instagram app; once accepted, the post also appears on their profile and feed. Usernames are case-insensitive and a leading '@' is stripped. Private accounts and non-existent usernames are rejected by Instagram at publish time. Ignored by other platforms. Send an empty array on PATCH to clear collaborators.
Instagram only. Tag public Instagram accounts at specific positions on a photo of a post, carousel or Story. Not on videos or reels. On a Story, Instagram tags the account without a visible sticker. For a single image omit image_index (or set 0); for a carousel or a multi-slide Story, set image_index to the 0-based slide the tag belongs to (videos counted; tags attach to that slide's image). Public accounts only; private/non-existent usernames are rejected by Instagram at publish time. Ignored by other platforms. Send an empty array on PATCH to clear tags.
hashtag_setName of a saved hashtag set (see GET /hashtag-sets) to apply to this post, matched case-insensitively. The set's tags are merged in ONCE at create time: the post stores plain text, so later edits to the set never change this post. Tags already present in a caption are skipped (case-insensitive), and hard platform caps (Instagram 30) are enforced with a 400 hashtag_limit_exceeded before the platform can reject the post. Mutually interchangeable with hashtag_set_id.
hashtag_set_idId of a saved hashtag set to apply. Same behavior as hashtag_set; pass one or the other.
hashtag_placementWhere the set's tags land. caption_append (default) appends them to each target platform's caption after a blank line. first_comment puts them in the auto first comment on comment-capable platforms (Instagram, Facebook, LinkedIn Profile/Page, YouTube, TikTok with comments enabled, Telegram), appended after any first_comment you passed explicitly, and falls back to caption_append on platforms without a comment API. Stories always use captions (first comments are never posted on Stories).
hashtag_platformsOptional subset of the post's selected platforms to apply the set to (e.g. only ["instagram", "tiktok"]). Defaults to all selected platforms.
approval_workflow_idId of an approval workflow (see GET /approval-workflows) to route this post through. The post is created with status in_approval and approval_status: pending instead of scheduled: the workflow's first-step approvers are notified (dashboard badge, email, Slack), they review it in the dashboard's Approvals page, and it publishes at schedule_at only once the last step approves it (dashboard, or POST /posts/{id}/approve). A rejection leaves it rejected. Requires schedule_at; cannot be combined with publish_now. Errors: 404 workflow_not_found (not a workflow of this company/workspace), 400 validation_error (missing schedule_at, publish_now set, or a step of the workflow has no approver who is a member of this workspace, or the workflow has no steps; the message names the step).
Tags for this post: tag ids or names. A name matches case-insensitively; a name that does not exist yet becomes a new tag of the workspace. Tags are the workspace's own labels (a hook style, a format, a campaign) to filter and compare posts in Analytics; nothing goes to a platform. At most 20 per post. Errors: 404 tag_not_found (an unknown id).
comment_dm_automationA comment-to-DM automation bound to this post (Instagram or Facebook must be in accounts). When somebody comments one of trigger.keywords on the post once it is live, the account DMs them actions.dm.text, once per person, and optionally posts one of actions.public_reply.variations under the comment. On a Facebook Page the DM lands in Messenger. The shape is the AutomationInput of POST /automations without post_id, scope or kinds (always this post, comment trigger), plus platforms. The created automations come back as comment_dm_automation on the post. Follow first (actions.follow_gate) works on Instagram only: with platforms: ["instagram", "facebook"] the Instagram automation sends the link once the person follows, and the Facebook one sends it at once (no error). A follow-up (actions.follow_up: one more DM 1 to 23 hours after the answer, inside Meta's 24-hour window) applies to every listed channel: on Instagram the first DM becomes a tap step with one button whose tap sends the link (unless Follow first is on, whose tap does that), on Facebook only people who answer the DM get it. Needs the opt-in automations:write scope on the API key (403 insufficient_scope without it).
Pinterest-specific options. Attach 2–5 images via media_urls.pinterest (or the flat media_urls) to publish a single carousel pin; the title, description, link, and alt_text apply to the whole pin. A single image or a single video still publishes as a normal image / video pin. Carousel constraints: carousels hard-cap at 5 images: attaching more responds 400 validation_error at create/schedule time. Pinterest's v5 API also requires every slide in a carousel pin to share the same aspect ratio (width divided by height within 0.001 of slide 1's; Pinterest refuses even 0.8017 next to 0.8000). If you attach mixed-ratio images and try to schedule or publish, the API responds 400 validation_error with mismatched_slides: [n, ...] listing the 1-indexed slide numbers that need to be re-cropped or removed. Both checks run when publish_now: true, when schedule_at is set, and when PATCH flips a draft to a scheduled status. Drafts are exempt so you can iterate on media.
YouTube Shorts options. Only applies when type is reel and youtube is among the selected accounts.
Instagram Reel options
Facebook options
LinkedIn Profile options
LinkedIn Company Page options
linkedin_pollNon-sponsored LinkedIn poll(s), independent per channel, keyed by linkedin (personal profile) / linkedin_page (company page). A poll is mutually exclusive with media and a link share on that channel's post: a poll takes priority over both at publish time. Requires content.linkedin (or content.default) as that channel's caption/commentary; the poll itself only carries the question/options/duration.
TikTok options
X (Twitter) options
Bluesky options
Mastodon options
Telegram options (2026-10-17). Telegram posts go to the connected channel or group through the OmniSocials bot. Text up to 4,096 characters; with media, text over 1,024 characters is sent as a reply under the media (Telegram's caption limit). Media: up to 10 photos and videos (an album), one GIF, one video up to 50 MB, or files. No Stories. Views are not available to bots: analytics report reactions and subscribers.
Discord options (2026-10-22). Discord posts go to the channel the workspace connected, through that channel's webhook; the message shows the webhook's name and picture. Text up to 2,000 characters. Media: up to 10 images, GIFs and videos in one message (they may mix). A file over Discord's 20 MB attachment limit is sent differently: an image is re-encoded to fit, a video or GIF goes as a link in the text (listed in discord.result.video_links). No Stories; a reel is sent as one video message. Statistics: reactions and poll votes only (Discord gives webhooks no views). A sent message can be deleted at any time.
Threads options: thread mode via thread_parts, location tag via location_id, poll via poll, topic via topic_tag.
Google Business Profile options. Use to publish EVENT or OFFER posts in addition to STANDARD, attach a call-to-action button, or both. STANDARD posts can also use this object purely to add a CTA. The shape mirrors Google's LocalPost JSONB exactly; see https://developers.google.com/my-business/reference/rest/v4/accounts.locations.localPosts#LocalPost.
Caption rules, enforced at scheduling (text that violates these returns validation_error 400 before the post is saved):
• No phone numbers in the caption (use a CALL button instead).
• No inline URLs / bare domains / email addresses (use a LEARN_MORE, BOOK, SHOP, SIGN_UP, or ORDER button instead).
• Caption max 1500 characters.
• Media optional (text-only posts allowed). If attached: exactly one JPEG/PNG/WebP image (no video, no carousels).
• The workspace must have a Google Business location selected (Settings → Organisation → Workspaces → Google Business) before scheduling.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: accounts | |
| type = object · requires: channels |
accountsSocial accounts to post to. Each entry is either:
- A bare platform name (e.g.
"youtube","linkedin_page"), or - The composite ID returned by
GET /v1/accountsin the form"<workspace_id>_<platform>"(e.g."844008_youtube").
The composite form's workspace prefix must match the workspace your API key belongs to. Mismatched or unknown ids return 400 validation_error with an "Unknown account/platform" message. Always source ids from GET /v1/accounts for the API key in use.
Post content: a string (the same text everywhere) or an object with 'default' and platform keys: instagram, facebook, linkedin, linkedin_page, youtube, tiktok, pinterest, x, threads, bluesky, mastodon, google_business, telegram, discord. Coming soon: reddit, snapchat.
channelsAlias of accounts (the SDKs and the CLI send this name). When both are sent, accounts wins.
scheduled_atAlias of schedule_at (the SDKs send this name). When both are sent, schedule_at wins.
Media IDs from POST /media/upload. Flat array or per-platform object. Any entry may be an { id, alt } object to carry a per-media accessibility description (alt text, max 1500 chars). For type 'story', each item is one slide (max 10, published in order).
typePost type: 'post' (feed), 'story' (Instagram/Facebook), 'reel' (Instagram/Facebook/YouTube/TikTok). Telegram and Discord have no reels: a reel that names them is still accepted, and they get the video as a normal post; send a video for them alone as a 'post'. A 'reel' must have video media (MP4/MOV); an image is rejected with 400 validation_error at schedule/publish. Use 'post' to share an image. A 'story' takes 1 to 10 media items: each item is one slide, published as its own story in the order given (Instagram and Facebook have no multi-slide story container). More than 10 returns 400 validation_error.
Media IDs from POST /media/upload. Flat array or per-platform object. Any entry may be an { id, alt } object to carry a per-media accessibility description (alt text, max 1500 chars). For type 'story', each item is one slide (max 10, published in order).
External image/video/PDF URLs to download and attach (max 10 total, each file ≤ 100 MB). Flat array or per-platform object. Any entry may be a { url, alt } object to carry a per-media accessibility description (alt text, max 1500 chars), delivered to Mastodon, Bluesky, X, Pinterest, Instagram (images) and LinkedIn (images). When using per-platform format, 'default' acts as fallback for selected platforms without their own key. A PDF URL is rasterized into one image slide per page (max 20, in order). On LinkedIn it publishes as a swipeable document, elsewhere as an image carousel; slides inherit the entry's alt. For files over 100 MB (up to 1 GB), upload first via POST /v1/media/upload-from-url and attach the returned media id via the media field; oversized media_urls fail with code file_too_large.
schedule_atISO 8601 datetime to schedule. Omit for a draft without a date. With draft: true the time is kept but the post stays a draft (a planned draft on the calendar, see draft).
draftPlanned draft. With schedule_at, the post is stored as draft and keeps that time: it shows on the dashboard calendar at that slot with a dashed outline, the scheduler never publishes it, and a person schedules it from the composer (or you do with PATCH /posts/{id} and draft: false). Use it when an agent proposes a slot that a human should confirm. Not allowed with publish_now or approval_workflow_id (400 validation_error). Without schedule_at it changes nothing: that post is a draft already.
dry_runTest the request without creating anything. With true the call runs the same checks as a real call, in the same order, and stops before the first write: no post or draft, no media file, no tag, no approval, no comment-to-DM automation, no job, no webhook, no call to a social network. It answers 200 with data.dry_run: true, data.valid: true and what the real call would create (PostDryRun); an invalid request answers the same status and error as the real call. Not checked: the files behind media_urls (they are not downloaded; warning media_urls_not_fetched), the byte size of an image crop (the crop is not rendered; warning image_fit with action: would_crop), and the database write itself. A draft skips the platform checks in a dry run too (warning draft_not_checked). Also accepted as the query parameter ?dry_run=true. A value that is not a boolean answers 400 validation_error. Default false. The other post endpoints (PATCH /posts/{id}, DELETE /posts/{id}, publish, retry, approve, reject) have no dry run: they refuse dry_run with 400 validation_error and change nothing.
Image fit per channel, for feed images (type post) whose ratio is outside what a channel shows uncropped. auto (the default when omitted) takes the channel's rule: Instagram crops a tall or wide image to 4:5 / 1.91:1 around the subject (Instagram cuts it to that window anyway, and Meta cannot boost a feed post outside it); Pinterest keeps a Pin taller than 2:3 and only reports it. crop crops for that channel, keep sends the original. Every decision is reported in the response warnings with code: "image_fit". The crop is a file of its own for that channel only; default and the other channels keep the original. On PATCH, media_fit alone (no media) re-decides the stored images: keep gives the original back, crop crops an image that was kept.
publish_nowSet true to publish immediately
link_urlURL to share as a rich preview card on platforms that support link-share posts (currently LinkedIn and Facebook). When set on a text post, the URL renders as a preview tile with thumbnail / title / description instead of plain text. Ignored on platforms that don't support link shares (Instagram, TikTok, etc.) and on posts that already have media attached (media takes precedence).
link_titleOptional title for the link-share preview. LinkedIn uses this directly when set. Facebook ignores this: it fetches OG metadata server-side. Omit to let LinkedIn auto-fetch the page title.
link_descriptionOptional description for the link-share preview. LinkedIn uses this when set; Facebook auto-fetches the OG description. Omit to defer to OG metadata.
link_thumbnail_urlOptional thumbnail image URL for the preview card. LinkedIn uploads this image as the card thumbnail; without it, LinkedIn uses the page's Open Graph image, and when the upload fails the card has no image. Facebook ignores it and uses the page's Open Graph image.
Video thumbnail for a post whose media is one video. Applied on Instagram (feed videos and reels), Facebook (feed videos and reels), LinkedIn Profile and Page, TikTok, Pinterest and YouTube Shorts. On YouTube Shorts the cover shows only on channels where YouTube has enabled custom Shorts thumbnails (rolling out since July 2026, YouTube Partner Program channels first); on other channels YouTube stores it as the default thumbnail but shows a frame from the video on Shorts. TikTok only takes a frame, so a custom cover is skipped there (set a tiktok override with type frame to choose the frame). The per-platform reel fields (instagram.thumb_offset / cover_url, tiktok.video_cover_timestamp_ms, pinterest.video_cover) keep working and win over the base cover for their platform.
sourceSelf-reported origin of the integration creating this post. Defaults to 'api' if omitted. Use 'zapier', 'make', 'n8n', etc. to identify your integration.
location_idInstagram only. Facebook Place/Page ID to tag the post's location with (e.g. a dealership or storefront). Applied to single-image and carousel feed posts via Instagram's content-publishing location_id. Find a Place's Page ID via Facebook's Pages Search API. Ignored by other platforms. Send an empty string on PATCH to clear it.
collaboratorsInstagram only. Up to 3 public Instagram usernames to invite as co-authors (the 'Collab' feature). Applied to image, carousel, and reel posts, not Stories. Invited users get an invitation in the Instagram app; once accepted, the post also appears on their profile and feed. Usernames are case-insensitive and a leading '@' is stripped. Private accounts and non-existent usernames are rejected by Instagram at publish time. Ignored by other platforms. Send an empty array on PATCH to clear collaborators.
Instagram only. Tag public Instagram accounts at specific positions on a photo of a post, carousel or Story. Not on videos or reels. On a Story, Instagram tags the account without a visible sticker. For a single image omit image_index (or set 0); for a carousel or a multi-slide Story, set image_index to the 0-based slide the tag belongs to (videos counted; tags attach to that slide's image). Public accounts only; private/non-existent usernames are rejected by Instagram at publish time. Ignored by other platforms. Send an empty array on PATCH to clear tags.
hashtag_setName of a saved hashtag set (see GET /hashtag-sets) to apply to this post, matched case-insensitively. The set's tags are merged in ONCE at create time: the post stores plain text, so later edits to the set never change this post. Tags already present in a caption are skipped (case-insensitive), and hard platform caps (Instagram 30) are enforced with a 400 hashtag_limit_exceeded before the platform can reject the post. Mutually interchangeable with hashtag_set_id.
hashtag_set_idId of a saved hashtag set to apply. Same behavior as hashtag_set; pass one or the other.
hashtag_placementWhere the set's tags land. caption_append (default) appends them to each target platform's caption after a blank line. first_comment puts them in the auto first comment on comment-capable platforms (Instagram, Facebook, LinkedIn Profile/Page, YouTube, TikTok with comments enabled, Telegram), appended after any first_comment you passed explicitly, and falls back to caption_append on platforms without a comment API. Stories always use captions (first comments are never posted on Stories).
hashtag_platformsOptional subset of the post's selected platforms to apply the set to (e.g. only ["instagram", "tiktok"]). Defaults to all selected platforms.
approval_workflow_idId of an approval workflow (see GET /approval-workflows) to route this post through. The post is created with status in_approval and approval_status: pending instead of scheduled: the workflow's first-step approvers are notified (dashboard badge, email, Slack), they review it in the dashboard's Approvals page, and it publishes at schedule_at only once the last step approves it (dashboard, or POST /posts/{id}/approve). A rejection leaves it rejected. Requires schedule_at; cannot be combined with publish_now. Errors: 404 workflow_not_found (not a workflow of this company/workspace), 400 validation_error (missing schedule_at, publish_now set, or a step of the workflow has no approver who is a member of this workspace, or the workflow has no steps; the message names the step).
Tags for this post: tag ids or names. A name matches case-insensitively; a name that does not exist yet becomes a new tag of the workspace. Tags are the workspace's own labels (a hook style, a format, a campaign) to filter and compare posts in Analytics; nothing goes to a platform. At most 20 per post. Errors: 404 tag_not_found (an unknown id).
comment_dm_automationA comment-to-DM automation bound to this post (Instagram or Facebook must be in accounts). When somebody comments one of trigger.keywords on the post once it is live, the account DMs them actions.dm.text, once per person, and optionally posts one of actions.public_reply.variations under the comment. On a Facebook Page the DM lands in Messenger. The shape is the AutomationInput of POST /automations without post_id, scope or kinds (always this post, comment trigger), plus platforms. The created automations come back as comment_dm_automation on the post. Follow first (actions.follow_gate) works on Instagram only: with platforms: ["instagram", "facebook"] the Instagram automation sends the link once the person follows, and the Facebook one sends it at once (no error). A follow-up (actions.follow_up: one more DM 1 to 23 hours after the answer, inside Meta's 24-hour window) applies to every listed channel: on Instagram the first DM becomes a tap step with one button whose tap sends the link (unless Follow first is on, whose tap does that), on Facebook only people who answer the DM get it. Needs the opt-in automations:write scope on the API key (403 insufficient_scope without it).
Pinterest-specific options. Attach 2–5 images via media_urls.pinterest (or the flat media_urls) to publish a single carousel pin; the title, description, link, and alt_text apply to the whole pin. A single image or a single video still publishes as a normal image / video pin. Carousel constraints: carousels hard-cap at 5 images: attaching more responds 400 validation_error at create/schedule time. Pinterest's v5 API also requires every slide in a carousel pin to share the same aspect ratio (width divided by height within 0.001 of slide 1's; Pinterest refuses even 0.8017 next to 0.8000). If you attach mixed-ratio images and try to schedule or publish, the API responds 400 validation_error with mismatched_slides: [n, ...] listing the 1-indexed slide numbers that need to be re-cropped or removed. Both checks run when publish_now: true, when schedule_at is set, and when PATCH flips a draft to a scheduled status. Drafts are exempt so you can iterate on media.
YouTube Shorts options. Only applies when type is reel and youtube is among the selected accounts.
Instagram Reel options
Facebook options
LinkedIn Profile options
LinkedIn Company Page options
linkedin_pollNon-sponsored LinkedIn poll(s), independent per channel, keyed by linkedin (personal profile) / linkedin_page (company page). A poll is mutually exclusive with media and a link share on that channel's post: a poll takes priority over both at publish time. Requires content.linkedin (or content.default) as that channel's caption/commentary; the poll itself only carries the question/options/duration.
TikTok options
X (Twitter) options
Bluesky options
Mastodon options
Telegram options (2026-10-17). Telegram posts go to the connected channel or group through the OmniSocials bot. Text up to 4,096 characters; with media, text over 1,024 characters is sent as a reply under the media (Telegram's caption limit). Media: up to 10 photos and videos (an album), one GIF, one video up to 50 MB, or files. No Stories. Views are not available to bots: analytics report reactions and subscribers.
Discord options (2026-10-22). Discord posts go to the channel the workspace connected, through that channel's webhook; the message shows the webhook's name and picture. Text up to 2,000 characters. Media: up to 10 images, GIFs and videos in one message (they may mix). A file over Discord's 20 MB attachment limit is sent differently: an image is re-encoded to fit, a video or GIF goes as a link in the text (listed in discord.result.video_links). No Stories; a reel is sent as one video message. Statistics: reactions and poll votes only (Discord gives webhooks no views). A sent message can be deleted at any time.
Threads options: thread mode via thread_parts, location tag via location_id, poll via poll, topic via topic_tag.
Google Business Profile options. Use to publish EVENT or OFFER posts in addition to STANDARD, attach a call-to-action button, or both. STANDARD posts can also use this object purely to add a CTA. The shape mirrors Google's LocalPost JSONB exactly; see https://developers.google.com/my-business/reference/rest/v4/accounts.locations.localPosts#LocalPost.
Caption rules, enforced at scheduling (text that violates these returns validation_error 400 before the post is saved):
• No phone numbers in the caption (use a CALL button instead).
• No inline URLs / bare domains / email addresses (use a LEARN_MORE, BOOK, SHOP, SIGN_UP, or ORDER button instead).
• Caption max 1500 characters.
• Media optional (text-only posts allowed). If attached: exactly one JPEG/PNG/WebP image (no video, no carousels).
• The workspace must have a Google Business location selected (Settings → Organisation → Workspaces → Google Business) before scheduling.
Media
idMedia ID (use this in post creation)
urlPermanent CDN URL for the media
thumbnail_urlCDN URL of the generated preview thumbnail (videos only; null for images, which use url directly)
typedocument is a PDF kept as one item (see pdf): its id in media_ids expands into every page image, in order.
nameHuman-readable label set on upload or via PATCH (e.g. "pp-play5get50"). Falls back to the storage filename when unset. Search this with the search query param.
folder_idId of the folder this file lives in, or null for the root ("All media")
filenameGenerated storage filename (stable, used internally)
sizeHuman-formatted file size (e.g. "2.50 MB")
statusProcessing state. 'ready' for normal uploads (usable immediately). Large videos uploaded via URL ingestion (over 100 MB) start as 'processing': poll get media / list media until 'ready' before using them in a post. 'failed' means the source couldn't be fetched or validated.
created_atPresent on a PDF document item (type document): the kept file and its rendered pages in order. Also present on a slide rendered from a PDF (type image): which original file and page it came from. The original PDF is kept in storage. When a LinkedIn post's images are exactly the rendered pages of one PDF, in order and unchanged, LinkedIn receives that original file (sharp text, working in-document links, the real download) instead of a document rebuilt from the page images. Opt out per channel with document_source: "slides" on the post's linkedin / linkedin_page options.
MediaCompatibility
compatiblesummaryOne-line human summary, or null when fully compatible.
PdfUploadResult
Every page as a Media item, in page order.
media_idsSlide ids in page order. Pass all of them to POST /posts.
Whether the file fits the platforms connected to your workspace. compatible is true when no connected platform would reject it.
messageFolder
idnameparent_idParent folder id, or null for a top-level folder
item_countNumber of media items directly in this folder
created_atTag
idnamecolorcreated_atTagInput
nameUnique in the workspace (case-insensitive).
colorOmit on create to get the next colour of the palette.
HashtagSet
idnameSet name, unique per workspace (case-insensitive)
hashtagsOrdered tags WITHOUT the leading '#'
hashtag_countpreviewThe tags rendered as caption text, e.g. "#fitness
created_atupdated_atApprovalWorkflowApprover
idUser id of the approver
nameemailApprovalWorkflowStep
order1-based step order; steps are approved in order
namerequire_modeany = one approver of this step is enough; all = every approver must approve
ApprovalWorkflow
idPass this as approval_workflow_id on POST /posts/create
nameworkspace_idWorkspace the workflow is bound to, or null when it is available to every workspace of the company
created_atupdated_atAccount
idAccount ID (use this when creating posts)
platformusernameSocial media username/handle. Null where the account has none, such as a Discord channel (a server has no handle; the webhook name posts show is in platform_details.webhook_name).
display_nameDisplay name on the platform. Discord: the server name for a connection made with Continue with Discord, the webhook name for a pasted webhook URL.
profile_pictureProfile picture URL
content_typesSupported content types for this platform
statusConnection status. needs_reconnect means the account is still wired up to the workspace but its OAuth token has been revoked or expired; posts to this account will fail until the user reconnects in the OmniSocials UI. Most often caused by the user changing their password, deauthorizing OmniSocials on the platform, or the token expiring without a successful refresh. pick_pending (Facebook, OmniSocials Connect customers only): the Facebook login manages several Pages and none is chosen yet; posts to this account fail until the Page is chosen (connect Facebook again and pick the Page).
needs_reconnectConvenience boolean: true when status is needs_reconnect.
pick_pendingConvenience boolean: true when status is pick_pending. Such an account cannot be posted to; username, display_name and profile_picture then name the person who signed in, not a Page.
reauth_reasonShort reason from the platform (e.g. "OAuthException: Session has expired"). Present only when needs_reconnect is true. Token-health tracking exists for Instagram, Facebook, Threads, X, Pinterest, LinkedIn (profile + page), TikTok (TikTok refused the refresh token, or it passed its end date), Bluesky (the sign-in could not be renewed), Telegram (the bot was removed or lost the right to post) and Discord (the webhook was deleted in Discord); other platforms always report needs_reconnect: false.
Pinterest boards (only present for Pinterest accounts). Use board id as board_id when creating Pinterest posts.
Platform-specific details. Present for X accounts with a Premium subscription, and for every Telegram and Discord account.
connected_atPostAnalytics
post_idOne entry per platform the post was published to. For thread platforms (X, Bluesky, Mastodon, Threads) a post can publish as a chain of several parts; the entry sums each part's metrics so you get the thread's total (matching the in-app analytics), and reports the thread's root as platform_post_id.
AnalyticsOverview
total_poststotal_platformstotal_engagementtotal_impressionsaverage_engagement_rateEngagement rate as a percentage (0-100)
top_performing_platformAccountAnalytics
platformplatform_account_iddatemetricsAccount-level metrics for the snapshot date, as the platform reports them. Stock values: followers, following, posts, and platform extras (monthly_views, pin_count, listed, media_count, average_rating, review_count, total_views, total_videos). Day values (period: "daily"): impressions (views), reach, engagement, likes, comments, shares, saves, profile_views, link_clicks, follows_gained, follows_lost, accounts_engaged, video_views, watch_time_minutes, and Google Business calls, direction_requests, website_clicks, bookings, impressions_breakdown, search_keywords. Audience objects when available: demographics (age, gender, country, city, or LinkedIn function, seniority, industry) with demographics_unit, online_followers (UTC hour -> followers online), link_clicks_breakdown (Threads, per URL). LinkedIn profile rows keep impressions_lifetime and carry period: "lifetime" when the daily breakdown is not available. Read the note field where present.
collected_atTagSummary
postsmeasuredPosts with numbers
median_impressionsengagement_ratePercent (5.4 = 5.4%)
vs_normalFraction against your normal (0.38 = 38% above, -0.2 = 20% below)
best_channelChannel where the tag beats your normal by the most (3 posts there at least)
enough_postsTagComparison
postsmeasuredPosts with numbers
median_impressionsengagement_ratePercent (5.4 = 5.4%)
vs_normalFraction against your normal (0.38 = 38% above, -0.2 = 20% below)
best_channelChannel where the tag beats your normal by the most (3 posts there at least)
enough_postsA workspace's own label for its posts (for example a hook style or a format), to filter and compare posts in Analytics. Never sent to a platform.
Webhook
idworkspace_idThe workspace whose events the webhook receives. Null for an organisation-wide webhook (made in the OmniSocials dashboard), which receives the events of every workspace in the organisation. Webhooks created through the API belong to the key's workspace, and a new url set through the API moves an organisation-wide webhook to the key's workspace.
urlURL to receive webhook events
eventsEvents to subscribe to
is_activeFalse when switched off, by a PATCH or automatically when the person who set the webhook up no longer has access to its organisation or workspace (or, for Ads events, to Ads; for an organisation-wide webhook, to Manage API keys), or when the API key or the OAuth app that set it up (or last changed its url or events, or switched it on) was revoked, deleted, expired or disconnected. An automatic switch-off says why in last_failure.error; a PATCH with is_active true from an active key or app switches it on again and binds it to that key or app. Failed deliveries never switch a webhook off.
last_triggered_atfailure_countConsecutive delivery failures since the last success. Resets to 0 on any successful delivery, so 0 means currently healthy.
last_failureDetails of the most recent failed delivery, or of an automatic switch-off (status null, attempts 0, error says why). Not cleared on success, so it persists as the last known problem even when failure_count is 0. Null if no delivery has ever failed.
created_atWebhookPayload
idUnique delivery event ID (also sent as the X-OmniSocials-Delivery header)
typeEvent type
created_atEvent payload. Post fields (below) for post.* events.
PinterestProduct
pin_idUse this in pinterest.product_tags.
titledescriptionlinkThe product page the Pin links to.
image_urlA small image of the product Pin.
priceCatalog source only.
currencyCatalog source only. ISO 4217 code.
availabilityCatalog source only, as Pinterest reports it (for example IN_STOCK, OUT_OF_STOCK, PREORDER).
item_idCatalog source only. The merchant's own product id.
InboxReplyMention
statustagged: Facebook shows the name as a clickable tag at the start of the reply and notifies the person. plain_name: Facebook did not accept the tag, so OmniSocials edited the reply to start with "@Name" as plain text (no link, no notification). failed: Facebook did not accept the tag and the edit failed; the reply can show the raw @[id] text (delete it with DELETE /inbox/messages/{id} and send it again without mention_author). unverified: the reply was posted, but OmniSocials could not read it back from Facebook to check the tag.
nameThe name of the person who wrote the comment.
messageOne sentence that explains the status.
InboxParticipant
idPlatform-scoped id of the other party
nameusernameprofile_pictureInboxConversation
conversation_idplatformtypedm = direct message; comment/mention = public interaction. LinkedIn is comment/mention only; TikTok and YouTube are comment only; X is dm only; Threads is comment (replies on your posts) and mention only.
unread_countUnread incoming messages in this conversation
postThe post a comment/mention conversation belongs to, so a reply can be drafted with the post in view ("what size is this?" needs the caption and the picture). Null for DMs. url is the public link to the post when the platform provides one (Instagram, Facebook, YouTube, TikTok, LinkedIn, Threads); media_type is the platform's label (e.g. IMAGE, VIDEO, CAROUSEL_ALBUM on Instagram) when known.
InboxPostContext
idcaptionthumbnailImage URL of the post (or the video's cover)
urlmedia_typeInboxMessage
idconversation_idplatformtypedirectiontexttimestampis_readis_repliedreactionparent_comment_idhiddenComments only: true when the comment is hidden on the platform (see POST /inbox/messages/{id}/hide). Null for DMs.
likedIncoming Facebook, LinkedIn Page and TikTok comments: true when the connected account liked the comment (see POST /inbox/messages/{id}/like). Facebook and LinkedIn report likes made through OmniSocials; TikTok also reports likes made in the TikTok app. Null for DMs, outgoing messages and the other platforms.
permalinkLink to the reply or mentioning post on the platform. Set on Threads replies and mentions; null on the other platforms.
attachmentMedia sent with this message, when present: the first item of attachments. Incoming Instagram/Facebook DM images, videos, voice messages and story mentions, and the photos, videos and GIFs of Threads replies and mentions, are re-hosted on our CDN so the URL stays valid indefinitely (the platform's own URL is short-lived). type reflects the fetched bytes, not the platform's label: a photo the platform sent under an unlabelled attachment type is image, a story mention that is really an MP4 is video. type: file covers media we could fetch but could not classify. type: link means the platform's URL did not point at media (for example a shared post that resolves to an instagram.com page); url is then the platform's own link, not re-hosted, and may require login or expire.
Every file of this message, in order; empty when it has none. A Threads carousel reply or mention lists each item (up to 20); a Threads photo, video or GIF reply and a DM attachment have one. A Threads reply that has only media carries text such as "Sent an image", "Sent a GIF" or "Sent 3 images" (the words of the DM attachments). The files of a Threads reply arrive with the reply, at the latest with the next 15-minute sync.
postThe post a comment/mention conversation belongs to, so a reply can be drafted with the post in view ("what size is this?" needs the caption and the picture). Null for DMs. url is the public link to the post when the platform provides one (Instagram, Facebook, YouTube, TikTok, LinkedIn, Threads); media_type is the platform's label (e.g. IMAGE, VIDEO, CAROUSEL_ALBUM on Instagram) when known.
InboxNextUnanswered
The unanswered incoming message itself: the customer's latest DM, or the specific comment. Its conversation_id is what the reply endpoint takes, and its id is the message_id to pass along with the reply for comment threads (so the reply lands under this comment and not under the newest one on the post); the same id is what POST /inbox/messages/{id}/hide and DELETE /inbox/messages/{id} take.
The conversation so far, oldest first (the most recent 50 messages for long DM threads).
Whether a reply can still be sent through the API. Only Instagram and Facebook DMs have a window (Meta: 24 hours after the customer's last message); every other item has open: true and closes_at: null. When open is false the item is still served (the customer is still waiting) but the reply endpoint answers 422 outside_messaging_window: answer it from the native app (that reply is mirrored into the inbox and clears the item) or mark the conversation read to skip it.
InboxCursorPagination
next_cursorPass as ?cursor= to fetch the next page; null when there are no more results
has_morelimitAutomationTrigger
kindsWhat starts the automation. comment = a comment on an Instagram post or reel, or on a Facebook Page post (needs scope). dm = a keyword in a DM to the Instagram account, in a Messenger message to the Facebook Page, or in a DM to the X account. story_reply = a keyword in a reply to an Instagram story (Instagram only: Facebook has no story replies, and a Facebook automation with story_reply answers 400 validation_error). On X only dm exists. One automation can listen to several. Default ["comment"] (pass ["dm"] on X).
scopeFor the comment kind: post = one post (pass post_id, instagram_media_id or facebook_post_id on the request), next_post = the next post the workspace publishes on the automation's platform, any = every post of the account or Page. Default post.
keywordsUp to 20 keywords (60 characters each), matched case-insensitively. Required unless match is any.
matchword (default) = the keyword as a whole word, in the forms people write it: capitals, accents and fancy letters ("Guide!", "GUIDE", "𝐆𝐔𝐈𝐃𝐄"), longer letter runs ("guideee"), one common ending ("guides"; also -es, -ies, -ie, -y, -ey, -je, -jes, -tje, -tjes when 4 or more letters stay), and a plural keyword also takes the singular when 4 or more letters stay ("links" catches "link", "news" does not catch "new"). Never part of another word ("linkedin", "blink" and "unlink" do not match "link") and no typos. An event matched as another form carries match with the word the person wrote. contains = the keyword appears anywhere, any = every comment, also one without text (a photo, GIF or sticker comment), and every message with text.
AutomationActions
A public reply under the comment, only for the comment kind. One of variations is picked at random per comment.
follow_gateFollow first, Instagram only: the link in dm.text goes out once the person follows the account. Instagram tells an app whether somebody follows only after that person messaged the account or tapped a button, so on a comment the private reply is first_message with one button (the public reply under the comment still goes out at once). A tap makes OmniSocials ask Instagram: a follower gets dm.text, anybody else gets not_following with its button, and every later tap checks again (10 taps that say "not yet" at most). A dm or story_reply trigger checks at once, because the person wrote first. When Instagram gives no answer the link goes out anyway, marked not checked. The first message counts as one DM under the send cap; the follow ask and the link go out inside the 24-hour window the tap opens. Input: optional; first_message, not_following and their text / button are optional (empty or missing = the defaults); null or { "enabled": false } switches it off and keeps the stored texts. enabled: true on a Facebook or X automation answers 400 follow_gate_instagram_only (they have no follow status). Output: the texts with the defaults filled in, or null on a Facebook or X automation.
Follow-up, Instagram and Facebook: one more automatic DM, delay_hours (1 to 23, default 23) after the answer (dm.text) went out. Meta allows an automatic message only within 24 hours after the person's last DM, button tap or quick reply; the comment and the private reply do not open that window. So on an Instagram comment with Follow first off, the first DM becomes a tap step: a short text with one button (tap), the tap sends dm.text and opens the window, and until the tap the event is waiting. With Follow first on, its own tap is that tap. People who never tap get no link and no follow-up. A dm or story_reply trigger needs no tap step: the person's own message opened the window. A Facebook comment answer has no button, so only people who answer the DM in Messenger get the follow-up. When it is due, OmniSocials checks again and skips it (follow_up.reason on the event) when the automation was paused or deleted (automation_off), the follow-up was switched off (follow_up_off), the plan is not active (plan_inactive), the person's latest message is "stop" (opted_out), a team member wrote to the person by hand after the answer (team_answered), or the person's last tap or message is older than 24 hours minus 15 minutes (window_closed); Meta's refusal on the person's side is cannot_message. An automation finished by its DM limit or stop date still sends its follow-ups. Input: optional; null, false or { "enabled": false } switches it off and keeps the stored texts. On PATCH it merges into the stored follow-up: keys you leave out keep their value, tap merges key by key and button: null removes the button. enabled: true on an X automation answers 400 follow_up_not_supported (X allows an automatic DM only as the answer to a DM). Output: the follow-up with the tap step texts filled in (tap is null on Facebook), or null on an X automation.
AutomationFollowUp
enabledtextThe follow-up message (max 1000 characters, 640 with a button). Required when enabled is true (in the body or stored); without it the API answers 400 validation_error ("Write the follow-up").
delay_hoursHours after the answer went out. A whole number from 1 to 23 (else 400 validation_error): Meta allows an automatic message only within 24 hours after the person's last tap or message.
An optional link button under the follow-up. null on PATCH removes it. Like the DM's button, an https url opens a short link on OmniSocials' host that counts the first tap (stats.follow_up_clicks, the event's follow_up.clicked_at) and forwards to it (for 60 days after the follow-up, while the organisation has a plan); an http:// address goes out as is and is not counted.
Instagram only: the texts of the tap step, the first DM of a comment answer when Follow first is off. Ignored on Facebook (null in responses there).
AutomationDmButton
titleThe button label, 1 to 20 characters (else 400 validation_error: "dm.button.title needs 1 to 20 characters").
urlThe address the button opens: https:// only, max 900 characters (an http:// address or a longer one answers 400 validation_error: "dm.button.url must be a web address that starts with https:// (at most 900 characters)"). Stored and returned as the parsed address (a space becomes %20). People see the button, not the address; the tap goes through OmniSocials' short link, which counts it and forwards to this address.
AutomationFollowUpButton
titleThe button label, 1 to 20 characters (else 400 validation_error: "follow_up.button.title needs 1 to 20 characters").
urlA web address that starts with https:// or http:// (max 2000 characters). On PATCH a button replaces the stored one, so send title and url together.
AutomationFollowUpTap
textThe tap step's message (max 640 characters). Default: "Tap the button and I'll send you the link 👇".
buttonThe tap step's button label (max 20 characters). Default: "Send me the link".
AutomationFollowGateMessage
textThe message text (max 640 characters; more answers 400 validation_error).
buttonThe button label (max 20 characters; more answers 400 validation_error, for example "follow_gate.first_message.button can hold 20 characters").
AutomationLimits
max_sendsStop after this many DMs (the automation becomes completed). Omit for no limit.
stop_atStop at this time. Omit for no end.
AutomationStats
matchedsentskippedfailedfollowedFollow first: people who followed after the follow ask, then got the link.
follow_ups_sentFollow-ups that went out.
follow_ups_skippedFollow-ups that were kept back: no tap or message from the person inside Meta's 24-hour window, a stop, a team member's own reply, or the automation or the follow-up switched off (the reason is on each event).
linkedAnswers that went out with a link button that counts taps (actions.dm.button).
clickedOf those, the answers whose link button was tapped (the first tap per answer counts).
follow_up_clicksFollow-ups whose link button was tapped (the first tap per follow-up counts).
answeredPeople who wrote back to the account within 7 days of the answer (their first message counts once).
last_event_atAutomation
idtypeplatformThe channel the automation runs on: the connected Instagram account, the connected Facebook Page, or the connected X account. Set at create; it never changes.
statuscompleted = max_sends or stop_at was reached. A new limit or trigger starts it again.
namepost_idThe OmniSocials post the automation listens on, for the post scope. null for a post published outside OmniSocials and for the other scopes.
instagram_media_idThe Instagram media id the automation listens on. Set once the post is live on Instagram. Always null for a Facebook automation.
facebook_post_idThe Facebook Page post id ({page-id}_{post-id}) the automation listens on. Set once the post is live on the Page. Always null for an Instagram automation.
postA snapshot of the post: source (omnisocials, instagram or facebook: a post picked by id is read from that platform), id, caption, thumbnail_url, permalink, media_type and, for an OmniSocials post, status and live.
On create dm is required. On PATCH each key merges into the stored actions, so { "follow_gate": { "enabled": true } } or { "follow_up": { "delay_hours": 12 } } alone keeps the DM and the public reply.
created_atupdated_atAutomationInput
nameA label for the automations list (max 120 characters).
platformThe channel the automation runs on. Default instagram. instagram_media_id implies instagram and facebook_post_id implies facebook; a body that names another platform answers 400 validation_error. On PATCH it cannot change: another platform answers 400 platform_immutable. x answers DMs to the connected X account: only the dm kind (X allows an automated DM only after the person DMed you), the workspace needs X DMs turned on in the dashboard (else 409 x_dms_off for an active automation; status: paused saves it), every answer ends with the line "Reply STOP to stop automatic messages.", and a person who replies STOP gets no automatic DM from the account again. X does not give apps the messages of an encrypted X Chat conversation, so those get no answer.
post_idFor scope post: an OmniSocials post (scheduled or live) that goes to the automation's platform. A post that does not go there answers 400 post_not_instagram or post_not_facebook. One automation per post and platform: a post that goes to Instagram and Facebook can have one of each.
instagram_media_idFor scope post on Instagram: the numeric id of a post or reel that was published outside OmniSocials (from the Instagram API, GET /me/media). The post is read from Instagram to check it belongs to the connected account.
facebook_post_idFor scope post on Facebook: the id of a post that was published on the connected Facebook Page outside OmniSocials. Pass {page-id}_{post-id} or the post id alone (the Page id is put in front). The post is read from Facebook with the Page token; a post of another Page answers 404 facebook_post_not_found. Implies platform: facebook. Pass one of post_id, instagram_media_id or facebook_post_id.
On create dm is required. On PATCH each key merges into the stored actions, so { "follow_gate": { "enabled": true } } or { "follow_up": { "delay_hours": 12 } } alone keeps the DM and the public reply.
statuspaused creates the automation without turning it on. Default active.
AutomationEvent
idautomation_idkindWhat the person did.
outcomequeued = the answer waits for a free slot under the channel's send cap (X 15 per 15 minutes and 450 a day, Instagram and Facebook 700 an hour), or for the platform's own rate limit to end, and goes out as soon as there is room. One that found no room in time (on Instagram and Facebook 24 hours for a comment and 23 hours for a DM or story reply, on X an hour) becomes skipped with rate_limited. opted_out = the person replied STOP on X (no automatic DMs to them from the account again). waiting = Follow first (Instagram): the person got the first message or the follow ask, and the link goes out after their tap shows a follow; or the tap step of a follow-up (Instagram): the person got the message with the button, and the link goes out after the tap (see follow_gate, mode).
reasonFor skipped: already_sent, limit_reached, stopped, window_passed (comment older than 7 days), rate_limited (the send cap stayed full: for a day on Instagram and Facebook, for an hour on X), cannot_message (Meta refused the message: a Page made the comment, or the person's settings block messages), already_replied (the comment already has a private reply), dm_window_passed (their message is older than 24 hours), dms_closed (X refused: the person does not accept DMs from the account), no_credits (X DMs had no credits for the answer), opted_out (the person replied STOP before), automation_off (the automation was paused or finished while the answer waited, or before a Follow first tap), plan_inactive (the organisation had no active plan or trial, so nothing was sent; automations send only while the plan runs), already_waiting (Follow first: the person commented again while asked to follow; the link goes out after the follow). For failed: the platform's error text.
reason_labelThe reason in plain words.
trigger_idThe comment id or message id that started the event.
trigger_textThe comment or message text (300 characters); null for a comment without text (a photo, GIF or sticker comment). For dm and story_reply events it is returned only to a key with the inbox:read scope (OAuth: the social inbox permission); otherwise null.
messageThe DM that was sent.
public_replyThe public reply posted under the comment, when one was.
platform_message_idfollow_gateFollow first or the tap step of a follow-up (Instagram): where this person is. null on an event without a button step.
follow_upThe follow-up of this answer. null when none was planned (no follow-up on the automation, or the answer did not go out).
linkedtrue = the answer went out with a link button that counts taps (actions.dm.button).
clicked_atThe first tap on the answer's link button; null when it had none or nobody tapped it. Filter with filter=clicked.
replied_atWhen the person wrote back to the account, within 7 days of the answer (the first message counts; a STOP on X does not). Filter with filter=answered.
matchWith match: word: the comment or message matched keyword as another form of it (null when it matched as written, and for contains and any).
created_atsent_atAutomationResults
periodfromStart of the period: now minus 7 or 30 days, or the automation's creation for all.
toEnd of the period (now).
unitThe bucket of series: day, or week (from Monday) for all.
time_zoneThe time zone the days of series are counted in (UTC when time_zone was missing or unknown).
Counts over the events created in the period.
commentsAll comments on the automation's post in the period, as the inbox stored them (with scope any: every comment on the account or Page). null for an automation without the comment trigger. A post that is not live yet counts 0.
Why people got no DM in the period, most first.
Per day (per week for all), every bucket of the period, one count per step: the answers that went out (sent, by their send time), the first link taps (clicked, by the tap's time), the people who wrote back (answered, by the time of their first message back), and by the time of the comment or message: matched (commented), no DM (not_sent), taps of Follow first or the tap step (tapped), links sent after that tap (got_link) and follow-ups sent (follow_ups). The dashboard's chart draws one of them per step.
The posts that went live through OmniSocials on the automation's channel in the period (the numbered pins on the dashboard's chart), oldest first, at most 9: an automation on one post lists that post only. Empty on X and for an automation without the comment trigger. Compare a post's day with series to see which post brought the comments.
AutomationStory
event_idkindsaidThe comment or message (1000 characters). For dm and story_reply only with the inbox:read scope (OAuth: the social inbox permission); otherwise null.
postThe post the comment is on, as the inbox stored it; null for a DM or story reply, or when the inbox has no copy.
What the automation sends now (its current DM text and button label). What was really sent is in messages.
The DM conversation with the person from 5 minutes before the comment to 8 days after it, oldest first, at most 60 messages, as the social inbox stored it. null without the inbox:read scope (OAuth: the social inbox permission): DMs are private.
Limit
idkindplatform = the platform does not allow it, by_design = OmniSocials does not do it on purpose (neither can change through a request); not_built = not built yet, beta = open to some accounts, dashboard_only = works in the OmniSocials app only, needs_setup = works after a setup step.
kind_labelareaplatformsThe platforms it is about; empty = every channel.
titlesaysThe reason, to tell the person.
insteadrequestableWhether a feature request can name it (limit_id). False for platform and by_design.
FeatureRequest
idtitlesummarystatusteam_answerThe OmniSocials team's answer, when there is one.
Replies of the OmniSocials team, oldest first.
votes_countPeople of the organisation who asked for the same thing.
limit_idplatformareasourceWhere the request was sent from.
created_atupdated_atcompleted_atAdNetworkSettings
Meta, goal messages
lead_form_idThe network's lead form id (GET /ads/lead-forms), goal lead_generation
Microsoft: audience (default, picture ads on MSN, Outlook and Edge) or search (keywords and responsive search ads on Bing search results; goal traffic, bidding lowest_cost only, places as the only targeting; API and drafts only). A Search setup that does not fit answers 400 search_setup_invalid with the issues.