Create a post

Create a new post to publish or schedule across multiple social media platforms simultaneously.

Create a new post to publish or schedule across multiple social media platforms simultaneously. A post might mean something different depending on the context and the platform - for example, a single X post, a multi-thread X post, a LinkedIn post, or an Instagram Reel or Story. Posts use a container model where each container holds content for one segment (e.g., individual tweets in an X thread, or carousel items). Each container after the first is published as a reply or comment: on X, Bluesky, Facebook and Reddit it chains onto the previous container's reply/comment, so a failed segment still lets the rest publish as a shorter chain continuing from the last one that succeeded; on Threads and LinkedIn it attaches directly to the root container instead. Specify target platforms via the accounts array, referencing each connected account by its id from GET /v1/social-accounts (preferred) or its exact username - network names (e.g. x, linkedin) and nicknames are not identifiers and do not resolve. The request is rejected with 400 only when none of the supplied identifiers resolve, so an entry matching nothing alongside one that matches is dropped silently. Provide the post body either as a single content string or as a containers array of { content, media } objects - one of the two is required. Attach media by adding media objects to a container, each { url, filename } where url is the publicly accessible URL returned by the confirm-upload step (see Media API); media is not referenced by id. Include scheduledAt (ISO 8601 format, e.g. 2025-06-01T12:00:00Z) to schedule the post for future publishing, or omit it to publish immediately. Platform-specific options (e.g., TikTok privacy settings, YouTube categories, Pinterest board IDs) are provided as top-level keys named after the network (tiktok, youtube, instagram, threads, google_business, pinterest, linkedin, facebook, vimeo, reddit, x, bluesky) - not nested under any wrapper object. Every one of those blocks also accepts content: text published on that network instead of the shared body, so one post can carry a professional LinkedIn version, a casual Instagram caption and a short X version while the top-level content remains the fallback for the rest. Only the root text is overridden - media, first comments and thread replies stay shared, and two accounts on the same network get the same override. The response echoes these back nested under networkOverrideConfiguration (e.g. tiktokConfiguration), so the request and response shapes for platform config differ by design. Unrecognised top-level keys are ignored and reported in the response warnings array. Threads limits each container to 500 characters, so a request targeting a Threads account - on its own or cross-posted alongside other networks - is rejected with 400 if any container is longer; when threads.content is set, that override is checked in place of the shared body, which is how a long LinkedIn post cross-posts to Threads. Managed-key YouTube uploads are admitted at execution time from a shared paced daily pool; scheduling never reserves capacity. A denied YouTube destination fails independently and its existing error string (also in webhook results) contains a stable reason code (release_pending, org_limit_reached, daily_limit_reached, provider_quota_exhausted, or quota_unavailable) and an ISO 8601 retryAt when known. retryAt estimates earliest eligibility for a capacity release, organization-cap relaxation, or next Pacific quota day; it is not a reservation. Retry manually: once quota is available, call POST /v1/posts/{id}/retry (optionally with accounts set to that YouTube account), which works on partially published posts and never republishes accounts that already published. BYOK bypasses the shared pool; dispatched attempts are not refunded on failure. Google Business EVENT and OFFER posts require an event title, startDate, startTime, endDate and endTime. CALL buttons omit callToAction.url; other action types require it. Google ignores callToAction on OFFER posts. Facebook videoCoverUrl accepts a public HTTP(S) JPEG cover up to 10,000,000 bytes for exactly one video, including Reels. Stories cannot have covers. The image is validated before video upload; applying the cover after publication is best-effort and rejection leaves the video published. The tiktok block also configures TikTok Business (tiktok-business) accounts, with these rules: tiktok.brandOrganicToggle, tiktok.brandContentToggle and tiktok.isAigc are required; drafts (postMode: MEDIA_UPLOAD) and any privacyLevel other than PUBLIC_TO_EVERYONE are rejected with 400; the post needs exactly one container holding either one video (mp4, mov, webm) or 1-35 photos (jpg, jpeg, webp), identified by URL file extension; tiktok.photoCoverIndex picks the cover of a photo post. The tiktok_business block is a deprecated alias. Instagram carousels support 2-20 images or videos total across all containers. Posts targeting Instagram with more than 20 media items are rejected with 400, including scheduled posts; media is never truncated. Stories and Reel-only options still require a single media item. Facebook link carousels require parent facebook.link and 2-5 childAttachments (alias child_attachments). Optional post-level callToAction (alias call_to_action) requires a supported type and value.link exactly matching the parent. Per-card callToAction (alias call_to_action) requires a supported type; value and value.link are optional, but a supplied HTTP(S) value.link must equal that card link. Per-card forwarding is experimental; organic rendering is not guaranteed. Post-level CTA is never copied to cards. No root media, Story, Reel or videoCoverUrl. Unknown fields in nested objects and array items are reported in warnings and stripped.

Permissions: Requires posts:create and posts:publish. Access is limited by the API key creator's current organization membership and stored key ceiling. See Organization permissions. This REST create route requires publish permission even for a draft; dashboard draft creation can use create alone. Media processing additionally requires media:process.

POST
/v1/posts

Header Parameters

Idempotency-Key?string

