Planify

v0.4.0
com.planifyapps/planify Checked 4 days ago Published 3 months ago

Schedule and publish social posts to Twitter, Instagram, LinkedIn, Pinterest, Bluesky and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

planify_me Planify: account and plan

The plan, the permissions this API key holds, and quota remaining. Call this first if a later call fails with a payment or permission error — it says exactly what the key can and cannot do. The `endpoints` block lists every endpoint split into what this key can call and what it cannot, with the missing scope named per entry. Read it instead of discovering the boundary by being refused: a key without posts:publish can prepare and schedule everything and publish nothing, and saying so up front is better than failing the call.

planify_list_channels Planify: list connected channels

Connected social accounts, with the channel id needed by every other tool. Channels the plan does not cover are included but marked available: false — so "not connected" and "not on your plan" stay distinguishable.

planify_channel_settings Planify: what this channel accepts

Read this before writing a post. Returns, for one specific channel: the character limit, how much media it accepts, whether media is required, the rules that decide whether publishing succeeds, a JSON Schema for its platform settings, and any lookups it supports. Per channel, not per platform, because a Facebook Page and a profile differ.

ParameterTypeDescription
channel_id *stringFrom planify_list_channels.

planify_channel_trigger Planify: run a channel lookup

Fetches values that cannot be guessed — Pinterest boards, Twitter communities. Which lookups exist for a channel is listed as tools[].method_name by planify_channel_settings, and each says which post setting its result fills in. A Pinterest pin cannot be created without running the boards lookup first.

ParameterTypeDescription
channel_id *stringFrom planify_list_channels.
method_name *stringE.g. "boards" for Pinterest, "communities" for Twitter.
dataobjectArguments, matching that tool's input schema. Twitter communities needs { query }.

planify_next_slot Planify: next free posting slot

The next free time from the weekly posting schedule the user already set, skipping slots already taken. Prefer this over choosing a time yourself. Returns slot: null when the channel has no schedule — then ask the user, or send an explicit scheduled_at.

ParameterTypeDescription
channel_id *stringFrom planify_list_channels.
afterstringISO-8601. Search from later than now.
countintegerHow many slots to return. Default 1.

planify_upload_media Planify: upload an image or video from this machine

Uploads local files and returns media_urls to pass to planify_create_post. Use this for anything an agent has just produced — rendered slides, a chart, an exported video — which lives on disk and has no public URL yet. Files are sent in the order given, and that order is the order they appear in the post: for an Instagram carousel, files[0] is the first slide. Prefer this over planify_upload_media_from_url unless the file is already published somewhere public — uploading directly avoids having to host the image before the post exists.

ParameterTypeDescription
files *arrayUp to 10 files, in the order they should appear in the post.

planify_list_media Planify: list uploaded media

Media already in this account, newest first — including files uploaded through the Planify web app, not just through this server. That is what makes it possible to finish a post someone started in the browser: the images are already there, and this is how to name them. Returns next_offset when more pages exist; null means this was the last.

ParameterTypeDescription
limitintegerDefault 50.
mime_typestringPrefix match on content type, e.g. "image/" or "video/mp4". Narrows the page, not the whole library.
offsetintegerFrom next_offset on the previous page.

planify_upload_media_from_url Planify: add an image or video from a URL

Planify downloads the file and returns media_urls to pass to planify_create_post. Use this when the image already exists at a public URL — the usual case after generating one. The URL must be publicly reachable; private and internal addresses are refused.

ParameterTypeDescription
urls *arrayOne or more publicly reachable http(s) URLs.

planify_create_post Planify: create a post (draft, scheduled, or publish now)

