Posts
Ideas
The Ideas board holds your team’s ideas for posts, in columns your team names and orders, like New, In progress, Ready and Posted.Library
To make images with AI, ask the Postploy assistant or use the media library in Postploy.
Studio
A slideshow is a set of slides, like a TikTok or Instagram carousel. It follows a template: a reusable design with a size, a writing style, hooks and layouts. Hook layouts open each slideshow, body layouts fill the middle and closing layouts end it. A hook or closing layout can fill several slides in a row, set by itsslides, and each slide in the middle takes the body layout that suits its words, so a template can open with three before-and-after slides and mix two kinds of middle slide.
A slide or layout is a photo or a colour with
layers stacked on it, back to front. Each layer has a kind:
text: words in a font, size, colour and style.image: a picture, such as an app screen in a phone frame or a product. The frames are a phone, a browser window and an instant photo.shape: a square, circle, triangle, star, heart, speech bubble, burst or block arrow, with afilland astroke, either of which can benull. A shape can fade out towards one edge:fadeistop,bottom,leftorright(ornoneto keep it solid), andfadeLengthis how much of it fades, as a percent measured from that edge, so a dark panel at the foot of a photo with"fade": "top", "fadeLength": 50is solid in its lower half and fades away above it.line: from one point to another, solid, dashed or dotted, with an arrow or a dot at either end.draw: a freehand stroke in pen, marker or highlighter.
rotation, in degrees), faded (opacity), given a soft or hard shadow, locked in place or hidden.
A text can be bold, italic or underlined, and words within it can have their own font, colour, weight, italic, underline, highlight or size. A text is a list of runs, each with its words and optionally a font, a color, bold, italic, underline, a mark (a highlighter colour behind the words, or null for none) and a scale (its size as a multiple of the rest of the text, like 0.6 for a small note after a big price). So [{"text": "8 "}, {"text": "underrated", "font": "instrument-serif", "italic": true}, {"text": " apps"}] sets “underrated” in a second font, in italics, and [{"text": "Oat milk is "}, {"text": "free", "mark": "#fde047"}] highlights “free” in yellow.
A text also has tracking, extra space between its letters as a percent of its size, like 12 for spaced-out capitals, and an anchor: top, middle or bottom, the edge its y holds, so a text grows down, both ways or up when its words get longer. Words can show the slide’s place: {slide} becomes its number and {slides} the number of slides, so "{slide} / {slides}" reads 2 / 8. Postploy fills them in, and when it writes a slideshow it leaves those texts as they are.
Layers can follow each other. A text, picture, shape or line with below ({"ids": [...], "gap": 2}) sits under the lowest of those layers, gap percent of the slide’s height below it, so stacked pieces never overlap when words get longer. Layers that follow the same layers with the same gap move together. A shape with around ({"ids": [...], "top": 2, "right": 3, "bottom": 2, "left": 3}) is a box around those layers, like a card behind some texts, padded on each side by a percent of the slide’s width, and grows with them. Set either to null to place the layer by its own position.
A layout can repeat some of its layers as rows, like a table’s rows or a list’s items: {"ids": [...], "gap": 1.5, "most": 6, "more": [...]}. ids are the layers that make the first row, gap is the space between rows as a percent of the slide’s height, most is the most rows one slide can have, and more holds sample words for the rows after the first. Each row sits under the one before it and keeps its layers’ places among themselves.
A font is one of your team’s fonts (Postploy’s, the ones your team added and the ones it uploaded) or any family from the font catalogue, Google Fonts, by its id: the family’s name in lowercase with dashes, like dm-serif-display. That takes the family’s bold weight, or its heaviest if it has no bold, with its regular weight for words that aren’t bold. For another weight, add a colon and the weight from 100 to 900, like montserrat:900 for Montserrat Black. A family used on a slide or layout joins your team’s fonts. Fonts with their own italics, like Instrument Serif, Playfair Display and most catalogue families, draw italic words with them.
Each layout’s background and each of its pictures say where a new slideshow gets its picture: a picture source, the same picture every time, or nothing. Backgrounds come from library, stock, web or ai. web finds a picture on the web, like a logo, a badge, a product or a real place, from a link or from words like "Google Play badge", and keeps the page it came from. Pictures can also come from app-screen or app-icon, which fill a picture spot with an app’s screenshot or icon. A layout or picture spot that takes library photos can pick them from one Library collection with its collectionId, or from all of them with null, so each kind of slide can use its own collection. get_design_guide lists the sources, says which of them can fill a background and which take a collection, lists your collections, and says what each source wants to be told, like a short photo search or an app’s name. It also says which sources use AI credits for every picture they find, like ai and web, so your AI uses them only when you ask for them. Each background and picture spot also has a query: sample words for what its pictures show, like "latte art on a wooden table, warm light". It’s "" only when the spot has no picture source. The words found its example picture, and when Postploy writes a slideshow it writes each slide’s own words like them, so the pictures keep the template’s style. If a picture can’t be found or made, its spot is left empty and the rest of the slideshow is still made.
When Postploy writes a slideshow from a prompt and it needs facts it can’t know without the web, like prices, news or the real apps or places it names, it looks them up on the web first. Changes asked for in the editor look facts up the same way when they need them. The slideshow’s sources lists the pages the facts came from, and each picture found on the web keeps its own page.
Changing slideshows and templates
update_slideshow and update_template take changes: a list of JSON Patch operations on the slideshow or template as get_slideshow or get_template returns it. The operations are replace, add, remove, move and copy, and each path is a JSON pointer such as /slides/0/fill. They run in order, each on the result of the ones before, and an empty list changes nothing. Anywhere a mediaId goes, your AI can give {"find": {"source": "...", "query": "..."}} to get a new picture from a picture source. A find can add "collectionId" to pick from one Library collection; otherwise a find inside a layout or picture spot uses that one’s collectionId. Postploy looks for pictures only once the changes fit, and saves only the fields they change.
/slides/0/fill: Use a colour like #ffffff.
The slideshow tools also return fit: where each layer landed on each slide. It says how many lines a text takes, whether a layer runs off the slide, which parts of a platform’s screen cover it (like TikTok’s buttons) and which other layers it overlaps. Your AI uses it with the pictures to fix a slide before you see it.
Channels and brand
Clean up
Inputs
The tools take the same fields as the REST API. Expand a tool to see its inputs.get_platform_rules
get_platform_rules
platform(optional): one oflinkedin,twitter,instagram,facebook,tiktokoryoutube. Leave it out to get every platform.
list_posts
list_posts
from,to: a time window, as ISO 8601. Give both or neither.statusGroup: any ofdraft,approval,scheduled,publishedandfailed.attention:truefor posts that need someone.trashed:truefor the posts in the trash.sort:desc(newest first, the default) orasc.page(from0) andlimit(up to 100).
get_post
get_post
id: the post’s id.
validate_posts
validate_posts
posts: up to 50 posts. Each has asocialAccountId, or just aplatformwhile you’re planning, plustext,title,mediaIds,threadandplatformFields.
schedule_posts
schedule_posts
posts: up to 50 posts. Each hassocialAccountId,text, and optionallytitle,mediaIds,scheduledAt,timezone,status,threadandplatformFields.publishNow:trueto publish right away.slideshowId(optional): the slideshow these posts carry, aftersave_slideshowput its slides in your media library.ideaId(optional): the idea these posts are written from.
scheduledAt is required unless status is draft or publishNow is true.update_post
update_post
id: the post’s id.- Any of
socialAccountId,text,title,mediaIds,scheduledAt,timezone,status,threadandplatformFields. Fields you leave out keep their values. publishNow:trueto publish it right away. For a failed post, that tries again; fix what itsfailureReasonsays first.ideaIdorslideshowId(optional): attaches the post to an idea or a slideshow.
restore_posts
restore_posts
ids: up to 100 posts’ ids fromlist_postswithtrashed.
send_for_review
send_for_review
postIds: up to 50 drafts or posts waiting for approval.reviewer: the reviewer’s name. Someone your team has sent posts to before keeps the same link.email(optional): where to email the link. Leave it out to share the link yourself.message(optional): a note shown with the posts and in the email.
review.list_media
list_media
search(optional): words in file names and descriptions.type(optional):image,videooraudio.collectionId(optional): just the files in one collection.page(from0) andlimit(up to 30, 12 by default).
update_media
update_media
id: the file’s id.fileNameandaltText(optional). An emptyaltTextclears it.
save_collection
save_collection
id(optional): the collection to change. Leave it out to create one, with atitle.titleanddescription(optional).addandremove(optional): ids of photos and videos to put in or take out. They stay in your media library either way.
search_stock
search_stock
query: what to look for, likelatte art close up.kind(optional):image(the default) orvideo.page(from0) andlimit(3 to 20, 12 by default).
url to import_media.import_media
import_media
url: anhttpsURL.fileName: a name ending injpg,jpeg,png,webp,gif,mp4ormov.
get_template, get_slideshow
get_template, get_slideshow
id: the template’s or slideshow’s id.
create_template
create_template
name: up to 60 characters.ratio: the size of every slide,9:16,4:5,1:1or16:9.layouts: the hook layouts, then the body layouts, then the closing layouts, at least one of each, shaped like the layoutsget_templatereturns. Each has anidof your choosing, and a hook or closing layout can setslidesto fill several slides in a row.writing: how to write the words, like “First person, all lowercase”.whenToUse: what the template suits, like “Short lists of apps”.hooks(optional): first lines for slide 1 of future slideshows.
update_template
update_template
id: the template’s id.changes(optional): JSON Patch operations on the template, as described in Changing slideshows and templates. They can change itsname,ratio,layouts,writing,whenToUse,topics,photosandautopilot.copy(optional):truesaves the result as a new template and leaves this one as it is. With no changes, that duplicates it.favourite(optional):truestars it in Studio,falseunstars it.
autopilot on, Postploy makes a slideshow in the template at each set time and posts it to its channels, following your team’s approval rules.make_slideshow
make_slideshow
templateId: the template’s id.slides: in order. The template’s hook layouts take the first slides and its closing layouts the last ones, each for as many slides as it fills, and every slide between takes a body layout. Each slide hastexts, the words for its layout’s text spots in order, leaving out the texts in its rows and the ones that show the slide number, each as a string or as runs to give some words their own font, colour or size, make them bold or not, italic or underlined, or highlight them. Where the layout’s sample words set some words apart, set apart the matching words of yours the same way. A text keeps to as many lines as its layout’s sample words take, so longer words come out smaller. Optionally a slide also has:layout: for a slide between the hook and closing slides, theidof the body layout it takes. Left out, it takes the template’s first body layout.rows: for a layout with rows, the words of each row in order, a list per row with the words for each of the row’s texts. A slide takes at most the layout’srows.mostrows.photo: the photo behind the slide, as the id of a photo in your media library, a{"find": {"source": "...", "query": "..."}}(with"collectionId"to pick from one Library collection), ornullfor just the colour. Left out, the slide keeps its layout’s own photo when the layout has no picture source.images: the pictures for its layout’s picture spots in order, as ids or finds, withnullto leave a spot empty. Spots you leave out keep their layout’s own picture when the spot has no picture source.
title,captionandsound(optional).soundis{"kind":"track","id":"…"}for one of Postploy’s sounds or{"kind":"upload","mediaId":"…"}for one of yours, and plays in the video.
slides and give:count: how many slides, 3 to 10.prompt(optional): what it’s about. Left out, Postploy starts from the template’s next hook or topic.photos(optional): where this slideshow’s background photos come from.backgroundsistemplateto keep each layout’s own (the default),colourfor just the colour, or a picture source id for every layout that shows a photo. Withlibrary,collectionIdpicks one Library collection, ornullall of it; with anything else it’snull.
state set to making, and get_slideshow with its id waits for the rest.update_slideshow
update_slideshow
id: the slideshow’s id.changes(optional): JSON Patch operations on the slideshow, as described in Changing slideshows and templates. They can change itstitle,brief,caption,ratio,soundandslides.copy(optional):truesaves the result as a new slideshow and leaves this one as it is. With no changes, that duplicates it.
save_slideshow
save_slideshow
id: the slideshow’s id.as:photosorvideo.
design_template
design_template
from: what Postploy designs it from:post,screenshots,describedorslideshow.url: withpost, the link to a TikTok or Instagram post.mediaIds: withscreenshots, a picture of each slide from your media library, in slide order.text: withdescribed, how it looks, like where the words go and how they’re styled.slideshowId: withslideshow, the slideshow’s id, plus an optionalnameandwhenToUse.
below, so they stay together when a slideshow’s words are longer or shorter. The post’s slides stay with the template, so asking for a change to it can bring a slide closer to the post.A copy uses AI credits for its design and for the check against the post, and it starts only when your team has enough left for both. Otherwise it stops at once with the error, before using any.Designing takes about a minute. If it isn’t done by then, the template comes back with state set to designing and the step it’s on, and get_template with its id waits for the rest. If Postploy can’t open the post, for example because it’s private or age-restricted, the error says so. Screenshots of its slides work instead.get_brand_voice
get_brand_voice
No inputs. It returns
voice: your brand voice as text, including what your team hasn’t set yet.list_ideas
list_ideas
search(optional): words in titles, notes and tags.columnId(optional): one column’s ideas.page(from0) andlimit(up to 100, 50 by default).
get_idea
get_idea
id: the idea’s id.
add_ideas
add_ideas
ideas: up to 20 ideas. Each has atitle, and optionallynotes,tagsandmediaIds.columnId(optional): the column to add them to. Left out, they go in the first column.
update_idea
update_idea
id: the idea’s id.- Any of
title,notes,tagsandmediaIds. Fields you leave out keep their values, andtagsandmediaIdsreplace the saved lists. columnId(optional): moves the idea to that column, at the end unlessplacesays otherwise.place(optional): where it goes in its column:top,endor{"after": "<idea id>"}.
update_idea_columns
update_idea_columns
columns: every column to keep, left to right, each with itsidfromlist_ideasand itsname. A new name renames a column, a column without anidis added, and a column you leave out is removed. Up to 12 columns, each with its own name.
save_channel_set
save_channel_set
id(optional): the set to change. Leave it out to create one, with anameandaccountIds.nameandaccountIds(optional).accountIdsreplaces the set’s channels.
delete
delete
- Any of
posts,ideas,media,collections,slideshows,templatesandchannelSets: up to 100 ids each.