Optional client-generated key (a UUID v4 is ideal, max 255 printable ASCII characters) that makes this create safe to retry. Retrying with the same key and the same request body returns the original response together with an Idempotency-Replayed: true header, instead of creating a second post. Keys are scoped to your organization and to this endpoint, and are remembered for 24 hours.

Lengthlength <= 255

Request Body

application/json
  1. body

Schema for creating a new Post. A 'post' might mean something different depending on the context. For example, a 'post' might be a single tweet, a single LinkedIn post, a single Instagram Reel or Story, etc.

containers?array<>

Array of post containers. Each container represents a combo for the post content with its own text and media. Use this if you want to create a post with automated follow-up replies or comments after the root container (chaining behavior varies by network, see the container schema). Otherwise, use the 'content' field.

content?string

Simple text content for the post. Use this for single-container posts. Either 'content' or 'containers' must be provided. If you use 'containers', the first container will be the root container and the rest will be published as a reply/comment chain after it (chained onto the previous container on X, Bluesky, Facebook and Reddit; attached directly to the root container on Threads and LinkedIn). Threads rejects content longer than 500 characters, so a post targeting a Threads account (including when cross-posting alongside other networks) is rejected with 400 if it exceeds that - unless threads.content supplies a Threads-only body, which is what gets checked instead. To publish different text on one network, put content inside that network's block (e.g. linkedin.content); this field is then the fallback for every network without one.

accounts*array<string>

Array of social media account identifiers where this post will be published. Each entry is either the account's id as returned by GET /v1/social-accounts (preferred) or the account's exact username. Network names (e.g. 'x', 'linkedin') and nicknames are NOT identifiers and will not resolve. Account ids are opaque - pass back exactly what the API returned and never construct one. A username is matched by exact equality with no network or active-account filter, so a username shared across networks publishes to every account that carries it. The request is rejected with 400 only when NONE of the supplied identifiers resolve; if at least one resolves, the unresolved entries are silently ignored, so compare the returned socialAccounts against what you sent.

Items1 <= items
scheduledAt?string

ISO 8601 timestamp for when the post should be automatically published. If not provided, the post will be published immediately (unless it's a draft). If a time in the past is provided, the post will be published immediately. The maximum time in the future is 30d - a later timestamp is rejected with 400 and no post is created.

Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
threads?

Custom and override configuration for Threads content. Not to be confused with threaded content or anything other than the Threads By Instagram - the social network.

instagram?

Custom and override configuration for Instagram content.

youtube?

Custom and override configuration for YouTube content.

tiktok?

Custom and override configuration for TikTok content. The same block configures TikTok Business (tiktok-business) accounts, which also require brandOrganicToggle, brandContentToggle and isAigc, only support DIRECT_POST to PUBLIC_TO_EVERYONE (no drafts or private posts), and accept photoCoverIndex for photo posts.

google_business?

Custom and override configuration for Google Business Profile content.

pinterest?

Custom configuration for Pinterest content. board_id is required when publishing to Pinterest.

vimeo?

Vimeo-specific video configuration

linkedin?

Custom configuration for LinkedIn content.

facebook?

Custom configuration for Facebook content.

reddit?

Custom configuration for Reddit content. subreddit and title are required when publishing to Reddit. Only text (self) and link posts are supported - media containers are rejected.

x?

Custom configuration for X content.

bluesky?

Custom configuration for Bluesky content. Currently only the per-network content override.

processMedia?boolean

Opt in to automatic video processing. When true, video media is inspected and re-encoded to each target network's requirements (container, codec, resolution, frame rate and file size) before publishing, and the correct rendition is sent to each network. Leave unset to publish the file exactly as supplied. Billed per rendition produced, by output duration in 10-second blocks (rounded up, minimum one block per rendition); validation and inspection are always free. Has no effect on posts without video media.

Response Body

Post created successfully and scheduled for publishing. Carries Idempotency-Replayed: true when this is a replay of an earlier request with the same Idempotency-Key.

application/json
  1. response

Successful post creation response

success*boolean

Whether the post creation was successful

warnings?array<string>

Non-fatal warnings about the request. Used to report keys in the request body that were not recognised and were therefore ignored - both top-level keys (e.g. the deprecated 'socialAccountIds'/'mediaIds' shapes, or the response-only 'networkOverrideConfiguration' wrapper) and keys inside a platform-config block (e.g. 'tiktok': { 'post_mode': ... } when the field is named 'postMode'). Unrecognised keys are dropped before the post is stored, so a warning here means the setting you sent is not in effect. Present only when there is at least one warning.

post*

The post object

Example Request
curl -X POST 'https://api.outstand.so/v1/posts' \  -H 'Content-Type: application/json' \  -d '{  "accounts": [    "string"  ]}'
Example Response
{  "success": true,  "warnings": [    "string"  ],  "post": {    "id": "string",    "orgId": "string",    "publishedAt": "2019-08-24T14:15:22Z",    "scheduledAt": "2019-08-24T14:15:22Z",    "isDraft": true,    "createdAt": "2019-08-24T14:15:22Z",    "socialAccounts": [      {        "id": "string",        "nickname": "string",        "network": "string",        "username": "string"      }    ],    "containers": [      {        "id": "string",        "content": "string",        "media": [          {            "id": 0,            "url": "http://example.com",            "filename": "string"          }        ]      }    ],    "networkOverrideConfiguration": {      "property1": null,      "property2": null    },    "scheduled": true  }}