https://app.trypost.it/api with a workspace API key.
1
List the social accounts
Find the channel to post to and read its limits.
2
Check the content types
Pick a format and fill the settings the network requires.
3
Create the post
One post per channel, or one call for several channels.
4
Schedule, queue or publish
At a set time, in the channel’s queue, or right now.
1. List the social accounts
List social accounts returns the channels connected to the workspace. Channels are connected and removed in the app; the API only reads them.2. Check the content types
List content types describes every network: its content types, text and hashtag limits, the settings it requires and the media each format takes.
When you omit
content_type, it is picked like the app does: on Pinterest a video makes pinterest_video_pin and several images pinterest_carousel, on TikTok images only make tiktok_photo, and every other network takes its default format.
Required settings
A post carries its network’s settings inmeta. A draft can be saved without them; scheduling or publishing needs them:
Every other setting is optional: link previews, AI labels, Instagram collaborators and trial reels, YouTube privacy and category, Mastodon content warnings, Threads topics, and more. The full list per network is under
meta on Create post. Keys TryPost does not know are dropped; settings of another network are accepted but not used.
3. Create the post
Create post creates one post on one channel: send itssocial_account_id, and its content_type and meta next to it at the top level. Without status, the post is saved as a draft. A platforms field is refused with 422.
201), with status: "draft", publish_status: "pending" and its channel at the top level: platform, content_type, meta and social_account. Media can come from a URL, an earlier upload or another post; see Media uploads.
Several channels at once
To send the same post to several channels, use Create posts in batch. It creates one independent post per destination, all sharing apost_group_id, the same as selecting several channels in the app. Each destination can override the shared content, media, content_type and meta. status is required here.
{ "posts": [...] }, one post per destination. A validation error stops the whole call; errors name the destination, for example destinations.1.meta.privacy_level.
4. Schedule, queue or publish
status decides what happens to a post. Send it on create, or later with Update post:
At a set time
Sendstatus: scheduled with scheduled_at, an instant in the future and before 2038-01-19. Give it in UTC (Z) or with an offset.
In the channel’s queue
When the channel has posting times (has_posting_schedule: true), send queue instead of scheduled_at:
nexttakes the channel’s first free slot.toptakes the first slot not held by a post with a set time, and moves the queued posts behind it to the next free slot.
queue_slot with an instant from List free queue slots. It works on Create post only, and fails with 422 when the slot has been taken in the meantime. queue cannot be combined with scheduled_at or queue_slot. When you send queue_slot, it sets the time; do not send scheduled_at with it.
A queued post keeps its slot. To change the order, use Reorder queue or Move post to queue slot; to change the times, Update posting schedule (it replaces the whole schedule: send the timezone (required) and the current posting_goal and posting_schedule to keep them, since omitted values are cleared). To repeat a scheduled post, see Set post recurrence.
Another change to the same channel queue can be running when you call. The API then answers
409; retry the request.Now
Sendstatus: publishing, on create or on an existing draft or scheduled post:
status: "publishing" while the network receives the post. It then becomes published or failed. The network’s side is in publish_status (pending, publishing, retrying, pending_review, published, failed, rejected or deleted); platform_url links to the live post and error_message says what went wrong. A published post that is later deleted on the network keeps status: published and its platform_url, and its publish_status becomes deleted; the post.deleted_on_network webhook event reports it. Poll Get post, or subscribe a webhook to post.published and post.failed.
Posts created through the API publish directly: API keys belong to workspace admins, so no approval step applies (see Approvals).
Thread replies
X, Bluesky and Mastodon posts can carry up to 24 replies, published one under the other below the first post. Send them inmeta.thread_replies, each as { "text", "media" }:
- A reply needs text or media. A poll reply needs text and carries no media.
- Each reply’s text must fit the account limit: 280 on X (25000 with long posts), 300 on Bluesky, 500 on Mastodon. On Mastodon the content warning (
spoiler_text) is repeated on every reply and counts toward it. - A reply’s media belongs to that reply only: up to 4 items, given by
url,idorupload_token, following that network’s media rules. - On Update post,
thread_repliesreplaces the whole list. - On X and Mastodon, a reply can be a poll instead:
{ "text", "poll" }, with no media. See Polls in a thread.
LinkedIn comment
A LinkedIn post (linkedin_post or linkedin_page_post) takes one reply in meta.thread_replies, published as a comment from the same profile or page right after the post:
- The comment has no
content_typeof its own: it is a reply of alinkedin_postorlinkedin_page_post.linkedin_commentis not accepted as a post’scontent_type. - The comment is text only, up to 3000 characters. HTML is handled as in the post (bold and underline converted, other tags stripped). A link in it gets no preview card.
- A draft accepts up to 24 replies, with media, like any thread. Scheduling or publishing refuses a second reply (“Only one comment can follow this post.”), media on the comment, an empty comment (“Your comment is empty.”) and one over 3000 characters.
- If LinkedIn is not ready for the comment right after the post,
publish_statusisretryingfor up to about five minutes. Those retries only add the comment, never the post again. If LinkedIn refuses the comment, or is still not ready after that, the post isfailedwith “Published 1 of 2 posts in the thread: …”, and the post stays live.
Polls
A poll is its own content type on three networks:x_poll on X, mastodon_poll on Mastodon and threads_poll on Threads. The post content is the question and meta.poll holds the choices, plus how long voting stays open on X and Mastodon:
A key the network does not take (
multiple or hide_totals off Mastodon, duration_minutes on Threads) is dropped when the post is saved.
options: no two the same (compared without case). Blank choices are dropped. Each choice is counted as X counts it, on every network: an emoji outside the basic plane, such as 🐧, counts as two characters.- Repeated choices, more than 4 choices, a choice over the network’s limit, a
duration_minutesoutside the network’s range and media are refused on every save, drafts included, on the post’s poll and on reply polls. - A poll carries no media. Media on a poll, or an attach to one through Upload media, Attach media from upload or Attach media from URL, is refused with “This post type can’t include media. Change the post type to add media.”
- A poll draws no link card, and a Threads poll can still take a
topic_tag. A Mastodon poll can take a content warning (spoiler_text). - A draft can lack the question, the choices or the length. Scheduling or publishing needs a question, at least 2 choices and, on X and Mastodon,
duration_minutes; there is no default length through the API. - On Update post,
meta.pollis merged key by key: send onlyduration_minutesand the stored choices are kept.optionsreplaces the whole list.meta.pollis kept only on a poll content type: changecontent_typeback tox_post,mastodon_postorthreads_post, or send a poll with any other type, and it is dropped.
Polls in a thread
On X and Mastodon any reply of a thread can be a poll too, under that network’s rules, with the replytext as its question:
poll is dropped. A poll can’t be a repurpose destination.
Poll results
Get post preview returns the poll of the post and of each reply as it is sent. After publishing, Get post metrics returns the votes inmetrics.publication.poll, and each reply poll in metrics.publication.thread_polls (reply is the reply’s position, from 0). Votes are read with the post’s other metrics:
- X: about an hour after publishing and then 2, 3, 7, 14 and 28 days later.
- Mastodon: about an hour after publishing and then once a day for 31 days. A multiple-choice poll also returns
multiple: trueandvoters, the number of people who voted; a poll with hidden totals returnstotals_hidden: trueand 0 votes per choice until Mastodon reveals them. Reply polls are read on instances running Mastodon 4.3 or later. - Threads: about an hour after publishing and then once a day for 30 days, until a read after the poll’s end stores it closed.
end_datetimeis the end Threads set.
voting_status is closed only once a read after the poll ended has seen it closed.
Content limits
Network limits are checked when a post is scheduled or published; drafts can go over them. The 25000-character ceiling applies to every post, drafts included.- Text per account. The text must fit the account’s
max_content_length, measured on the text the network receives. An X account with long posts takes 25000 characters; other X accounts take 280. An X poll’s question takes 280 on every account. An emoji counts as one character. - Instagram hashtags. Instagram takes at most 5 hashtags per post.
- Stories are captionless.
instagram_storyandfacebook_storysend no text, so their text is neither published nor measured, and the hashtag cap does not apply. - Media. Each content type has its own media count, size, duration and aspect ratio rules, listed by List content types and on each network’s page, for example Instagram, X or TikTok.
Editing, deleting and errors
- Update post changes only the fields you send. The channel is fixed; to post elsewhere, create a new post. Send the settings as top-level
content_typeandmeta(platformsis refused).metais merged with the stored settings; sendnullfor a key to clear it. Boolean settings cannot be cleared: sendtrueorfalse. - Posts that are
publishing,publishedorfailedcannot be edited or deleted: the API answers422. - Delete post removes the post from TryPost only. It never deletes anything already published on a network.
- Validation errors are keyed by field:
meta.board_id,content_type,content,mediaon Create post and Update post;destinations.N.…on Create posts in batch.

