Relay speaks the Model Context Protocol, so an AI agent can list your accounts, upload media, compose, schedule, and check what happened — with the same permissions and validation as the REST API, behind the same key.
Streamable HTTP (POST, GET, DELETE on one URL). POST responses are plain JSON; the GET stream exists for protocol compliance but carries no server-initiated messages on this stateless server.
Session mode
Stateless — no Mcp-Session-Id, a fresh server instance per request
Auth
Bearer API key in the Authorization header (no OAuth flow): a scheduler key (rly_live_) or a workspace key (rly_ws_)
Tools
39, all with output schemas; every tool except auth_status also declares an input schema
Resources / prompts
None — the surface is tools only
A workspace key (rly_ws_…, from Settings → Developers in the growth app) gets the growth tools at this same endpoint instead: whoami, list_apps, get_product_brief, get_today_plan, approve_move, dismiss_move, list_opportunities, get_signal, draft_reply, create_content_draft, get_draft, run_quality_gate, render_draft, list_accounts, schedule_post, get_post, get_post_subtitles, update_post, list_assets, update_asset, pause_workspace, get_analytics, list_experiments, get_experiment, list_jobs. They call the growth API with the key, so its scopes (read, draft, publish; publish is off unless asked for), plan limits and the audit log apply. The rest of this page covers the scheduler’s tools.
Because the server is stateless, there's no session to keep alive and no reconnect dance: every request is independently authenticated and independently isolated. Clients that only speak the deprecated HTTP+SSE transport, or that can't send a custom header, need the mcp-remote bridge shown under Claude apps below.
An API key grants full publishing rights to every account its owner has connected. Treat it like a password: store it in your client's secret store or an environment variable, never in a file you commit.
Connect a client
Create a key at API keys first — it's shown once. Every snippet below assumes it's in $RELAY_API_KEY.
Claude Code
claude mcp add --transport http relay https://api.relay.lantean.tech/mcp \
--header "Authorization: Bearer $RELAY_API_KEY"
claude mcp list # should report: relay ✔ Connected
Claude apps (claude.ai and Claude Desktop)
Add Relay as a custom connector: Settings → Connectors → Add custom connector, paste the endpoint URL, and put Bearer $RELAY_API_KEY in the request-header field. Header authentication for custom connectors is rolling out gradually; if your account doesn't have it, use the local bridge below instead.
claude_desktop_config.json — bridge for clients without header auth
Put this in .vscode/mcp.json — VS Code prompts for the key on first use and keeps it out of the file. Headers set in a workspace .mcp.json are ignored, so use .vscode/mcp.json.
For interactive debugging, point the official inspector at the same URL: npx @modelcontextprotocol/inspector.
Tool reference
39 tools. Each declares a JSON Schema for its input and its output, so clients validate structured results rather than parsing prose.
auth_status
read-onlyidempotent
Verify that the Relay API key is valid and list the Instagram, TikTok, YouTube and Threads accounts it is authorized to publish to. Call this at the start of a session, or whenever another tool reports an authentication error, to tell a bad key apart from a missing account connection.
Returns auth: { authenticated, key_name, key_prefix, key_created_at }. accounts: [{ id, platform, handle }] — a short summary; use accounts_list for health and follower counts.
accounts_list
read-onlyidempotent
List the social accounts this API key can publish to, with connection health, token expiry, and follower/media counts. The returned id values are what post_create takes as targets — always resolve a handle to an id here rather than guessing.
Field
Type
Description
platform
string?
Filter by instagram, tiktok, youtube or threads Example: instagram
Returns accounts: [{ id, platform, handle, name, health, can_comment, can_direct_post, can_upload, can_read_insights, can_message, can_list_videos, token_expires_in_days, connected_at, followers_count, media_count, stats_synced_at }]. health is connected, expiring (token dies within 7 days), reconnect_required, or disconnected — only connected and expiring accounts can be posted to. can_comment is false when an Instagram account has not granted the permission first comments need (always false on TikTok and YouTube, which get no first comments through Relay); posting still works, the first comment is what gets skipped, and the user fixes it by reconnecting the account in the Relay dashboard. can_direct_post / can_upload say whether a TikTok account granted posting straight to its profile (tiktok.mode "direct") and sending to its inbox (tiktok.mode "inbox"); on YouTube, can_direct_post says whether the account lets Relay upload videos, and can_upload is always false (YouTube has no inbox); both are false on Instagram. can_read_insights and can_message say whether an Instagram account granted insights (ig_media_insights, ig_account_insights) and direct messages (ig_conversations_list, ig_messages_list, ig_message_send); can_list_videos says whether a TikTok account granted its video list (tiktok_videos_list, tiktok_videos_query), or a YouTube account lets Relay see its channel (youtube_channel_info, youtube_videos_list, youtube_videos_query). On Threads: can_comment says whether the account lets Relay manage replies, which a thread's further posts (threads.thread), a reply_control other than everyone and threads_reply_hide need — posting a single post works without it; can_direct_post is the permission to publish, which every Threads account Relay connects has; can_read_insights covers threads_post_insights, threads_account_insights and the follower count; can_list_videos is true, since threads_posts_list needs nothing more; can_upload and can_message are always false (Threads has no inbox and no messages). A Threads account's media_count is always null (Threads reports none), and its followers_count stays null without insights. A false flag is fixed by reconnecting the account in the Relay dashboard, once the operator has enabled that permission — Relay always asks YouTube for each of its permissions, so for YouTube the user reconnects and leaves every box ticked on the Google consent screen.
post_create
writesopen-world
Create a post for one or more connected Instagram, TikTok, YouTube and/or Threads accounts: published immediately, scheduled for later, or staged as a draft for a human to approve. Resolve target account IDs with accounts_list first. media takes Relay media IDs (from media_upload) or public https URLs, which are fetched and stored automatically. A media entry can also set the file's alt text: instead of a bare string, pass { id, alt_text } for a stored media ID or { url, alt_text } for a public link (exactly one of id or url). Alt text belongs to the file, so it is the same in every post that uses it (null clears it); Relay sends it to Instagram on images and to Threads. A per-slide caption ({ id, caption }) is still accepted on a carousel, but it is deprecated: Instagram shows no per-slide caption, so Relay keeps it and posts it nowhere. post_type: 'feed' (exactly 1 JPEG image), 'reel' (exactly 1 MP4/MOV video, 3 seconds to 15 minutes, optional share_to_feed), 'story' (1 image, or a video of 3 to 60 seconds; Instagram shows no caption on stories), 'carousel' (2-20 images/videos on Instagram). Omit post_type to infer it from the media (1 image → feed, 1 video → reel, 2+ → carousel; stories are never inferred). On TikTok a reel becomes a video post and feed/carousel become a photo post, which takes images only — 1 to 35 of them when no Instagram account is targeted; stories are rejected for TikTok targets. Every TikTok target needs the tiktok object: mode 'direct' (default) posts straight to the profile and requires privacy_level, which must be one the creator allows (check tiktok_creator_info) and has no default — ask the user; mode 'inbox' sends it to the creator's TikTok inbox to finish in the app (an inbox video goes without its caption and AI label, which the user adds in TikTok; an inbox photo post keeps both). Until TikTok has audited Relay's app (tiktok_creator_info's audit_pending), a Direct Post's privacy_level can only be SELF_ONLY. TikTok asks the creator themselves to choose who can see a Direct Post and agree to its terms in Relay, so a post with a TikTok target in mode 'direct' is never published or scheduled from here: it is saved as a draft (status 'draft', whatever draft and schedule_at say) and preview_url opens it for the user to finish in Relay's composer. Use mode 'inbox' for something that goes out without that step. tiktok.caption overrides the caption on TikTok only; tiktok.title is a photo post's title (≤90). A video's cover is cover_frame_ms (a frame of the video, in ms) or, on an Instagram Reel, cover_image; a YouTube video takes cover_image as its thumbnail. instagram sets Instagram's AI label (ai_generated), a trial Reel (trial_graduation) and comments off after publishing (comments_off). On YouTube a post is exactly one MP4/MOV video (post_type 'reel', or omit it), and YouTube decides the format: a square or vertical video up to 3 minutes becomes a Short, anything else a regular video — there is nothing to choose. Every YouTube target needs the youtube object: title, privacy_status and made_for_kids have no default — ask the user. The caption is the video's description unless youtube.description is set. YouTube requires the person to see its upload notice and confirm the upload in Relay, so a post with a YouTube target is never published or scheduled from here either: it is saved as a draft (status 'draft', whatever draft and schedule_at say) and preview_url opens it for the user to publish. On Threads a post may be text only (post_type 'text', or omit media — every target must then be a Threads account), one image, one video up to 5 minutes, or a carousel of 2–20 images and videos mixed; a reel is a video post there, stories are rejected for Threads targets, and Threads shows no per-slide caption. The caption is the Threads text unless threads.text replaces it, and Threads takes at most 500 characters by its own count (an emoji counts as its UTF-8 bytes, so 😀 is 4) with at most 5 different links: set threads.text when the caption is longer. threads.thread adds up to 9 more text posts, each a reply to the one before; reply_control, topic_tag and link_attachment (text-only posts) are optional. A Threads post is published or scheduled from here as an Instagram post is: nothing holds it as a draft. first_comment is posted as a comment on the post as soon as it goes live, once per Instagram target account — the usual place for a hashtag block you would rather keep out of the caption; stories take none, since Instagram has no comments there, and TikTok, YouTube and Threads targets never get one. Threads has no first comment, so a post with a Threads target and no Instagram target is refused with one: put text meant for Threads in threads.thread instead. subtitles attaches a SubRip (.srt) file to a video post, with its language: YouTube gets it as the video's caption track once the video is live, and the other platforms keep it in Relay for the user to download from the post's page. Omit schedule_at to publish on the next scheduler tick (under a minute); pass a future ISO 8601 timestamp to schedule. Pass draft: true to publish nothing yet — the post is saved as a draft and the returned preview_url shows the user exactly how Instagram, TikTok, YouTube and Threads will render it, with Publish and Schedule buttons on the page. Every call returns preview_url, so you can always hand the user a link to look at. Publishing is asynchronous — this returns as soon as the post is queued, so poll post_status for the per-account outcome. To link a clip to the long video it comes from, pass link_parent_id and write {{link:parent}} where its link goes: Relay fills it in when the post goes out, leaves the line out if the parent isn't live by then, and with schedule_after_parent_min waits for the parent instead of a time.
Field
Type
Description
targets
string[] required
Account IDs to post to (from accounts_list), up to 10 Example: ["9d1f…"]
caption
string required
Caption text, 1–2200 characters (ignored for stories). On YouTube it is the video's description, unless youtube.description is set. On Threads it is the post's text, unless threads.text is set: at most 500 characters by Threads' count, where an emoji counts as several, and at most 5 links Example: "Fall drop is live — link in bio."
post_type
string?
feed | carousel | reel | story | text — inferred from media when omitted (stories never inferred). text is a post with no media, which only Threads takes: every target must be a Threads account, and a Threads-only post with no media is inferred as text Example: reel
media
(string | object)[]
Media IDs or public URLs (JPEG images, MP4/MOV videos) — up to 20 when an Instagram account is targeted, up to 35 images for a TikTok-only photo post, up to 20 images and videos (a carousel) when only Threads accounts are, exactly one video when a YouTube account is. Required unless draft is true or every target is a Threads account: Threads alone takes a text-only post (omit media, or post_type text). To set a file’s alt text, pass { id, alt_text } or { url, alt_text } instead of a bare string — exactly one of id or url; alt_text (1–1000 characters, null clears it) is the file’s own, sent to Instagram on images and to Threads. caption on an entry is a deprecated per-slide caption: kept, posted nowhere Example: ["https://cdn.example.com/fall.jpg", { "id": "a1b2…", "alt_text": "A sand-coloured jumper on a beach." }]
share_to_feed
boolean?
Reels only: also show the reel on the profile grid (Instagram defaults to true) Example: false
first_comment
string?
Text posted as a comment on the post the moment it goes live, 1–2200 characters — the usual home for a hashtag block you want out of the caption. Posted once per Instagram target account (TikTok, YouTube and Threads targets get none through Relay, so it needs at least one Instagram target). Not valid on stories, which have no comments. Threads posts have no first comment — add it as the next post in the thread instead (threads.thread) Example: "#fallcollection #newin #slowfashion"
cover_image
string?
The video's cover image: a media ID or a public https URL (stored like a media entry), JPEG only. An Instagram Reel's cover, and a YouTube video's thumbnail (YouTube shows it on verified channels). Refused when no target uses one: TikTok takes a frame, not an image (cover_frame_ms), and Threads picks its own Example: "a1b2…"
cover_frame_ms
number?
The cover frame, in milliseconds into the video, before its end: a TikTok video's cover (Direct Posts; an inbox upload takes none), and an Instagram Reel's when there is no cover_image. YouTube takes a thumbnail image instead. Refused when no target uses one Example: 2000
instagram
object?
Instagram settings, applied to every Instagram target; all optional and off when left out: { ai_generated (true adds Instagram’s "AI info" label; feed posts, Reels and carousels, not stories), trial_graduation: manual | performance (a trial Reel, shown to non-followers first: manual = the user graduates it in Instagram, performance = Instagram graduates it if it performs well; Reels only, and not with share_to_feed true), comments_off (true turns comments off right after it publishes, after any first comment; not on stories, and the account needs can_comment) } Example: { "ai_generated": true, "comments_off": true }
tiktok
object?
TikTok settings, required when any target is a TikTok account: { mode: "direct" | "inbox" (default direct), privacy_level: PUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY (required for direct, no default; only SELF_ONLY while tiktok_creator_info says audit_pending), allow_comment, allow_duet, allow_stitch (all default false; duet/stitch are video only), brand_organic (promotes your own brand), brand_content (paid partnership — never SELF_ONLY), is_aigc, caption (TikTok-only caption override), title (photo posts, ≤90), cover_timestamp_ms (video; deprecated, the same as the post’s cover_frame_ms), photo_cover_index (photo: which image is the cover, from 0, below the number of images), auto_add_music (photo) } Example: { "privacy_level": "PUBLIC_TO_EVERYONE", "allow_comment": true }
youtube
object?
YouTube settings, for a post with any YouTube target (such a post is always saved as a draft for the user to upload from Relay): { title (1–100 characters, no < or >), privacy_status: public | unlisted | private, made_for_kids (true/false) — YouTube needs all three and none has a default, so ask the user, and leave out what they have not decided (they finish it in Relay’s composer; the preview page publishes only once all three are set); description (the video description instead of the caption, up to 5000 bytes, no < or >), category_id (a YouTube category id, default "22", People & Blogs), tags (at most 100, no <, > or comma inside one; 500 characters in all, commas between tags included, and a tag with a space counts 2 more for the quotes YouTube adds), notify_subscribers (tell the subscribers, default true), contains_synthetic_media (a realistic person, place or event that was altered or generated, default false) } Example: { "title": "Fall drop, in 40 seconds", "privacy_status": "public", "made_for_kids": false }
threads
object?
Threads settings, applied to every Threads target; all optional: { text (the Threads text instead of the caption, 1–500 characters by Threads’ count, where an emoji counts as several: its UTF-8 bytes, so 😀 is 4), reply_control: everyone | accounts_you_follow | mentioned_only | followers_only | parent_post_author_only (who may reply, default everyone), topic_tag (the post’s one topic, 1–50 characters with no “.” or “&”, without the #), link_attachment (a public http(s) URL Threads shows as a link preview card; text-only posts only), thread (up to 9 more text posts, each 1–500 characters counted the same way, published in order, each a reply to the one before; needs the account’s can_comment, see accounts_list) }. The text and each thread post may hold at most 5 different links, link_attachment included. Threads has no first comment: add it to thread instead Example: { "reply_control": "followers_only", "topic_tag": "Running", "thread": ["Part two.", "Part three."] }
subtitles
object?
A video’s subtitles: { srt (the SubRip file’s text: numbered cues, each a timing line like 00:00:01,000 --> 00:00:04,000 and its text; up to 1MB), language (a BCP-47 tag such as en, pt-BR or es-419 — required, no default), name (optional, up to 150 characters: the track’s name YouTube shows beside the language) }. Only a post with a video takes them (subtitles_need_video otherwise). YouTube gets them as the video’s caption track after the upload (400 of Relay’s shared daily YouTube units; the channel must have granted Relay the captions permission); Instagram, TikTok and Threads take no caption files, so Relay keeps them for the user to download from the post’s page Example: { "srt": "1\n00:00:00,500 --> 00:00:03,000\nThree sets, one minute each.\n", "language": "en" }
schedule_at
string?
ISO 8601 timestamp with offset, in the future — omit to publish now. A time more than five minutes in the past is refused Example: "2026-08-04T18:30:00Z"
link_parent_id
string?
Links this post to a parent post (a post ID from posts_list), e.g. Shorts and Reels cut from a long video. Its text (caption, first_comment, tiktok.caption, youtube.description, threads.text and thread) may then hold {{link:parent}}, which Relay fills in with the parent’s link when this post goes out, or {{link:<ref>}} for a sibling (another child of the same parent; <ref> is the first 8 characters of its post ID). Add :youtube, :instagram, :tiktok or :threads to pick that account’s link; without it YouTube’s comes first, then Instagram’s, Threads’ and TikTok’s. A line whose link isn’t live yet when the post goes out is left out whole. One level only: a parent is never itself a child Example: "3f0c…"
schedule_after_parent_min
number?
With link_parent_id: publish this many minutes after the parent goes live (0–43200), instead of at schedule_at (pass one or the other). The post waits for the parent, so its {{link:parent}} is always filled in Example: 120
draft
boolean?
Save as a draft instead of queueing it — nothing publishes until the user approves it on the preview page Example: true
Returns post: the created post — status "draft" when draft was true or a TikTok Direct Post or YouTube target held it for the user, otherwise "scheduled" — with the resolved post_type ("text" for a Threads post without media), first_comment, cover_image ({ id, url } or null), cover_frame_ms, instagram, tiktok, youtube and threads settings, subtitles ({ language, name, bytes, cue_count } or null: never the file, which the post’s page shows and downloads), its media (each entry carrying the file’s alt_text and its deprecated per-slide caption, each null when there is none; empty on a text post), and one entry in targets[] per account (each starting at status "pending"). preview_url: a dashboard link showing the post exactly as Instagram, TikTok, YouTube and Threads will render it; on a draft that page is also where the user publishes or schedules it. Poll post_status for delivery results.
post_status
read-onlyidempotent
Fetch a single post with its per-account delivery timeline: the overall status plus, for every target, the platform's post ID, permalink, publish time, and the exact error code and message when a target failed. This is the tool that answers "did it go out?" and "why did it fail?".
Field
Type
Description
post_id
string required
Post ID returned by post_create Example: "3f0c…"
Returns post: the full post view, including targets[] with status (pending, uploading, processing, published, failed, cancelled), platform_post_id, permalink, published_at, error { code, message }, first_comment_status (pending, posted, or failed; null when the post has no first comment), and followups: [{ kind (instagram_comments_off, youtube_thumbnail or youtube_captions), status (pending, done or failed), message }], what Relay does on the target once it is live: comments off on Instagram, a YouTube video's thumbnail, and its captions from the post's subtitles. A youtube_captions follow-up that failed says why in its message — most often a channel connected before Relay asked for the captions permission, which the user reconnects (or they add the subtitles in YouTube Studio, downloading them from the post's page). A first comment or a follow-up that failed does not make the target any less published — the post is live either way, and the reason is in error or the follow-up's message. A published Instagram target can say what Instagram did with the post in error.code: instagram_caption_dropped (Instagram published it without the caption; the user adds it in Instagram), instagram_ai_label_missing (the AI info label Relay asked for isn't on it) or instagram_copyright_match (Instagram's copyright check matched material in the video; it published it but may mute or limit it). An Instagram target that failed with instagram_spam_flagged was flagged by Instagram as possible spam: Relay doesn't retry it on its own, so tell the user to wait a few hours and check the account in Instagram before post_retry. Until TikTok has audited Relay's app, a TikTok Direct Post whose privacy_level isn't SELF_ONLY fails with tiktok_privacy_unaudited before anything is sent to TikTok. A failed post can't be edited, so post_retry it first (an agent's retry of a TikTok Direct Post comes back as a draft), then post_update the draft's tiktok to privacy_level SELF_ONLY (or mode "inbox") and give the user its preview_url to publish it from there. A TikTok target sent to the inbox reads published with error.code tiktok_inbox: it is waiting in the creator's TikTok inbox for them to finish. A public TikTok post can read published before its permalink exists — TikTok assigns the link after moderation, and Relay fills it in when TikTok reports it. A YouTube target reads uploading while Relay sends the video, then processing while YouTube processes it — usually a few minutes, longer for long videos — and its permalink is https://www.youtube.com/shorts/<id> for a Short or https://www.youtube.com/watch?v=<id> for a regular video. It can read published with error.code youtube_processing (on YouTube, still processing when Relay stopped checking) or youtube_private (YouTube kept it private; the user changes its visibility in YouTube Studio). While Relay's daily YouTube quota (reset at midnight Pacific) or the channel's own daily upload limit is used up, a YouTube target waits with error.code quota_exceeded, and fails with quota_timeout if YouTube still won't take it a day after it was due. A Threads target reads processing while Threads prepares its media and Relay publishes it — a text post usually goes out within a minute or two, a video can take several, and a thread's further posts go out one after another — and its permalink is https://www.threads.com/@<handle>/post/<code>. It can read published with error.code published_unverified when Threads confirmed the post went out but Relay couldn't read back its id: it is live, so never post it again. A retried Threads target that Relay had already asked Threads to publish without hearing back reads pending with error.code unknown_outcome until Relay has asked Threads whether it went out (it never posts twice), and cancelled with the same code if the post is cancelled meanwhile: it may already be live, so the user checks the profile on Threads before posting it again. While the profile's 250 posts a day are used up, a Threads target waits with error.code quota_exceeded, and fails with quota_timeout if there is still no room a day after it was due. On a linked post (link_parent_id set), and on a parent's own read, linked_posts lists the family — the parent first, then its children, each with its link_ref, status, times and each account's permalink once live — link_warnings says which {{link:…}} lines would be left out if the post went out as scheduled (link_not_live_in_time: that post goes out later or isn't scheduled; link_not_public: a YouTube video that isn't public; link_missing: the post left the family), schedule_after_parent_min and schedule_released_at say whether it is waiting for its parent, and resolved_links, once it was sent, maps each placeholder to the link it became or null where its line was left out. preview_url: the same dashboard preview link post_create returns, so you can re-share it without having kept it.
post_update
writesidempotent
Edit a post that has not published yet — change the caption, replace or remove the first comment, set Share to Feed, set or remove the cover, replace or remove the subtitles, replace the Instagram, TikTok, YouTube or Threads settings, move the scheduled time, or any combination. Only draft and scheduled posts can be edited; once a post enters publishing it is frozen, and nothing that already went out to a platform is ever edited there. Editing a scheduled post with a TikTok target in mode 'direct', or with any YouTube target, makes it a draft again, for the user to finish in Relay's composer (TikTok asks them to confirm who can see it and agree to its terms; YouTube, to see its upload notice and confirm the upload); a Threads target stays scheduled. The edited post is held to every target's rules again, Threads' 500-character count included. This changes the post's own caption, not the deprecated per-slide captions on a carousel (which post nowhere). A file's alt text is the file's own: change it with media_update. To change media or targets via MCP, cancel the post and create a new one (the Relay dashboard can edit media and targets directly). link_parent_id links the post to a parent or, with null, unlinks it; schedule_after_parent_min makes it go out a while after its parent goes live, and null (or a new schedule_at) gives it a time of its own again.
Field
Type
Description
post_id
string required
Post ID Example: "3f0c…"
caption
string?
Replacement caption for the post itself, 1–2200 characters — not a carousel slide's own caption
first_comment
string?
Replacement first comment, 1–2200 characters. Pass null to remove one that was set; omit the field to leave it as it is Example: "#fallcollection #newin"
share_to_feed
boolean?
Reels only: also show the reel on the profile grid (Instagram defaults to true). Omit to leave it as it is Example: false
cover_image
string?
Replacement cover image, same as post_create's cover_image. Pass null to remove it; omit to leave it as it is Example: "a1b2…"
cover_frame_ms
number?
Replacement cover frame, same as post_create's cover_frame_ms. Pass null to remove it; omit to leave it as it is Example: 1500
instagram
object?
Replacement Instagram settings — the whole object, same shape as post_create's instagram. Pass null to remove them; omit to leave them as they are Example: { "comments_off": true }
tiktok
object?
Replacement TikTok settings — the whole object, same shape as post_create's tiktok, except that a caption or photo_cover_index left out keeps the stored one (null clears it). Omit to leave them as they are Example: { "privacy_level": "SELF_ONLY" }
youtube
object?
Replacement YouTube settings — the whole object, same shape as post_create's youtube. Omit to leave them as they are Example: { "title": "Fall drop", "privacy_status": "unlisted", "made_for_kids": false }
threads
object?
Replacement Threads settings — the whole object, same shape as post_create's threads. Omit to leave them as they are Example: { "reply_control": "accounts_you_follow" }
subtitles
object?
Replacement subtitles — the whole object, same shape as post_create's subtitles. Pass null to remove them; omit to leave them as they are Example: { "srt": "1\n00:00:00,500 --> 00:00:03,000\nThree sets, one minute each.\n", "language": "en", "name": "English" }
schedule_at
string?
New ISO 8601 publish time, in the future (a time more than five minutes in the past is refused) Example: "2026-08-05T09:00:00Z"
link_parent_id
string | null?
Links this post to a parent post (see post_create); null unlinks it. A placeholder whose post is no longer in the family has its line left out when the post goes out Example: "3f0c…"
schedule_after_parent_min
number | null?
Publish this many minutes after the parent goes live (0–43200); null goes back to the post’s own schedule_at Example: 120
Returns post: the updated post view.
post_cancel
writesdestructive
Cancel a draft or scheduled post before it publishes. This cannot be undone and it cannot rescind a post that already went live — a post that has entered publishing, published, or failed is rejected. Nor can it take back a retried Threads post Relay had already asked Threads to publish: the post is cancelled, but that target may already be live on Threads, and says so. Confirm with the user before calling.
Field
Type
Description
post_id
string required
Post ID Example: "3f0c…"
Returns post: the cancelled post (status "cancelled"), with every target that hadn’t gone out marked cancelled. A Threads target Relay had already asked Threads to publish reads cancelled with error.code unknown_outcome: it may already be live, so tell the user to check the profile on Threads before posting it again.
post_retry
writesopen-world
Retry a post whose status is failed or partly. Failed targets reset to pending and the post re-enters the publish queue on the next scheduler tick; targets that already published are untouched, so a partly post republishes only what failed. Fix the underlying cause first — post_status shows each failed target's error code and message (an expired account needs reconnecting, a quota window needs to pass) — or the retry will fail the same way. The retry sends the post as it is, and a failed or partly post can't be edited (post_update refuses it), so a cause in the post itself — its caption, media, cover or settings — is fixed on another post: post_create a corrected one to the accounts that failed, or, when none of its targets published, post_duplicate it and post_update the copy. The post keeps its ID; poll post_status for the outcome. A post with a TikTok target in mode 'direct', or with any YouTube target, comes back as a draft instead, for the user to publish again from Relay's composer (TikTok asks them to confirm who can see it and agree to its terms; YouTube, to see its upload notice and confirm the upload); post_update can fix that draft first. A Threads target whose publish Threads never confirmed is checked with Threads first, so a post that did go out is recorded as published rather than sent twice; a thread's further posts that went out are never sent again.
Field
Type
Description
post_id
string required
ID of a failed or partly-published post Example: "3f0c…"
Returns post: the re-queued post (status "scheduled", or "draft" for a TikTok Direct Post or a post with a YouTube target), with previously failed targets reset to "pending" and their errors cleared, except a Threads target Relay had already asked Threads to publish, which reads error.code unknown_outcome until Relay has asked Threads whether it went out. Already-published targets keep their state, Threads ones included.
posts_list
read-onlyidempotent
List this account's posts newest-first, optionally filtered by status and/or a schedule_at time range. Answers questions like "what is scheduled this week" (pass from/to bounding the week) or "which posts failed". Drafts have no schedule time and never match a ranged query. Returns next_cursor when more pages exist — pass it back as cursor to continue; do not page beyond what the user asked for.
Only posts with schedule_at at or after this ISO 8601 timestamp Example: "2026-08-03T00:00:00Z"
to
string?
Only posts with schedule_at at or before this ISO 8601 timestamp Example: "2026-08-09T23:59:59Z"
Returns posts: an array of post views. next_cursor: an opaque cursor string, or null when this is the last page.
media_upload
writesopen-world
Store an image or video in Relay and return a reusable media ID for post_create. Two input modes — pass exactly one: url (a publicly reachable http(s) URL that Relay fetches) or data (the file content itself, as raw base64 or a data: URI). For a local file or blob on your side, read the bytes and base64-encode them into data — the server cannot read your filesystem. Relay stores JPEG images (up to 8MB) and MP4/MOV video (up to 2GB) — what Instagram, TikTok, YouTube and Threads accept (YouTube takes the videos) — and rejects PNG at upload rather than at publish time. Not every platform takes a video that big: Instagram’s Reels stop at 300MB and its stories at 100MB, Threads at 1GB, and post_create refuses a bigger one for those targets (video_too_large). The content type is taken from content_type, the data: URI, or sniffed from the bytes, in that order. A video from a url is streamed straight into storage, never held whole, and its download has 15 minutes to finish. Inline data is for small files only: the whole MCP request is capped at 1MB and base64 costs a third on top, so data tops out around 700KB of file — a modest JPEG, never video. (The REST twin POST /v1/media is not behind that cap, but data there still travels in one request, which Cloudflare caps at 100MB: about 75MB of file once base64 has added its third.) For anything bigger that you hold, POST the file bytes to /v1/uploads — same host as this server, API key in the Authorization header, the file as the request body, Content-Type set, and Content-Length set to the exact byte count, which is required or you get a 411. That is one request too, so it takes a video up to 90MB; a bigger one (up to 2GB) goes up in parts through POST /v1/uploads/sessions (the server instructions say how), whose last step answers the same way. It answers 201 with upload.url, which you pass here as url or straight to post_create, and upload.expires_at, usually an hour out. post_create also accepts public URLs directly, so reach for this tool when you want to reuse one asset across several posts, upload local content, or validate a file before composing. Optionally give the file a name and its alt text (what it shows, which the user sees in their media library and Relay sends to Instagram on images and to Threads), and a group to file it in: an upload group is an album of files in an order, and passing the same group name on every call gathers a batch into one album (a UUID is taken as a group id, and an id that isn’t one of the user’s groups is an error). The file, its name and its group membership are stored together: a call that fails stores none of them.
Field
Type
Description
url
string?
Publicly reachable http(s) URL to fetch — pass exactly one of url or data Example: "https://cdn.example.com/fall.jpg"
data
string?
File content as raw base64 or a data: URI — pass exactly one of url or data Example: "data:image/jpeg;base64,/9j/4AAQ…"
content_type
string?
MIME type of data when it is raw base64 — image/jpeg, video/mp4, or video/quicktime (otherwise taken from the data: URI or sniffed from the bytes) Example: video/mp4
name
string?
The file's name as the user's media library shows it (up to 255 characters; otherwise the stored file's own name) Example: "fall-drop-hero.jpg"
description
string?
The same as alt_text, under its old name (up to 1000 characters). Pass one of the two, or the same text in both Example: "Hero shot for the fall drop, on sand"
alt_text
string?
What the file shows, for people who can’t see it (up to 1000 characters): kept with it in the library and sent as alt text to Instagram (images) and Threads with every post that uses it Example: "A sand-coloured jumper laid on a beach"
group
string?
An upload group (album) to add the file to: the id of one of the user's groups, or a name — the user's newest group with exactly that name, made if there is none (up to 80 characters) Example: "Fall drop"
Returns media: { id, url, kind, content_type, size_bytes, width, height, duration_ms, poster_url, name, alt_text, description, created_at }. width and height are the display size, for JPEGs and for videos whose header could be read (a phone's rotation applied); duration_ms is set for those videos too. poster_url is a video's still (a JPEG of one frame), null until Relay has made it, a minute or so after the upload, and for images. TikTok checks the length against the creator's limit, YouTube's format follows from both (square or vertical and up to 3 minutes is a Short), and Threads takes videos up to 5 minutes and 1920 pixels wide. name is the name given, else the stored file's; alt_text is null when none was given, and description is the same value under its old name. group: { id, name } of the group the file joined, or null when none was asked for. Pass id in post_create.media.
tiktok_creator_info
read-onlyidempotentopen-world
Ask TikTok what a connected TikTok account allows at this moment: the privacy levels it can post with (privacy_level_options — the only valid values for post_create's tiktok.privacy_level), whether the creator has turned off comments, duets or stitches in their TikTok settings (a disabled interaction is forced off), the longest video they may post, and whether they can post at all right now (TikTok caps every creator's daily posts). Until TikTok has audited Relay's app, audit_pending is true and privacy_level_options holds only SELF_ONLY (only the creator sees the post), the one level TikTok lets an unaudited app post with; mode 'inbox' isn't limited by it. Call this before creating a post for a TikTok account, and show the user the creator's nickname so they know which TikTok account it goes to.
Field
Type
Description
account_id
string required
A TikTok account ID from accounts_list Example: "7c2a…"
Returns creator: { username, nickname, avatar_url, privacy_level_options, comment_disabled, duet_disabled, stitch_disabled, max_video_post_duration_sec, can_post, cannot_post_reason, audit_pending }. audit_pending is true until TikTok audits Relay’s app: until then a Direct Post can only be SELF_ONLY, and privacy_level_options says so.
youtube_channel_info
read-onlyidempotentopen-world
Ask YouTube which channel a connected YouTube account uploads to: its title, handle, link, avatar, subscriber and video counts, whether it may upload videos longer than 15 minutes (long_uploads: allowed; eligible means the owner can verify the channel at youtube.com/verify first; disallowed means it can't), and the channel's own made-for-kids setting. Call this before creating a post for a YouTube account, and show the user the channel's title so they know which channel the video goes to. made_for_kids_default is only the channel's audience setting: still ask the user about each video's made_for_kids. Needs the account's can_list_videos (accounts_list), the permission to see the channel; an account without it must be reconnected in the Relay dashboard.
Field
Type
Description
account_id
string required
A YouTube account ID from accounts_list Example: "5b9e…"
Returns channel: { account_id, channel_id, title, handle, url, avatar_url, subscriber_count, video_count, long_uploads (allowed | eligible | disallowed), made_for_kids_default }. handle is the @handle without its @, or null; url is the channel page by its id. subscriber_count is null when the channel hides it.
post_delete
writesdestructive
Permanently delete a post from Relay's history. Only posts that already ran their course can be deleted (published, partly, failed, cancelled); a draft or scheduled post must be cancelled with post_cancel first, and one that is publishing cannot be touched. This removes Relay's record only — it does NOT take anything down from Instagram, TikTok, YouTube or Threads (Instagram's and TikTok's APIs don't let Relay delete a published post, and Relay doesn't ask YouTube or Threads for the permission to: the user deletes a YouTube video in YouTube Studio, and a Threads post, or a thread's further posts, in the Threads app), and media stays in the library. Cannot be undone: confirm with the user before calling.
Field
Type
Description
post_id
string required
Post ID Example: "3f0c…"
Returns deleted: true, id: the deleted post ID.
post_duplicate
writes
Copy an existing post — any status — into a fresh draft: same caption, per-slide captions, post type, first comment, cover, Instagram, TikTok, YouTube and Threads settings (a thread’s further posts included), target accounts, and media. The draft has no schedule time and never publishes on its own: post_update can change it, but it stays a draft (whatever schedule_at says) until the user publishes or schedules it from the preview_url. The usual way to re-run a post that went well, to rebuild a cancelled one, or to fix one that failed for its caption, media or settings (a failed post can’t be edited).
Field
Type
Description
post_id
string required
ID of the post to copy Example: "3f0c…"
linked
boolean?
Make the copy a linked post of the original (its link_parent_id), or of the original’s parent when the original is itself a linked post: the usual start for a clip of a long video, whose caption then takes {{link:parent}}. Default false: a copy of a linked post stays in its family either way Example: true
Returns post: the new draft post view. preview_url: its dashboard preview link.
media_list
read-onlyidempotent
List the images and videos stored in Relay's media library, newest first, with whether any post already uses each one. The id of any item can be passed straight to post_create's media, so check here before uploading something again. Paged by number: total_pages says how far to go; do not page beyond what the user asked for.
Field
Type
Description
filter
string?
all (default) | images | videos | unused Example: unused
page
number?
Page number, starting at 1 Example: 1
page_size
number?
Items per page, 1–100 (default 24) Example: 24
Returns media: [{ id, url, kind, content_type, size_bytes, width, height, duration_ms, poster_url, name, alt_text, description, created_at, used, group_count }]. alt_text is null when the file has none (description is the same value under its old name); group_count is how many upload groups the file is in. page, page_size, total, total_pages.
media_update
writesidempotent
Change a file in the user's media library: its alt text (what it shows, for people who can't see it) or the name the library shows it by. Alt text belongs to the file, so the new text goes out with every post that uses it and hasn't published yet: Relay sends it to Instagram on feed and carousel images and to Threads on every item. A post that already published keeps what it went out with, since neither platform takes an edit afterwards. Leave a field out to keep it; null clears the alt text. Find the file's id with media_list, or in a post's media.
Field
Type
Description
media_id
string required
A media ID from media_list, media_upload or a post’s media Example: "a1b2…"
name
string?
The name the media library shows the file by, 1–255 characters. Omit to keep it Example: "fall-drop-hero.jpg"
alt_text
string?
What the file shows, for people who can’t see it, 1–1000 characters: sent as alt text to Instagram (images) and Threads with every post that uses the file. Pass null to clear it; omit to keep it Example: "A sand-coloured jumper laid on a beach"
Returns media: the file as media_list shows it — { id, url, kind, content_type, size_bytes, width, height, duration_ms, poster_url, name, alt_text, description, created_at, used, group_count }.
account_refresh
writesidempotentopen-world
Fetch an account’s live profile — display name, avatar, follower (on YouTube, subscriber) and media counts — from Instagram, TikTok, YouTube or Threads and store it, instead of waiting for the daily sync. Threads reports followers only for an account with can_read_insights, and no media count at all. Also the quickest way to find out whether an account’s connection still works: a dead token marks the account reconnect_required and says so.
Field
Type
Description
account_id
string required
An account ID from accounts_list Example: "7c2a…"
Returns account: the refreshed account, same shape as an accounts_list entry.
ig_media_list
read-onlyidempotentopen-world
List the media published on a connected Instagram account, newest first, straight from Instagram — posts, reels and carousels made in the Instagram app count too, not just Relay's. Each item carries its like and comment counts and whether comments are on. The id values are what ig_comments_list, ig_media_comments_toggle and ig_media_insights take as media_id. (Stories are not listed; Instagram only returns them for 24 hours via a separate feed.)
Field
Type
Description
account_id
string required
An Instagram account ID from accounts_list Example: "9d1f…"
limit
number?
Items per page, 1–50 (default 25) Example: 25
cursor
string?
next_cursor from a previous page
Returns media: [{ id, caption, media_type (IMAGE | VIDEO | CAROUSEL_ALBUM), product_type (FEED | REELS | STORY | AD), permalink, media_url, thumbnail_url, timestamp, like_count, comments_count, comments_enabled }]. next_cursor: pass back as cursor, or null on the last page.
ig_comments_list
read-onlyidempotentopen-world
List the top-level comments on an Instagram post, newest first, each with its replies. Identify the post either by media_id (from ig_media_list) or by the Relay post_id of a post Relay published to this account — pass exactly one. Hidden comments are included and flagged hidden: true. The comment id values are what ig_comment_reply, ig_comment_hide and ig_comment_delete take.
Field
Type
Description
account_id
string required
The Instagram account ID the post belongs to Example: "9d1f…"
media_id
string?
Instagram media ID from ig_media_list Example: "1790…"
post_id
string?
Or: a Relay post ID that published to this account Example: "3f0c…"
limit
number?
Comments per page, 1–50 (default 25) Example: 25
cursor
string?
next_cursor from a previous page
Returns media_id: the Instagram media the comments belong to. comments: [{ id, text, username, timestamp, like_count, hidden, replies: [same fields] }]. next_cursor, or null on the last page.
ig_comment_reply
writesopen-world
A public reply to a comment on one of the account's Instagram posts, as the account. A person sends it: this tool refuses every API key with "Relay sends Instagram and Threads replies and Instagram DMs only when a person presses Send, never from an API key. Draft the reply for the user to send from Relay — its Inbox, or the Replies on a Threads post’s page — or in Instagram or Threads." Draft the wording instead and give it to the user (only a top-level comment takes a reply: Instagram does not thread deeper, so to answer a reply, reply to its parent and @mention the person).
Field
Type
Description
account_id
string required
The Instagram account ID the comment is on Example: "9d1f…"
Returns reply_id: the new reply comment ID. comment_id: the comment that was replied to.
ig_comment_hide
writesidempotentopen-world
Hide a comment on one of the account’s Instagram posts, or unhide it. A hidden comment stays visible to the person who wrote it (and to the account) but disappears for everyone else — the reversible way to moderate spam or abuse, and usually the right call before ig_comment_delete.
Field
Type
Description
account_id
string required
The Instagram account ID the comment is on Example: "9d1f…"
comment_id
string required
Comment ID from ig_comments_list Example: "1801…"
hide
boolean required
true to hide, false to unhide Example: true
Returns comment_id, hidden: the state the comment is now in.
ig_comment_delete
writesdestructiveopen-world
Permanently delete a comment (or a reply) on one of the account's Instagram posts — including the account's own replies. This cannot be undone and removes it for everyone; prefer ig_comment_hide unless the user asks for deletion. Confirm with the user before calling.
Field
Type
Description
account_id
string required
The Instagram account ID the comment is on Example: "9d1f…"
comment_id
string required
Comment ID from ig_comments_list Example: "1801…"
Returns comment_id, deleted: true.
ig_media_comments_toggle
writesidempotentopen-world
Turn comments on or off for a single Instagram post. Turning them off hides the existing comments and stops new ones; turning them back on restores both. Identify the post by media_id or by the Relay post_id — pass exactly one. Not available on stories, which have no comments.
Field
Type
Description
account_id
string required
The Instagram account ID the post belongs to Example: "9d1f…"
media_id
string?
Instagram media ID from ig_media_list Example: "1790…"
post_id
string?
Or: a Relay post ID that published to this account Example: "3f0c…"
enabled
boolean required
true to allow comments, false to turn them off Example: false
Returns media_id, comments_enabled: the state the post is now in.
ig_publishing_limit
read-onlyidempotentopen-world
Ask Instagram how much of the rolling 24-hour publishing quota an account has used (50 API-published posts per 24 hours, as Instagram reports it; a carousel counts as one). Check before queueing a batch of posts — once the quota is spent, Relay holds further posts until the window frees up.
Field
Type
Description
account_id
string required
An Instagram account ID from accounts_list Example: "9d1f…"
Returns used, total, remaining: posts in the current rolling 24-hour window.
ig_media_insights
read-onlyidempotentopen-world
Fetch the performance metrics Instagram reports for one post: reach, views, likes, comments, saves, shares and total interactions, plus average and total watch time for reels (stories report replies instead of likes and saves). Identify the post by media_id or by the Relay post_id — pass exactly one. Needs the account's can_read_insights (accounts_list); an account without it must be reconnected in the Relay dashboard. Instagram only keeps story metrics for 24 hours, and very new posts may report zeros for a while.
Field
Type
Description
account_id
string required
The Instagram account ID the post belongs to Example: "9d1f…"
media_id
string?
Instagram media ID from ig_media_list Example: "1790…"
post_id
string?
Or: a Relay post ID that published to this account Example: "3f0c…"
Returns media_id, product_type (FEED | REELS | STORY | AD). metrics: { name: number } — e.g. { reach: 1204, views: 1890, likes: 88, comments: 6, saved: 14, shares: 3, total_interactions: 111 }. Watch times are in milliseconds.
ig_account_insights
read-onlyidempotentopen-world
Fetch account-level Instagram metrics totalled over a date range: reach, views, accounts engaged, total interactions, likes, comments, shares, saves, replies, follows and unfollows, and profile link taps. The range defaults to the last 7 days and can span at most 30. Pass breakdown to also get follower demographics (age, gender, city, or country — Instagram only reports these for accounts with at least 100 followers). Needs the account's can_read_insights (accounts_list).
Field
Type
Description
account_id
string required
An Instagram account ID from accounts_list Example: "9d1f…"
since
string?
Range start, ISO 8601 (default: 7 days before until) Example: "2026-09-01T00:00:00Z"
until
string?
Range end, ISO 8601 (default: now) Example: "2026-09-29T00:00:00Z"
breakdown
string?
Also return follower demographics: age | gender | city | country Example: country
Returns since, until: the range used. metrics: { name: number } totalled over the range. demographics: { breakdown, values: [{ key, value }] } largest first, or null when breakdown wasn't asked for.
ig_conversations_list
read-onlyidempotentopen-world
List the direct-message conversations of a connected Instagram account, most recently active first, with who each one is with. Use ig_messages_list to read one. Needs the account's can_message (accounts_list); an account without it must be reconnected in the Relay dashboard. Private messages: only read them for the task the user asked about.
Field
Type
Description
account_id
string required
An Instagram account ID from accounts_list Example: "9d1f…"
limit
number?
Conversations per page, 1–50 (default 20) Example: 20
cursor
string?
next_cursor from a previous page
Returns conversations: [{ id, updated_at, participants: [{ id, username }] }] — participants excludes the account itself. next_cursor, or null on the last page.
ig_messages_list
read-onlyidempotentopen-world
Read the most recent messages (newest first, up to 20 — all Instagram exposes) of one direct-message conversation, each marked inbound (from the other person) or outbound (from the account). Also reports the messaging window: Instagram only lets a business send a message within 24 hours of the other person's last message, so window.open says whether ig_message_send will work right now and window.closes_at until when.
Field
Type
Description
account_id
string required
The Instagram account ID the conversation belongs to Example: "9d1f…"
conversation_id
string required
Conversation ID from ig_conversations_list Example: "aWdfZG…"
limit
number?
Messages to return, 1–20 (default 20) Example: 20
Returns conversation_id. participants: [{ id, username }] (excluding the account). messages: [{ id, created_at, direction (inbound | outbound), from: { id, username }, text }] newest first; text is null for attachments, stickers and reactions. window: { open, closes_at }.
ig_message_send
writesopen-world
A text reply, as the account, in an existing Instagram direct-message conversation. A person sends it: this tool refuses every API key with "Relay sends Instagram and Threads replies and Instagram DMs only when a person presses Send, never from an API key. Draft the reply for the user to send from Relay — its Inbox, or the Replies on a Threads post’s page — or in Instagram or Threads." Draft the wording instead and give it to the user, with whether Instagram's 24-hour window (ig_messages_list window) is still open: Instagram allows a DM only within 24 hours of the other person's last message, and never to someone who hasn't written in. Text only, up to 1000 bytes.
Field
Type
Description
account_id
string required
The Instagram account ID the conversation belongs to Example: "9d1f…"
conversation_id
string required
Conversation ID from ig_conversations_list Example: "aWdfZG…"
text
string required
Message text, up to 1000 bytes Example: "Hi! Yes, it ships to Canada."
Returns message_id: the sent message. recipient_id, conversation_id.
tiktok_videos_list
read-onlyidempotentopen-world
List the public videos on a connected TikTok account, newest first, straight from TikTok — including ones posted outside Relay — with their view, like, comment and share counts. Needs the account's can_list_videos (accounts_list); an account without it must be reconnected in the Relay dashboard. TikTok's API offers no comment moderation or messaging, so for TikTok this plus tiktok_videos_query is the whole read-side of account management.
Field
Type
Description
account_id
string required
A TikTok account ID from accounts_list Example: "7c2a…"
limit
number?
Videos per page, 1–20 (default 20) Example: 20
cursor
string?
next_cursor from a previous page
Returns videos: [{ id, title, description, create_time, cover_image_url, share_url, duration_sec, view_count, like_count, comment_count, share_count }]. next_cursor, or null on the last page.
tiktok_videos_query
read-onlyidempotentopen-world
Fetch the current view, like, comment and share counts for specific videos on a TikTok account: pass video_ids (from tiktok_videos_list or a post's platform_post_id), or the Relay post_id of a post Relay published to this account — exactly one. Private (SELF_ONLY) and still-moderating videos are not returned. Needs the account's can_list_videos.
Field
Type
Description
account_id
string required
The TikTok account ID the videos belong to Example: "7c2a…"
video_ids
string[]?
Up to 20 TikTok video IDs Example: ["7412345678901234567"]
post_id
string?
Or: a Relay post ID that published to this account Example: "3f0c…"
Returns videos: the same video shape tiktok_videos_list returns.
youtube_videos_list
read-onlyidempotentopen-world
List the videos on a connected YouTube account's channel, newest first, straight from YouTube — including ones uploaded outside Relay, and private and unlisted ones, which the channel's owner sees — with their visibility, processing status and view, like and comment counts. Needs the account's can_list_videos (accounts_list); an account without it must be reconnected in the Relay dashboard. Every page spends Relay's daily YouTube quota, which all of Relay shares: page only as far as the user asked. Relay doesn't moderate YouTube comments, so for YouTube this, youtube_videos_query and youtube_channel_info are the whole read-side of account management.
Field
Type
Description
account_id
string required
A YouTube account ID from accounts_list Example: "5b9e…"
limit
number?
Videos per page, 1–50 (default 20) Example: 20
cursor
string?
next_cursor from a previous page
Returns account_id. videos: [{ id, title, url, published_at, privacy_status (public | unlisted | private), upload_status (uploaded while YouTube still processes it, then processed; or failed, rejected, deleted), duration_sec, thumbnail_url, view_count, like_count, comment_count }]. url is the video's /watch link, which plays Shorts too; a count is null when YouTube doesn't report it (likes hidden, comments off). next_cursor, or null on the last page.
youtube_videos_query
read-onlyidempotentopen-world
Fetch the current visibility, processing status and view, like and comment counts for specific videos on a YouTube account's channel: pass video_ids (from youtube_videos_list or a post's platform_post_id), or the Relay post_id of a post Relay uploaded to this account — exactly one. The quickest way to see whether a video Relay just uploaded has finished processing. Ids YouTube doesn't know (a deleted video) are left out. Needs the account's can_list_videos.
Field
Type
Description
account_id
string required
The YouTube account ID the videos belong to Example: "5b9e…"
video_ids
string[]?
Up to 50 YouTube video IDs (11 characters each) Example: ["dQw4w9WgXcQ"]
post_id
string?
Or: a Relay post ID that uploaded to this account Example: "3f0c…"
Returns account_id. videos: the same video shape youtube_videos_list returns.
threads_posts_list
read-onlyidempotentopen-world
List the posts on a connected Threads account, newest first, straight from Threads — posts made in the Threads app count too, not just Relay's. The account's replies (a thread's further posts among them) are not listed: threads_replies_list on the first post has them. Threads reports no like or reply counts here; threads_post_insights has them, for an account with can_read_insights. The id values are what threads_post_insights and threads_replies_list take as media_id. Works for any connected Threads account.
Field
Type
Description
account_id
string required
A Threads account ID from accounts_list Example: "4e8b…"
limit
number?
Posts per page, 1–50 (default 25) Example: 25
cursor
string?
next_cursor from a previous page
Returns posts: [{ id, text, media_type (TEXT_POST | IMAGE | VIDEO | CAROUSEL_ALBUM | AUDIO | REPOST_FACADE), permalink, shortcode, media_url, thumbnail_url, timestamp, topic_tag, link_attachment_url, reply_control (who may reply, when Threads says), has_replies, is_quote_post }]. text is null on a post without any; media_url is null on a text post. next_cursor: pass back as cursor, or null on the last page.
threads_post_insights
read-onlyidempotentopen-world
Fetch the lifetime metrics Threads reports for one of the account's posts: views, likes, replies, reposts, quotes and shares. Identify the post by media_id (from threads_posts_list) or by the Relay post_id of a post Relay published to this account — pass exactly one. Needs the account's can_read_insights (accounts_list); an account without it must be reconnected in the Relay dashboard. Threads labels views and shares as still in development, so present them as approximate. replies counts every reply under the post, not the replies' own metrics, and a very new post may report zeros for a while.
Field
Type
Description
account_id
string required
The Threads account ID the post belongs to Example: "4e8b…"
media_id
string?
Threads media ID from threads_posts_list Example: "1805…"
post_id
string?
Or: a Relay post ID that published to this account Example: "3f0c…"
Returns media_id. metrics: { views, likes, replies, reposts, quotes, shares } — each a number, or null when Threads did not report it (a repost of someone else’s post reports none).
threads_account_insights
read-onlyidempotentopen-world
Fetch account-level Threads metrics totalled over a date range: views (of the profile, not of posts), likes, replies (made straight to the account's posts), reposts and quotes on its posts, and clicks on the links it shared, plus its follower count now. The range defaults to the last 7 days and can span at most 30; Threads keeps nothing from before 2024-04-13. Needs the account's can_read_insights (accounts_list).
Field
Type
Description
account_id
string required
A Threads account ID from accounts_list Example: "4e8b…"
since
string?
Range start, ISO 8601 (default: 7 days before until) Example: "2026-09-01T00:00:00Z"
until
string?
Range end, ISO 8601 (default: now) Example: "2026-09-29T00:00:00Z"
Returns since, until: the range used. metrics: { name: number } totalled over the range — views, likes, replies, reposts, quotes, clicks; one Threads did not report is left out. followers_count: the followers now, or null when Threads did not say.
threads_publishing_limit
read-onlyidempotentopen-world
Ask Threads how much of its rolling 24-hour quotas an account has used: 250 posts (a carousel counts as one) and 1,000 replies (a thread's further posts count as replies). Check before queueing a batch — once the posts are used up, Relay holds further Threads posts until there is room again, for up to a day. The replies quota is reported only for an account with can_comment.
Field
Type
Description
account_id
string required
A Threads account ID from accounts_list Example: "4e8b…"
Returns posts: { used, total, remaining } in the current rolling 24-hour window. replies: the same for replies, or null when the account has not let Relay manage replies.
threads_replies_list
read-onlyidempotentopen-world
List the replies to one of the account's Threads posts, newest first, at every depth in one flat list: replied_to_id says which post or reply each one answers, and is_top_level marks the replies made straight to the post. Identify the post by media_id (from threads_posts_list) or by the Relay post_id of a post Relay published to this account — pass exactly one. Hidden replies are included and flagged hidden: true; is_mine marks the account's own replies, a thread's further posts among them. The reply id values are what threads_reply_hide takes. Needs the account to have let Relay read replies, which no accounts_list flag shows: when it hasn't, this says so, and the user reconnects the account in the Relay dashboard. Threads lists replies on the account's own posts only.
Field
Type
Description
account_id
string required
The Threads account ID the post belongs to Example: "4e8b…"
media_id
string?
Threads media ID from threads_posts_list Example: "1805…"
post_id
string?
Or: a Relay post ID that published to this account Example: "3f0c…"
limit
number?
Replies per page, 1–50 (default 25) Example: 25
cursor
string?
next_cursor from a previous page
Returns media_id: the Threads post the replies belong to. replies: [{ id, text, username, permalink, timestamp, hidden, is_top_level, replied_to_id, has_replies, is_mine }] newest first; username and permalink are null for a reply from a private profile. next_cursor, or null on the last page.
threads_reply_hide
writesidempotentopen-world
Hide a reply on one of the account's Threads posts, or show it again. Only a reply made straight to the post (is_top_level in threads_replies_list) can be hidden, and hiding it hides every reply under it too; a reply further down can't be hidden on its own, so hide the top-level reply it sits under. Hiding is reversible, and the only moderation Threads offers Relay: Relay can't delete someone else's reply. Needs the account's can_comment (accounts_list).
Field
Type
Description
account_id
string required
The Threads account ID the reply is on Example: "4e8b…"
reply_id
string required
A top-level reply ID from threads_replies_list Example: "1806…"
hide
boolean required
true to hide, false to unhide Example: true
Returns reply_id, hidden: the state the reply is now in.
threads_reply
writesopen-world
A public reply, as the account, to one of its Threads posts or to a reply under one. A person sends it: this tool refuses every API key with "Relay sends Instagram and Threads replies and Instagram DMs only when a person presses Send, never from an API key. Draft the reply for the user to send from Relay — its Inbox, or the Replies on a Threads post’s page — or in Instagram or Threads." Draft the wording instead and give it to the user: up to 500 characters by Threads' count, where an emoji counts as several (its UTF-8 bytes), with at most 5 links.
Field
Type
Description
account_id
string required
The Threads account ID the post is on Example: "4e8b…"
reply_to_id
string required
What to answer: a media_id from threads_posts_list, or a reply ID from threads_replies_list Example: "1806…"
text
string required
Reply text, up to 500 characters by Threads' count (an emoji counts as several), with at most 5 links Example: "Thanks! Team plans are coming in November."
Returns reply_id: the new reply. reply_to_id: the post or reply it answers.
Behavior annotations
Every tool states all four MCP behavior hints explicitly. The protocol's defaults are pessimistic — an unannotated tool is assumed to be a destructive, non-idempotent write — so declaring them lets a client run the reads unattended and save confirmation prompts for the tools that deserve them.
Note that post_create is deliberately not idempotent: two identical calls create two posts. Retry-safety is available on the REST API through the Idempotency-Key header, which an MCP tool call has nowhere to carry.
Results & errors
Every tool returns both a JSON text block and structuredContent matching its declared output schema — so a client can render the text and a program can read the fields.
Domain errors — an unknown account ID, a caption over 2,200 characters (or over Threads' 500), the wrong media count for a post type — come back as a tool result with isError: true and a human-readable message, followed by its code in brackets when it has one ([cover_frame_conflict], [instagram_comments_permission], the same codes the REST API returns). The agent can read the message and fix the call itself.
Input-validation failures (arguments that don't match a tool's schema) arrive the same way — an isError result describing the mismatch, not a protocol error. Unexpected server failures also come back as isError with a generic Internal error — try again; the details are logged server-side, never forwarded.
Authentication failures are HTTP 401 on the transport, before any tool runs.
Rate limits are HTTP 429 with Retry-After — the same budgets as the REST API (120/minute per key, 300/minute per user), counted per JSON-RPC message: a batched request of N tool calls costs N, and batches are capped at 20 messages per request.
Oversized requests are HTTP 413 before any tool runs: the whole JSON-RPC body is capped at 1 MB. That cap is what bounds media_upload's inline data to roughly 700 KB of file once base64 has added its third — anything larger has to go through POST /v1/uploads (up to 90 MB), whose URL you then pass as a media entry. A bigger video you hold (up to 2 GB) goes up in parts through POST /v1/uploads/sessions, which ends with the same kind of URL; one already at a public url is streamed into storage as it is.
Publish failures are never tool errors.post_create succeeds as soon as the post is queued; the platform's verdict arrives later on the target timeline, so the agent must call post_status to know the outcome.
Some posts wait for a person. A post with a YouTube account, or a TikTok account in direct mode, is saved as a draft whatever draft and schedule_at say: YouTube and TikTok have the person confirm in Relay before anything goes out. Hand them the preview_url. See YouTube requirements and TikTok requirements. Threads posts aren't held: post_create publishes or schedules them as it does Instagram posts, so get the go-ahead first (a draft: true post and its preview_url). See Threads requirements.
Replies and DMs are a person's to send.ig_comment_reply, ig_message_send and threads_reply refuse every API key with a message that says so: draft the wording and give it to the person to send from Relay or the platform's app. Hiding a comment or a Threads reply is moderation, which a key may do.
Agent workflow
The server delivers this guidance to agents automatically via its initialize instructions — what you see below is exactly what a connected agent receives:
Relay publishes posts to Instagram, TikTok, YouTube and Threads, then helps manage the accounts: comments and replies, insights, DMs and video stats. The publishing path that works, in order:
auth_status → confirm the key works and something is connected
accounts_list → resolve a handle like "@northlight.co" to an account id (each has a platform)
tiktok_creator_info → TikTok targets only: which privacy levels and interactions that creator allows right now
youtube_channel_info → YouTube targets only: the channel the video goes to, and whether it may upload videos over 15 minutes
media_upload → optional: store a file once (public URL, or small inline base64) with its alt text, reuse it across posts
media_update → optional: change a stored file's alt text or name later
post_create → queue the post (targets + caption + media [+ cover_image / cover_frame_ms] [+ subtitles] [+ instagram] [+ tiktok] [+ youtube] [+ threads] [+ schedule_at] [+ link_parent_id / schedule_after_parent_min]), or stage it with draft: true
post_status → poll until every target is published or failed
post_retry → re-queue a failed or partly-published post, as it is, after fixing the cause
Rules:
- Never guess an account ID or a post ID — resolve them with accounts_list and posts_list.
- Scheduling is not instant publishing: post_create without schedule_at still goes out on the next scheduler tick, within a minute.
- After creating a post, wait ~30 seconds before the first post_status call. Video takes longer than images — minutes, not seconds.
- Confirm with the user before post_cancel.
- A failed or partly post can't be edited (post_update takes drafts and scheduled posts only), and post_retry sends it again unchanged. When the post itself is at fault — its caption, media, cover or settings — post_create a corrected post to the accounts that failed, or, when none of its targets published, post_duplicate it and post_update the copy, a draft the user publishes from its preview_url. A TikTok Direct Post or a YouTube post comes back from post_retry as a draft, which post_update can fix before the user publishes it.
- Alt text says what an image shows, for people who can't see it (up to 1000 characters). It belongs to the file: media_upload's alt_text, a media entry's { id, alt_text } or { url, alt_text }, or media_update later. So it is the same in every post that uses the file, and null clears it. Instagram gets it on a feed post's image and on a carousel's images (not on Reels, stories or videos); Threads gets it on every item. A per-slide caption on a carousel entry is deprecated: Relay keeps it and posts it nowhere.
- A video's cover has no default: leave it out unless the user picks one. cover_image (a JPEG, a media ID or public URL) is an Instagram Reel's cover and a YouTube video's thumbnail. cover_frame_ms (a frame, in milliseconds from the start, before the video's end) is a TikTok Direct Post video's cover, and an Instagram Reel's when there is no cover_image. TikTok takes no cover image, YouTube takes no frame, a TikTok inbox upload takes neither, and Threads picks its own frame. A cover no target uses is refused (cover_image_unused, cover_frame_unused).
- The instagram object is optional and off when left out. ai_generated adds Instagram's "AI info" label: set it when the image or video was made or changed with AI (not on stories). trial_graduation makes a Reel a trial Reel, shown to people who don't follow the account first. manual leaves graduating it to the user in Instagram; performance lets Instagram graduate it if it does well. A trial Reel can't have share_to_feed true. comments_off turns comments off right after the post goes live, after any first comment; it needs the account's can_comment, and stories have no comments to turn off.
- Instagram takes a Reel of 3 seconds to 15 minutes, a story video of 3 to 60 seconds, a carousel of 2–20 items, images up to 8MB, and a caption with at most 30 hashtags and 20 @mentions. Each account may publish 50 posts through the API in a rolling 24 hours (ig_publishing_limit).
- A video post can carry subtitles: { srt, language, name? } — the SubRip (.srt) file's text (up to 1MB), its language as a BCP-47 tag ("en", "pt-BR", "es-419"; required, no default: ask the user if you don't know it), and optionally the track's name YouTube shows beside the language. Only a post with a video takes them. YouTube gets them as the video's caption track once it is live (400 of Relay's shared daily YouTube units); Instagram, TikTok and Threads take no caption files through their APIs, so Relay keeps them for the user, who views and downloads them on the post's page (preview_url's post). Views show subtitles as { language, name, bytes, cue_count }, never the file. post_update replaces them, and null removes them.
- Turning comments off, setting a YouTube thumbnail and adding a YouTube video's captions happen after the post is live. post_status reports them in each target's followups; when one fails, the post stays published and the follow-up's message says why. post_status's error.code can also say what Instagram did with a live post: instagram_caption_dropped, instagram_ai_label_missing or instagram_copyright_match. None of these is a reason to post again.
- TikTok targets need a tiktok object. For mode "direct" (the default) tiktok.privacy_level is required and has no default: ask the user who should see the post, and offer only the levels tiktok_creator_info returns. Comments, duets and stitches stay off unless the user turns them on. Say whether the post promotes the user's own brand (brand_organic) or a third party (brand_content) — branded content cannot be SELF_ONLY. mode "inbox" sends it to the creator's TikTok inbox to finish in the app instead.
- Until TikTok has audited Relay's app, tiktok_creator_info says audit_pending: true and offers only SELF_ONLY, and only SELF_ONLY goes out: your Direct Post is saved as a draft anyway (give the user the preview_url), and the composer offers the user nothing else; a target with another privacy fails with tiktok_privacy_unaudited before anything is sent to TikTok. Mode "inbox" isn't limited by the audit.
- TikTok takes one video, or 1–35 JPEG images as a photo post; it has no stories and no first comments. A post that targets Instagram as well is held to Instagram's limits too (at most 20 items). On a photo post, tiktok.photo_cover_index picks which image is the cover (the first when left out).
- An inbox video goes to TikTok as the file alone: TikTok's inbox upload takes no caption and no AI label. Tell the user to paste the caption and turn on "AI-generated content" in TikTok when they post it. An inbox photo post keeps its caption, title and AI label, and needs TikTok 31.8 or newer on the creator's phone.
- Posting to TikTok means the user agrees to TikTok's Music Usage Confirmation (and its Branded Content Policy when brand_content is set) — make sure they know before you publish.
- YouTube targets need a youtube object with title (up to 100 characters), privacy_status (public, unlisted or private) and made_for_kids (true or false). None of the three has a default: ask the user for each — YouTube requires the person to say whether every video is made for kids — and leave out what they haven't decided, for them to finish in Relay's composer (the preview page publishes only once all three are set). The caption becomes the video's description unless youtube.description is set; neither may contain < or >, and a description is capped at 5000 bytes (emoji and accented letters count more than one). Optional: category_id (default "22", People & Blogs), tags (at most 100, none containing <, > or a comma; 500 characters in all, counted YouTube's way: each comma between tags counts, and a tag with a space counts 2 more for the quotes YouTube puts around it), notify_subscribers (default true), and contains_synthetic_media — set it when the video shows a realistic person, place or event that was altered or generated.
- YouTube takes exactly one MP4/MOV video (up to 2GB through Relay) — no images, carousels, stories or first comments — and decides the format itself: a square or vertical video up to 3 minutes becomes a Short, anything else a regular video. A video over 15 minutes needs the channel's long_uploads to be "allowed" (youtube_channel_info).
- A YouTube video takes cover_image as its thumbnail (JPEG). Relay sets it once the video is live, at a cost of 50 of Relay's shared daily YouTube units (not an upload). YouTube shows custom thumbnails only on verified channels (youtube.com/verify), and a Short may show its own frame. If YouTube refuses the thumbnail, the video stays uploaded.
- A post with a YouTube target is always saved as a draft, whatever draft and schedule_at say: YouTube requires the person to see its upload notice and confirm the upload in Relay. Give the user the preview_url to publish or schedule it from there.
- Posting to YouTube means the user certifies the video complies with YouTube's Terms of Service and Community Guidelines and doesn't violate others' copyright or privacy rights — make sure they know.
- Threads takes a text-only post (no media at all: omit media, or post_type "text"; every target must then be a Threads account), one JPEG image, one MP4/MOV video up to 5 minutes, or a carousel of 2–20 images and videos mixed. It has no stories. A post that targets Instagram as well is held to Instagram's limits too (at most 20 items, and media required).
- A Threads post's text is the caption unless threads.text replaces it. Threads takes at most 500 characters by its own count, where an emoji counts as several (its UTF-8 bytes: 😀 is 4, a flag 8), and at most 5 different links. When the caption is longer for the other platforms, set threads.text.
- Threads has no first comment: first_comment goes to a post's Instagram targets only, as with TikTok and YouTube, and is refused on a post with a Threads target and no Instagram target. Put text meant for Threads in threads.thread instead — up to 9 more text posts, each up to 500 characters counted the same way, published in order, each a reply to the one before.
- The rest of the threads object is optional: reply_control says who may reply (everyone, accounts_you_follow, mentioned_only, followers_only or parent_post_author_only; default everyone), topic_tag is the post's one topic (1–50 characters with no "." or "&", without the #), and link_attachment is a public http(s) link Threads shows as a preview card, on a text-only post only. A thread's further posts and a reply_control other than everyone need the account's can_comment (accounts_list).
- Threads posts are not held as drafts: post_create publishes or schedules them as it does Instagram posts, so the go-ahead rule below matters for them too.
- Media over ~700KB cannot go inline: the whole MCP request is capped at 1MB and base64 costs a third on top. POST the raw bytes to /v1/uploads on the same host as this endpoint instead — your API key, the file's Content-Type (image/jpeg, video/mp4, or video/quicktime), and Content-Length set to the exact byte count, which is required. That is one request too, so it takes an image up to 8MB and a video up to 90MB. It answers 201 with upload.url, a public link you pass as a media entry to post_create or as media_upload's url, and upload.expires_at, usually an hour out. Create the post before then; the post keeps its own permanent copy, so scheduling weeks ahead is fine.
- A video over 90MB (up to 2GB) that you hold goes up in parts, with the same API key on every request. POST /v1/uploads/sessions with JSON { "content_type": "video/mp4" or "video/quicktime", "size_bytes": the file's exact size } answers 201 with session.part_size, session.part_count, session.parts_url, session.complete_url and session.expires_at. PUT each part n, from 1 to part_count, to parts_url + "/" + n: the raw bytes from offset (n − 1) × part_size, exactly part_size long except the last part (the rest of the file), with Content-Length set. Each answers { part_number, etag }; a part that failed can be sent again, and parts may go one at a time or a few side by side. Then POST complete_url with JSON { "parts": [every { part_number, etag }] }: it answers 201 with the same upload.url and upload.expires_at as POST /v1/uploads, used the same way. Start, send and finish before session.expires_at (the staging window, usually an hour). DELETE /v1/uploads/sessions/<token> abandons a session. Sessions are charged their size when they start, 8192MB an hour per user (429 with Retry-After past it). A video already at a public URL needs none of this: pass the URL, and Relay streams it in.
- Linked posts: when a post is cut from or points to another one (Shorts, Reels and TikToks made from a long video), create the long one first, then each of the others with link_parent_id set to its post ID. One level only: a parent is never itself a child, so link every clip to the long video, never to another clip. post_duplicate with linked: true makes a linked copy of a post to edit with post_update.
- A linked post's text can carry the parent's link: write {{link:parent}} on a line of its own, e.g. "Watch the full video: {{link:parent}}". {{link:<ref>}} links to a sibling (another child of the same parent), where <ref> is the first 8 characters of its post ID (the view's link_ref). Add :youtube, :instagram, :tiktok or :threads to pick that account's link, e.g. {{link:parent:youtube}}; without one, YouTube's comes first, then Instagram's, Threads' and TikTok's. Write placeholders exactly like that, never a URL you guessed: Relay fills each one in with the live link when the post goes out. Placeholders work in the caption, first_comment, tiktok.caption, youtube.description, threads.text and threads.thread. Instagram and TikTok don't make caption links clickable, so on Instagram prefer first_comment.
- A line whose link isn't live when the post goes out is left out whole, so a clip scheduled before its parent goes out without it. To be sure the link is there, pass schedule_after_parent_min instead of schedule_at: the post goes out that many minutes after the parent is live (0–43200), and goes back to drafts if the parent fails or is cancelled. Otherwise schedule the parent first. post_status's link_warnings say which lines would be left out, linked_posts shows the family with each post's links, and resolved_links shows what a sent post carried.
- Lengths are checked with every placeholder counted as the longest link its platform makes, so a caption near a limit (Threads' 500) can be refused before the link is in. A placeholder naming a post outside the family, or an account that makes no link (an Instagram story, a TikTok inbox upload or "Only me" post), is refused.
- Do not publish without an explicit go-ahead. To get one, call post_create with draft: true and give the user the preview_url it returns — that page shows the post exactly as Instagram, TikTok, YouTube and Threads will render it, with Publish and Schedule buttons. A draft never publishes on its own, so this is the safe default when the user has not already told you to send it.
Managing accounts after publishing:
ig_media_list / tiktok_videos_list / youtube_videos_list / threads_posts_list → what is live on the account (including posts made outside Relay)
ig_comments_list → read comments; then ig_comment_hide, ig_comment_delete
threads_replies_list → read the replies to a Threads post; then threads_reply_hide
ig_media_insights / ig_account_insights / threads_post_insights / threads_account_insights / tiktok_videos_query / youtube_videos_query → how posts and the account are performing
ig_publishing_limit / threads_publishing_limit → how much of the day's publishing quota is left
ig_conversations_list → ig_messages_list → read Instagram DMs
post_duplicate, post_delete, media_list, media_update, account_refresh → housekeeping in Relay itself
- Check the account's can_* flags in accounts_list first: insights need can_read_insights, DMs need can_message, TikTok and YouTube video lists need can_list_videos, and on Threads hiding replies needs can_comment. A false flag means the user must reconnect the account in the Relay dashboard — do not retry. threads_replies_list needs the permission to read replies too, which no flag shows: when it is missing the tool says so, and the fix is the same.
- Confirm with the user before ig_comment_delete and post_delete; both are permanent. Prefer ig_comment_hide for moderation. On Threads, hiding is the only moderation there is: Relay can't delete anyone's reply there, and only a reply made straight to the post can be hidden (hiding it hides the replies under it too).
- Replies and DMs speak for the user in public or to their customers, so a person sends them: ig_comment_reply, ig_message_send and threads_reply refuse every API key. Draft the wording and give it to the user to send from Relay (its Inbox, or the Replies on a Threads post's page in the dashboard) or in Instagram or Threads.
- Instagram only allows a DM within 24 hours of the other person's last message; ig_messages_list reports window.open, so say whether the user can still answer. Relay cannot start new conversations.
- Anywhere a tool takes media_id you may pass the Relay post_id instead, for a post Relay published to that account.
- Relay doesn't moderate TikTok or YouTube comments or send messages there: for those platforms, management is read-only. Threads offers no messages through its API, and Relay never deletes a Threads post.
Prompts to try
List my connected Instagram, TikTok, YouTube and Threads accounts and their token expiry.
Schedule this photo to Instagram for tomorrow at 9am: <image URL>
What’s scheduled for this week?
Did my last post go out? If it failed, explain why.
Post this video as a reel, but keep it off my profile grid.
Draft this video for my YouTube channel, titled “Behind the scenes”, unlisted and not made for kids, then send me the preview link: <video URL>
Post this to Threads with the topic “Indie apps”, and let only profiles I follow reply: <text>
Posts an agent creates are tagged source: "mcp", so they're easy to spot in the dashboard and in GET https://api.relay.lantean.tech/v1/posts.