Creates a post. Defaults to a draft. content as a string sends the same copy to every channel in channel_ids. As an array of { channel_id, content } it gives per-platform copy — which is what you want when the same idea needs 280 characters on Twitter and 2,200 on Instagram. Call planify_channel_settings first and honour what it returns, including any required platform_settings such as a Pinterest board_id. Attachments publish in the order given — media[0] is the first image, and for an Instagram carousel that is the first slide. Reordering the array reorders the post. Prefer media: [{…

ParameterTypeDescription
content *One string for all channels, or per-channel objects for different copy.
channel_idsarrayRequired when content is a string.
idempotency_keystringSend a stable value so a retry cannot double-post. Generate one per intended post.
mediaarrayAttachments with alt text, in order. Use instead of media_urls — not alongside it — when any attachment has alt text.
media_urlsarrayFrom planify_upload_media or planify_upload_media_from_url. In order — index 0 is first in the post.
platform_settingsobjectKeyed by platform: { pinterest: { board_id } }. Shape comes from planify_channel_settings.
scheduled_atstringUTC ISO-8601. Required when type is "schedule". planify_next_slot suggests one.
threadarrayPost as a thread where supported. Part one becomes the body.
typestringDefault draft. "now" needs the posts:publish scope and the user's confirmation.

planify_list_posts Planify: list posts

Posts in this account — drafts, scheduled, and published — newest scheduled first. Call this before adding to a queue, so "what is already going out this week" is answered before "add another". Each post carries its delivery outcome: status, published_at, permalink once it is live, and last_publish_error when a platform rejected it. A date window (from/to) filters on scheduled_at, so it excludes undated drafts — which is correct for a calendar question, and worth knowing when a draft seems missing.

ParameterTypeDescription
channel_idstringOnly posts for this channel.
fromstringISO-8601. Start of the scheduled_at window.
limitintegerDefault 50, max 100.
platformstringPlatform slug, e.g. "instagram".
statusstring
tostringISO-8601. End of the scheduled_at window.

planify_get_post Planify: read one post

One post in full: content, attachments with their alt text, platform settings, and what happened when it published — permalink, published_at, or the platform's error. This is how to answer "did post X go out, and where is it" for a post that was scheduled rather than published on the spot.

ParameterTypeDescription
post_id *stringFrom planify_list_posts.

planify_update_post Planify: edit a draft or scheduled post

Changes a post that has not published yet. Send only the fields to change. This is the tool that makes correcting a mistake possible: without it the only way to change a scheduled post is to create a second one, which is how duplicates happen. Prefer editing over recreating. A published post cannot be edited and the call is refused — Planify's copy would then claim text the audience never saw. Editing what is already live is a platform-side action, not this.

ParameterTypeDescription
post_id *stringFrom planify_list_posts.
contentstring
mediaarrayAttachments with alt text, in order. Use instead of media_urls when any has alt text.
media_urlsarrayReplaces the attachments. In order — index 0 is first in the post.
platform_settingsobjectKeyed by platform, as in planify_create_post.
scheduled_atstring | nullUTC ISO-8601, or null to unschedule. Required when moving to "scheduled".
statusstringMove between draft and scheduled. Cannot be used to publish.

planify_delete_post Planify: delete a post

Removes a draft or scheduled post so it will not go out. On an already-published post this deletes only Planify's record — the post stays live on the platform and must be removed there. The response says so when that is what happened. Confirm with the user before deleting anything they did not ask you to delete.

ParameterTypeDescription
post_id *stringFrom planify_list_posts.

planify_publish_post Planify: publish an existing post now

Publishes a post that already exists — the approval half of "let the agent draft it and I will approve". Irreversible and public. Needs the posts:publish scope, which keys do not carry unless asked for. Only call this when the user has confirmed this specific post should go out now; if they have not, leave it as a draft and tell them how to review it. Returns the permalink for each channel it reached.

ParameterTypeDescription
post_id *stringFrom planify_list_posts.

planify_validate_post Planify: check a post without creating it

Takes the same arguments as planify_create_post and reports whether they would be accepted. Creates nothing, publishes nothing. Use it when a post is close to a limit, or when a platform has rules you are unsure you have satisfied — it is cheaper than finding out by leaving a failed draft in someone's queue. Returns errors with the field, the rule and the numbers, plus warnings for things that would be silently ignored (alt text a platform will not deliver, a thread on a platform without threads). Content and settings only: plan limits and quotas are checked when the post is actually creat…

ParameterTypeDescription
content *As in planify_create_post.
channel_idsarrayRequired when content is a string.
mediaarrayAttachments with alt text, in order. Use instead of media_urls when any has alt text.
media_urlsarray
platform_settingsobject
scheduled_atstringUTC ISO-8601.
threadarray
typestringDefault draft. Affects whether scheduled_at is required.

planify_get_schedule Planify: read a channel's posting schedule

The weekly slots and the timezone they are written in. Returns schedule: null when the channel has none — which is also why planify_next_slot would return slot: null, so read this first if that happens rather than inventing a time.

ParameterTypeDescription
channel_id *stringFrom planify_list_channels.

planify_set_schedule Planify: set a channel's posting schedule

Sets the weekly grid planify_next_slot draws from. Replaces the whole schedule, so send every slot you want, not just new ones. Times are local wall-clock time in `timezone`, never UTC: a slot written as 12:30 in Asia/Kolkata stays 12:30 to the audience across a daylight-saving change, which a UTC time would not. Ask the user which zone they mean rather than assuming — an hour's error here is invisible until posts go out at the wrong time. This is the user's publishing rhythm, not an implementation detail. Confirm before changing a schedule they already set.

ParameterTypeDescription
channel_id *stringFrom planify_list_channels.
slots *arrayThe whole weekly grid. An empty array clears it.
timezone *stringIANA zone name, e.g. "Asia/Kolkata" or "America/New_York".