Skip to main content
manage_social_posts makes, schedules, reads and changes posts on the connected social accounts. Calls are free.

A post

create takes:
  • caption, the text of the post.
  • media, library item ids or refs in the order they are shown: pictures or videos stored in the cloud, or one PDF as a LinkedIn document.
  • targets, the accounts. Each has an account_id, optionally its own caption, and its options.
  • scheduled_for as YYYY-MM-DDTHH:mm in the user’s time zone. Left out, the post goes now.
  • card_id, the calendar card the post is made from. Left out, a card is made, so every post is on the calendar.
A post is checked against each platform’s rules before it goes, and against what the platform received after. check takes what create takes and returns whether the post would pass, making and sending nothing.

Options per platform

choices with an account_id returns every option a post to that account takes, with its kind, limits and values, and what the account itself offers for them: privacy levels, boards, playlists, Pages, company pages, music. With lookup and query it searches locations (a place for a TikTok video) or audio (a track for an Instagram reel). An option the platform does not have is refused by name.

Covers and alt text

cover is a library picture shown as the cover of the post’s one video: the YouTube thumbnail, and the cover on an Instagram reel, Facebook, LinkedIn and Pinterest. TikTok takes a frame of the video, set with cover_at_ms. alt_text gives a picture’s description for people who cannot see it, keyed by the picture’s id or ref as given in media, up to 1,000 characters.

What each platform takes

Each paid X slot includes 100 posts a month, 3 of them with a link, counted across all of the owner’s workspaces. Each post of a thread counts, and an X Article counts as 2.

Statuses

get reads a post with each account’s result, and list returns the newest posts or, with card_id, a card’s. list with status returns up to 100 posts in that state. hold: true on create keeps a post as held. A workspace can require this of every post an agent makes; see Approval and what agents can do.

Changing a post