blast://api

The BlastCP API

Draft, schedule and publish posts from your own code: a script, a cron job, Zapier, another app's server. Every tool an AI agent gets over MCP is also an HTTP endpoint, with the same rules, so anything an agent can do, your code can too.

Quick start

  1. 1. Make a key. Sign in and open API keys, name it after what will use it, and copy it. It's shown once. Keep it in your server's environment:

    export BLASTCP_API_KEY=bcp_…
  2. 2. See what you have. get_started returns your workspaces, their properties (the property_slug most tools ask for) and connected channels.

    curl -X POST https://blastcp.com/api/v1/tools/get_started \
      -H "Authorization: Bearer $BLASTCP_API_KEY"
  3. 3. Draft a post. It stays a draft until you schedule or publish it.

    curl -X POST https://blastcp.com/api/v1/tools/create_post \
      -H "Authorization: Bearer $BLASTCP_API_KEY" \
      -H 'content-type: application/json' \
      -d '{
        "property_slug": "your-property",
        "platform": "linkedin",
        "body": "We shipped an API.",
        "link_url": "https://example.com/launch"
      }'
  4. 4. Queue it. queue: true takes the property's next free weekly slot; pass scheduled_for (ISO 8601) instead for a time of your own. Scheduling approves the post as you, and it goes out within five minutes of its time.

    curl -X POST https://blastcp.com/api/v1/tools/schedule_post \
      -H "Authorization: Bearer $BLASTCP_API_KEY" \
      -H 'content-type: application/json' \
      -d '{"property_slug": "your-property", "post_id": "<id from step 3>", "queue": true}'

Authentication

  • Send the key as Authorization: Bearer bcp_… on every call.
  • A key acts as you, in every workspace you belong to. It lasts a year, and you can revoke it at once from API keys.
  • Keys start with bcp_, so secret scanners can spot one in a repo. BlastCP keeps only a hash.
  • Never put a key in browser code. Call the API from a server.
  • An MCP connector's OAuth token works here too, and a key works on the MCP endpoint.

Requests and responses

Every call is POST https://blastcp.com/api/v1/tools/{name} with the tool's arguments as a JSON object (an empty body is {}). GET https://blastcp.com/api/v1 lists every tool and its argument schema. Every answer has the same shape:

{
  "data": { … },          // the tool's JSON result, or null when it answered in words
  "text": ["…"],          // any other lines the tool wrote (omitted when empty)
  "images": [{ "mime_type": "image/png", "data": "<base64>" }]  // charts (omitted when empty)
}

Errors are { "error": { "code", "message" } }:

400invalid_json, invalid_argumentsThe body isn't a JSON object.
400tool_errorThe tool refused, in its own words: a slug it doesn't know (it lists the real ones), a state that blocks it, a missing approval.
401invalid_tokenNo key, or a revoked or expired one.
404unknown_toolNo tool by that name.
405method_not_allowedA tool is POST only.

Rules worth knowing

  • Your code is an agent. If the workspace requires a person to approve posts (Settings → General), schedule_post and publish_post refuse and keep the draft. The error carries a review_url to send a person to.
  • Editing a scheduled post's words, link or time drops it back to draft. Schedule it again.
  • Never retry a publish that timed out: read it back with get_post first. Some platforms can't tell a retry from a second post, so a blind retry can post twice.
  • A Gmail send or a Resend send to people answers first with the exact email and a confirm_token. Nothing goes out until you call again with the token.
  • Channels are connected by a person in the app (connect_channel returns the link). No platform password ever passes through the API.

Every endpoint

Generated from the live tool list. For agents, the same list with usage notes is at /agents.md; to connect an AI over MCP instead, see /mcp.

Start here

get_started

POST https://blastcp.com/api/v1/tools/get_started

Call this ONCE when you first connect to BlastCP in a conversation, before any other BlastCP tool.

Full description

Call this ONCE when you first connect to BlastCP in a conversation, before any other BlastCP tool. Returns what BlastCP is, the user's workspaces and connected channels, and the best first move. Do NOT re-call it later in the same conversation.

No arguments: send {}.

whoami

POST https://blastcp.com/api/v1/tools/whoami

Return the authenticated user's Supabase user_id and email.

Full description

Return the authenticated user's Supabase user_id and email. Use this to verify the bearer is wired up correctly.

No arguments: send {}.

Posts

create_post

POST https://blastcp.com/api/v1/tools/create_post

Create a post, optionally promoting a link (any URL — its card is auto-filled from the link's OpenGraph tags unless you set link_title/link_description/link_image_url yourself), and — with intent — schedule or publish it in the same call.

Full description

Create a post, optionally promoting a link (any URL — its card is auto-filled from the link's OpenGraph tags unless you set link_title/link_description/link_image_url yourself), and — with intent — schedule or publish it in the same call. intent "draft" (default) only saves it; "schedule" approves it for scheduled_for (required); "queue" approves it into the posting schedule's next free slot; "publish_now" approves, claims and publishes synchronously and returns the outcome. For platform="linkedin", "substack", "facebook", "instagram", "threads", "youtube", "tiktok", "gmail" or "resend" with channel_id omitted: exactly one usable connected channel of that platform is used automatically; none creates a MANUAL post instead (you paste it in yourself — BlastCP never posts it, and any intent is ignored); more than one is an error listing them so you can pass channel_id (with several Facebook Pages or Instagram accounts connected this is how one is chosen). "other" is always manual. A LinkedIn API post publishes to LinkedIn; a Substack API post becomes a DRAFT in Substack, and the author publishes it from Substack (BlastCP never publishes or emails a newsletter). Returns the post, review_url, and next_step. If the intent step fails (no usable channel, or this workspace requires a person to approve), the draft is kept and the error carries its post_id — fix the cause, then schedule_post or publish_post, or send a person to review_url. A manual post needs you to paste the link in wherever you publish it, then call mark_post_published. platform "youtube" uploads ONE video: `title` is required (the video's title, at most 100 characters), and `parts` must be a single part whose `media` is exactly one video (mp4/mov/webm up to 1GB — upload it with create_media_upload, PUT the bytes, then complete_media_upload) plus, optionally, one JPEG or PNG used as the thumbnail, and one SRT/VTT caption file (set youtube.caption_language). The part's body (and its link_url, on its own line) becomes the description; neither title nor description may contain < or >. Prefer intent "schedule" or "queue" over "publish_now": an upload can take minutes, and a video too big to finish inside one tool call is left scheduled for now — the next publish run, within five minutes, sends it (the returned status says "scheduled"). `youtube` sets privacy, tags, category, made-for-kids and a playlist (list_youtube_options lists the channel's playlists and categories); `first_comment` is posted from the channel once the video is up. YouTube may lock an upload from an unaudited project to Private — the published post's last_error says so when it happens. platform "instagram" posts to an Instagram professional account as a photo, a carousel, a Reel or a story — always a single part, its `media` uploaded with create_media_upload → PUT → complete_media_upload. One image is a photo; 2–10 images and videos are a carousel; one video (plus, optionally, one image as its cover) is a Reel; set instagram.format to "story" for one image or video as a story (or "feed" for a carousel of one video and one image). Images: JPEG, PNG or WebP (BlastCP sends Meta a JPEG), at most 8MB, and in a photo or carousel between 4:5 and 1.91:1 — a 9:16 image only fits a story; a media item's `alt` becomes the image's alt text. Videos: mp4 or mov, not webm — a Reel 3 seconds to 15 minutes and at most 300MB, a story or carousel video 3 to 60 seconds and at most 100MB. The part's body is the caption, exactly (at most 2,200 characters, 30 hashtags, 20 @-mentions); a story has no caption, so its body isn't sent. link_url is NOT added to it, because Instagram renders no link in a caption clickable — write "link in bio" in the body if the post should point somewhere. title is ignored. get_post (and create_post/update_post) returns `instagram`: the saved format (`current`) and, for each choice, what this media makes or why it can't (`options`). Prefer intent "schedule" or "queue" over "publish_now" for video: Instagram processes it before it posts, which can take a minute or two. platform "tiktok" sends ONE video to the TikTok account's DRAFTS (TikTok's Upload mode): `parts` must be a single part whose `media` is exactly one video (mp4/mov/webm, at most 10 minutes, up to 1GB — upload it with create_media_upload, PUT the bytes, then complete_media_upload) and nothing else. TikTok takes NO caption from apps in this mode: the part's body (plus link_url, on its own line) is kept as the caption for the user to copy, at most 2,200 characters. title is ignored. "published" means the video is in the user's TikTok inbox; they tap the notification in the TikTok app to finish and post it — say so when you report it. If TikTok is still processing the video, the post stays "publishing" until TikTok confirms (get_post a few minutes later) — never publish it again. TikTok allows five such drafts per account in 24 hours. EVERY TikTok post comes back with approve_url: ALWAYS give it to the user, as a link, with the post. It opens on their phone (signed in) at TikTok's own posting screen: they choose who can see it, comments/duet/stitch and the branded-content disclosure, see the video and caption, and tap Approve, which keeps the post's time (or posts now if that has passed). TikTok requires a PERSON to make those choices and consent, so you can't approve it yourself and no tool argument sets them. A post left in drafts mode goes to the user's TikTok drafts at its time; a direct post still unapproved at its time is held (status awaiting_human) and the property's Slack gets the link. Prefer intent "schedule" or "queue" over "publish_now": the upload and TikTok's processing can take minutes. platform "gmail" SENDS an email from the user's own connected Gmail — "send Steve an email": `title` is the subject (required), the body is the email (markdown; attached images go inline, a video becomes a link, and a link_url closes it as a card), and `gmail.to` / `cc` / `bcc` are plain addresses (at least one; at most 500). Ask for an address you don't have — never guess one. THE USER CONFIRMS EVERY EMAIL: an intent other than draft (and schedule_post / publish_post) sends nothing the first time — it returns the exact email and a confirm_token. Show the user who it's from, every recipient, the subject and the text, ask, and only after their yes call publish_post or schedule_post with that confirm_token. If Gmail doesn't answer a send, the post fails with a note to check Sent — it is never sent twice. platform "resend" emails from the sender chosen at connect, with `title` as the subject (required), to one of two audiences (`resend`; list_resend_options lists the account's segments and a segment's people): a SEGMENT (resend.segment_id, else the channel's own) becomes a DRAFT broadcast with Resend's unsubscribe link — BlastCP never sends a broadcast, "published" means it's in their Resend broadcasts for them to send, so say so; or SPECIFIC PEOPLE (resend.to, at most 100) each get their own copy, SENT when it publishes, never twice — confirmed by the user first exactly as for gmail, and never with someone list_resend_options shows as unsubscribed. The result carries `preview`: the exact string each part publishes as, the fold (LinkedIn's “see more” cut), how the attachments and the link resolve against each other, and `blocked_reason` when the platform will refuse the post. READ IT BEFORE SENDING: `body` is markdown, and LinkedIn renders none — **bold** publishes as four asterisks and an inline ![image](url) publishes as a URL and no picture. `preview.notes` names anything that was flattened or dropped. A CHAIN is several posts replying to each other (a thread) — that's `parts`, one entry per post. A CAROUSEL is ONE post carrying several images — that's ONE entry with several `media`. They are not interchangeable: three images in one part is a single post with three pictures; three parts is three posts. Don't use `parts` for a single post — send `body` and `link_url` as usual. If a post with the same video or the same title and text went to the same account in the last 30 minutes (scheduled, publishing, published or failed), a call that would send this one creates nothing and returns created: false with duplicate_of — retry that post with publish_post, or, once the user confirms a second post is meant, call again with allow_duplicate: true. A draft is still created, with a note.

Arguments (22, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
platform"linkedin" | "substack" | "facebook" | "instagram" | "threads" | "youtube" | "tiktok" | "gmail" | "resend" | "slack" | "other"required
Where this post is going. linkedin, substack, facebook (a Page — never a personal profile), instagram (a photo, carousel, Reel or story — see the tool description), threads, youtube (one video), tiktok (one video, to the account's drafts), gmail (an email sent from the user's Gmail) and resend (a draft broadcast to a list) — see the tool description — can go through a connected channel (see channel_id; Substack becomes a draft); other is always manual — BlastCP mints nothing and you paste the link in yourself.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
partsarray of object
Optional. The post as an ordered CHAIN: parts[0] is the post itself and 1, 2, … are replies to the one before, published in this order. A CHAIN is several posts replying to each other (a thread) — that's `parts`, one entry per post. A CAROUSEL is ONE post carrying several images — that's ONE entry with several `media`. They are not interchangeable: three images in one part is a single post with three pictures; three parts is three posts. Don't use `parts` for a single post — send `body` and `link_url` as usual. Sending `parts` replaces the post's whole chain, so always send every part you want to keep — and it can't be combined with body/link_url/link_title/link_description/link_image_url, which are parts[0]'s fields under another name. A part that is already live on the platform can't be edited or removed; send it back unchanged.
bodystring
The post text. Required unless you send `parts` instead (whose parts[0] is this same field). LinkedIn: exactly as published, capped at 3000 characters. Substack: markdown, optionally a whole newsletter file (# Title on line 1, *Subtitle: …*, body after the first ---).
link_urlstring
The URL this post promotes. Optional — a post with nothing to promote can omit it.
link_titlestring
Override the link card's title. Left blank, it's read from the URL's OpenGraph tags.
link_descriptionstring
Override the link card's description. Left blank, it's read from OpenGraph.
link_image_urlstring
Override the link card's image. Left blank, it's read from OpenGraph.
titlestring
Optional, except for YouTube, where it is REQUIRED and is the video's title (at most 100 characters, no < or >), and gmail/resend, where it is REQUIRED and is the email's subject. Substack: the newsletter headline (overrides a # Title line in the body). Shown in the post list either way — elsewhere it is the internal label, not the link card title.
first_commentstring
LinkedIn and YouTube only (other platforms ignore it): a comment posted right after the post goes live — on LinkedIn under the post, on YouTube as a top-level comment from the channel. YouTube's API can't pin it (pin it in YouTube Studio), and YouTube allows no comments on a private or made-for-kids video, so it is skipped there with a note. Empty string clears it.
youtubeobject
platform "youtube" only: the video's own settings. Anything left out uses the default (public, category "27" Education, not made for kids, no synthetic-media disclosure, no tags, no playlist). On update_post this MERGES into what the post already has, and null clears one setting back to its default. Changing any of them is an edit, so an approved post goes back to draft.
gmailobject
platform "gmail" only: who the email goes to. The post's `title` is the subject (required) and its body the email (markdown; images inline, a video as a link). Publishing SENDS it from the connected Gmail — only after the user confirms the exact email (schedule_post / publish_post return it with a confirm_token). On update_post each field you pass replaces that field; changing any of them is an edit, so an approved post goes back to draft.
resendobject
platform "resend" only: who gets it. A segment (segment_id — list_resend_options lists them; omitted, the channel's own from connect) becomes a DRAFT broadcast the user sends from Resend. Specific people (to) each get their own copy, SENT from the channel's sender when the post publishes — it can't be unsent, so read the list back first. to wins when both are set; pass to: [] to go back to a segment. Changing either is an edit.
instagramobject
platform "instagram" only: what kind of Instagram post this is. Left out, it follows the media: one video (with or without a cover image) is a Reel, anything else is a feed post. Changing it is an edit, so an approved post goes back to draft.
linkedinobject
platform "linkedin" only: who the post @mentions inside its `commentary`. The body is plain markdown — write `@Acme` in the text, and the mapping here turns the FIRST `@Acme` into LinkedIn's `@[Acme](urn:li:organization:ID)` form; every other `@` is escaped as today. Other platforms read the body untouched. People mentions are limited to the workspace's connected LinkedIn channels (use list_mentions); companies are admin-URL / org-id / urn, one of the workspace's saved `linkedin_mentions` rows, or a new one (add_mention). At most 20 per post. On update_post this MERGES into what the post has, and null drops a mention by URN; an empty array clears them all. Changing any of them is an edit, so an approved post goes back to draft.
threadsobject
platform "threads" only: the topic and location tags Threads adds to the root container. `topic_tag` is one free-text tag (1–50 characters, no '.' or '&', a leading '#' stripped); `location_id` is the location Meta returned from search_threads_locations (gated on the `threads_location_tagging` scope — the channel must have been connected with that scope, otherwise schedule_post refuses with a reconnect message). `location_name` is display only — set it to the same string the search returned so the picker can name the picked place. On update_post each field you pass replaces that field, and null clears it.
channel_idstring
Publish through this specific connected channel (id from list_channels) — this is how you choose WHICH Facebook Page or Instagram account. Omit to let create_post pick automatically — see the tool description for the rules.
scheduled_forstring
Publish time, ISO 8601. With intent "schedule" it's when the post goes out; with "draft" it's stored as the proposed time schedule_post uses by default. Ignored by "queue" and "publish_now".
intent"draft" | "schedule" | "queue" | "publish_now"
What to do once the post exists: draft (default, save only), schedule (at scheduled_for), queue (the posting schedule's next free slot), publish_now (synchronous). You are recorded as the approver — the post goes out under the account this token belongs to, so read the body back before choosing anything but draft.
blast_idstring
A Pipeline blast (add_blast, list_blasts) this post is made from: the post joins it, and its board card follows the post. Omit and the post is a blast of its own.
allow_duplicateboolean
Make the post even though the same content went to the same account in the last 30 minutes. Only after the user confirms they want a second post — it publishes a second copy.

update_post

POST https://blastcp.com/api/v1/tools/update_post

Edit a draft, scheduled, or failed post: body, title, link, attachments, or proposed time.

Full description

Edit a draft, scheduled, or failed post: body, title, link, attachments, or proposed time. IMPORTANT: editing an already-scheduled API post sends it back to draft — approval was of those specific words and pictures at that time, so any change revokes it; call schedule_post or publish_post to approve it again. To only MOVE a scheduled post, call schedule_post with the new time instead (it re-approves in one step). A published, publishing, or canceled post can't be edited. Pass `media` to reorder, remove or re-add attachments (it replaces the list). Pass `parts` to replace the post's whole chain (it can't be combined with body/link_*, which are parts[0] under another name, or with `media`); a part that is already live on the platform can't be edited or removed, and the error names which ones those are. A person may be editing the same post in the app: send `base_version` (get_post's `version`) and a stale edit is refused instead of overwriting theirs. The result's `version` is the one to send next. On a YouTube post, `youtube` merges settings (null clears one), and the result's `warnings` say what would still stop it at schedule_post or what its channel isn't allowed to do yet. On an Instagram post, `instagram.format` switches between feed, reel and story, and `warnings` say what the media still needs. The result carries `preview`: the exact string each part publishes as, the fold (LinkedIn's “see more” cut), how the attachments and the link resolve against each other, and `blocked_reason` when the platform will refuse the post. READ IT BEFORE SENDING: `body` is markdown, and LinkedIn renders none — **bold** publishes as four asterisks and an inline ![image](url) publishes as a URL and no picture. `preview.notes` names anything that was flattened or dropped.

Arguments (22, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
base_versioninteger 0–
Optional, recommended whenever someone else may be editing this post too (a person in the app or the post card). The `version` you last read from get_post (or from update_post's result). If the post has been saved since, NOTHING is saved and the error names the current version: call get_post, merge your change into what's there now, and retry with that number. Use 0 for a post with no version yet (get_post shows version: null). Omit it and the save always goes through, overwriting whatever is there.
partsarray of object
Optional. The post as an ordered CHAIN: parts[0] is the post itself and 1, 2, … are replies to the one before, published in this order. A CHAIN is several posts replying to each other (a thread) — that's `parts`, one entry per post. A CAROUSEL is ONE post carrying several images — that's ONE entry with several `media`. They are not interchangeable: three images in one part is a single post with three pictures; three parts is three posts. Don't use `parts` for a single post — send `body` and `link_url` as usual. Sending `parts` replaces the post's whole chain, so always send every part you want to keep — and it can't be combined with body/link_url/link_title/link_description/link_image_url, which are parts[0]'s fields under another name. A part that is already live on the platform can't be edited or removed; send it back unchanged.
bodystring
Replace the post text.
titlestring
Replace the title: a YouTube video's title or an email's subject (required there), elsewhere an internal label. Empty string clears it.
first_commentstring
LinkedIn and YouTube only (other platforms ignore it): a comment posted right after the post goes live — on LinkedIn under the post, on YouTube as a top-level comment from the channel. YouTube's API can't pin it (pin it in YouTube Studio), and YouTube allows no comments on a private or made-for-kids video, so it is skipped there with a note. Empty string clears it.
youtubeobject
platform "youtube" only: the video's own settings. Anything left out uses the default (public, category "27" Education, not made for kids, no synthetic-media disclosure, no tags, no playlist). On update_post this MERGES into what the post already has, and null clears one setting back to its default. Changing any of them is an edit, so an approved post goes back to draft.
gmailobject
platform "gmail" only: who the email goes to. The post's `title` is the subject (required) and its body the email (markdown; images inline, a video as a link). Publishing SENDS it from the connected Gmail — only after the user confirms the exact email (schedule_post / publish_post return it with a confirm_token). On update_post each field you pass replaces that field; changing any of them is an edit, so an approved post goes back to draft.
resendobject
platform "resend" only: who gets it. A segment (segment_id — list_resend_options lists them; omitted, the channel's own from connect) becomes a DRAFT broadcast the user sends from Resend. Specific people (to) each get their own copy, SENT from the channel's sender when the post publishes — it can't be unsent, so read the list back first. to wins when both are set; pass to: [] to go back to a segment. Changing either is an edit.
instagramobject
platform "instagram" only: what kind of Instagram post this is. Left out, it follows the media: one video (with or without a cover image) is a Reel, anything else is a feed post. Changing it is an edit, so an approved post goes back to draft.
linkedinobject
platform "linkedin" only: who the post @mentions inside its `commentary`. The body is plain markdown — write `@Acme` in the text, and the mapping here turns the FIRST `@Acme` into LinkedIn's `@[Acme](urn:li:organization:ID)` form; every other `@` is escaped as today. Other platforms read the body untouched. People mentions are limited to the workspace's connected LinkedIn channels (use list_mentions); companies are admin-URL / org-id / urn, one of the workspace's saved `linkedin_mentions` rows, or a new one (add_mention). At most 20 per post. On update_post this MERGES into what the post has, and null drops a mention by URN; an empty array clears them all. Changing any of them is an edit, so an approved post goes back to draft.
threadsobject
platform "threads" only: the topic and location tags Threads adds to the root container. `topic_tag` is one free-text tag (1–50 characters, no '.' or '&', a leading '#' stripped); `location_id` is the location Meta returned from search_threads_locations (gated on the `threads_location_tagging` scope — the channel must have been connected with that scope, otherwise schedule_post refuses with a reconnect message). `location_name` is display only — set it to the same string the search returned so the picker can name the picked place. On update_post each field you pass replaces that field, and null clears it.
link_urlstring
Change the promoted link. Empty string unlinks it.
link_titlestring
Override the link card's title. Empty string clears it.
link_descriptionstring
Override the link card's description. Empty string clears it.
link_image_urlstring
Override the link card's image. Empty string clears it.
mediaarray of object
Optional. The post's attachments (images/video), in the order they should appear — this REPLACES the whole list: reorder by sending the ids in a new order, remove one by leaving it out, send [] to remove them all. Ids come from upload_media (its media.id) or from get_post's `media`; any media already in this workspace's library can be re-attached. Omit to leave attachments unchanged. Changing attachments is an edit: it revokes approval and records a version like a body change. On a multi-part post this is parts[0]'s attachments only — replies keep theirs; can't be combined with `parts` (use parts[0].media there).
also_updatearray of string
Post ids of this post's copies on other platforms (get_post's `set.members`) that should get this post's text too, as saved. Each copy is edited as its own post: its approval is revoked like any edit, and it records its own version. Pass it only when the person asked for their edit to go to the other platforms (the post card does when they tick them); each platform's text is otherwise its own. The result's `also_updated` / `also_refused` say what happened to each.
scheduled_forstring
Replace the proposed publish time, ISO 8601. Empty string clears it.
checkpointstring
Names this saved version so it can be found and restored later (list_post_versions / get_post_version / restore_post_version). Max 80 characters. Omit for an ordinary save, which still writes a version — just an unlabeled one.

get_post

POST https://blastcp.com/api/v1/tools/get_post

One post in full: body, link card, schedule, status, review_url (and approve_url for a TikTok post: give it to the user — EVERY TikTok post comes back with approve_url: ALWAYS give it to the user, as a link, with the post.

Full description

One post in full: body, link card, schedule, status, review_url (and approve_url for a TikTok post: give it to the user — EVERY TikTok post comes back with approve_url: ALWAYS give it to the user, as a link, with the post. It opens on their phone (signed in) at TikTok's own posting screen: they choose who can see it, comments/duet/stitch and the branded-content disclosure, see the video and caption, and tap Approve, which keeps the post's time (or posts now if that has passed). TikTok requires a PERSON to make those choices and consent, so you can't approve it yourself and no tool argument sets them. A post left in drafts mode goes to the user's TikTok drafts at its time; a direct post still unapproved at its time is held (status awaiting_human) and the property's Slack gets the link.), version (the latest saved version's number, or null if none is recorded yet) and approved_version (the newest version labeled "approved", once the post has actually been approved — null otherwise). Use list_post_versions / get_post_version / restore_post_version for the history behind those numbers. Also carries lint: the current version's voice-lint redline (quote/replacement/rule/severity/why per edit), or null if it hasn't been checked yet — apply these with update_post before scheduling. And editor: the Editor's verdict on the whole post against the property's post types (verdict fits/reshape/no_fit, reads_as, should_be, advice, reasons), or null. On reshape, get_skill{ should_be } and rewrite the post in that shape before asking for approval. The result carries `preview`: the exact string each part publishes as, the fold (LinkedIn's “see more” cut), how the attachments and the link resolve against each other, and `blocked_reason` when the platform will refuse the post. READ IT BEFORE SENDING: `body` is markdown, and LinkedIn renders none — **bold** publishes as four asterisks and an inline ![image](url) publishes as a URL and no picture. `preview.notes` names anything that was flattened or dropped.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

list_posts

POST https://blastcp.com/api/v1/tools/list_posts

List posts in this workspace, newest first: platform, status, link, and schedule.

Full description

List posts in this workspace, newest first: platform, status, link, and schedule. Filter by status or link_url. Archived posts (archive_post) are left out unless `archived` asks for them. Call get_post on any one for the full detail.

Arguments (6, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
status"draft" | "scheduled" | "publishing" | "awaiting_human" | "published" | "failed" | "canceled"
Only posts in this status.
link_urlstring
Only posts promoting this link.
archived"exclude" | "include" | "only"
Archived posts: left out (default), mixed in, or only them.
limitnumber
Max posts to return (default 100, capped at 500).

schedule_post

POST https://blastcp.com/api/v1/tools/schedule_post

Approve an API post (any platform through a connected channel) and schedule it.

Full description

Approve an API post (any platform through a connected channel) and schedule it. TikTok: EVERY TikTok post comes back with approve_url: ALWAYS give it to the user, as a link, with the post. It opens on their phone (signed in) at TikTok's own posting screen: they choose who can see it, comments/duet/stitch and the branded-content disclosure, see the video and caption, and tap Approve, which keeps the post's time (or posts now if that has passed). TikTok requires a PERSON to make those choices and consent, so you can't approve it yourself and no tool argument sets them. A post left in drafts mode goes to the user's TikTok drafts at its time; a direct post still unapproved at its time is held (status awaiting_human) and the property's Slack gets the link. Pass scheduled_for (ISO 8601) for an exact time, or queue: true for the posting schedule's next free slot (set_posting_schedule / Settings → Schedule; a clear error if no times are set). With neither, the post's own proposed scheduled_for is used. Also the way to MOVE a scheduled post: a new time re-approves in one step. The publish cron sends it within 5 minutes of the time — LinkedIn publishes; Gmail sends the email; Substack and Resend get a DRAFT the author sends themselves. A manual post becomes a reminder (awaiting_human at its time). Refuses an inactive channel, any status but draft/scheduled/failed, and a workspace that requires a person to approve (the error carries review_url). You are recorded as the approver: the post goes out under the account this token belongs to. A post that SENDS email (gmail, or resend to specific people) takes two calls: the first returns the exact email and a confirm_token for the user to approve, and only a second call with that token schedules it.

Arguments (7, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
scheduled_forstring
When to publish, ISO 8601. Ignored when queue is true.
queueboolean
Take the posting schedule's next free slot instead of a time you pick.
whole_setboolean
Schedule every post in this post's SET (create_post_set, or copies made in the app), not just this one. With queue: true, drafts join the slot the set already holds (or take the next free one together). With scheduled_for, every unpublished post in the set moves to that time. Published and canceled posts are left alone.
confirm_tokenstring
Only for a post that SENDS an email (gmail, or resend to specific people): the confirm_token from this tool's first answer, AFTER the user has seen that exact email and said yes. Without it nothing is sent; you get the email and a token to show them. Never pass one the user hasn't confirmed.

publish_post

POST https://blastcp.com/api/v1/tools/publish_post

Approve an API post and publish it NOW, synchronously: a LinkedIn post is live before this returns; a TikTok direct post the user hasn't approved is NOT sent (published: false; give them approve_url); a Gmail email is sent; a Substack po…

Full description

Approve an API post and publish it NOW, synchronously: a LinkedIn post is live before this returns; a TikTok direct post the user hasn't approved is NOT sent (published: false; give them approve_url); a Gmail email is sent; a Substack post or Resend broadcast is created as a DRAFT. Returns the post as it stands afterwards — published (with external_url), failed (with last_error), or scheduled for a retry after a transient platform error. Never re-sends on an ambiguous outcome (LinkedIn has no idempotency key; a double post can't be undone) — a post stuck in publishing is reported, not retried. Same refusals as schedule_post. You are recorded as the approver. A YouTube upload can take minutes, longer than some clients wait — prefer schedule_post for YouTube. An email (gmail, or resend to specific people) is never sent on the first call: it returns the email and a confirm_token; show the user, and call again with the token only after they say yes.

Arguments (4, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
confirm_tokenstring
Only for a post that SENDS an email (gmail, or resend to specific people): the confirm_token from this tool's first answer, AFTER the user has seen that exact email and said yes. Without it nothing is sent; you get the email and a token to show them. Never pass one the user hasn't confirmed.

cancel_post

POST https://blastcp.com/api/v1/tools/cancel_post

Cancel a draft, scheduled, or failed post.

Full description

Cancel a draft, scheduled, or failed post. A published post can't be canceled (it already went out), and a post mid-publish can't be canceled either — check back once it lands as published or failed.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

archive_post

POST https://blastcp.com/api/v1/tools/archive_post

Archive a post: it drops out of the Queue, Drafts, History and Calendar and out of list_posts (pass archived: "only" or "include" there to see it).

Full description

Archive a post: it drops out of the Queue, Drafts, History and Calendar and out of list_posts (pass archived: "only" or "include" there to see it). Nothing is deleted, here or on the platform — a published post stays published wherever it went. archived: false brings it back. A scheduled post can't be archived (cancel_post first) and neither can one mid-publish; an archived post can't be scheduled until it's unarchived. When every post of a blast is archived, the blast leaves the Pipeline board for its Archived drawer, and unarchiving one brings the blast back.

Arguments (4, 2 required)
property_slugstringrequired
The property (brand or presence) the post belongs to.
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
archivedboolean
true (the default) archives it; false unarchives it.

mark_post_published

POST https://blastcp.com/api/v1/tools/mark_post_published

Record that a MANUAL post (one with no connected channel: platform "other", or any platform the author posts by hand) has been published.

Full description

Record that a MANUAL post (one with no connected channel: platform "other", or any platform the author posts by hand) has been published. Call this after it's actually posted — not for API posts, which BlastCP sends itself (schedule_post / publish_post). Works on a manual post that is a draft, scheduled, awaiting_human (its reminder fired) or failed.

Arguments (4, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
external_urlstring
The published post's URL, if you have it. Optional.

get_tiktok_approvals

POST https://blastcp.com/api/v1/tools/get_tiktok_approvals

The TikTok Direct Posts waiting for the user to approve them (TikTok requires a PERSON to choose who can see each post and confirm it; you cannot approve for them), and approve_url: one link that opens every one of them on a single page,…

Full description

The TikTok Direct Posts waiting for the user to approve them (TikTok requires a PERSON to choose who can see each post and confirm it; you cannot approve for them), and approve_url: one link that opens every one of them on a single page, already signed in, with one Approve all button. ALWAYS give the user approve_url; it works for 24 hours (expires_at) and only for them, so don't post it anywhere others can read. Call it again for a fresh link. Omit property_slug for the whole workspace.

Arguments (2)
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
property_slugstring
Only this property's posts. Omit for every property in the workspace.

create_post_set

POST https://blastcp.com/api/v1/tools/create_post_set

Post one thing to several channels at once: a POST SET.

Full description

Post one thing to several channels at once: a POST SET. The usual case is one vertical video to YouTube, TikTok and Instagram, each with words written for that platform. Each channel gets its own ordinary post (its own review_url, approval, versions and outcome; a TikTok post also its approve_url, which you ALWAYS give the user — TikTok requires them to approve posting it directly, one tap on their phone) and the posts share a blast_id. Give the shared fields once (title, body, link_url, media, youtube, scheduled_for) and override any of them per channel in `targets`. Media is shared by id: each channel takes what its platform publishes (YouTube the video plus a JPEG/PNG thumbnail and captions, TikTok the video only, Instagram the video as a Reel — or, with no video, the images as a photo or carousel; give Instagram a cover in its own target's media, and a story with the target's `instagram`). Each channel's rules are create_post's (a YouTube title, one video, Instagram mp4/mov, caption lengths), and EVERYTHING is checked before anything is saved: a refusal names every target that needs fixing, saves nothing, and the same call, fixed, is the retry. intent "draft" (default) saves them; "queue" puts every channel in the posting schedule's next free slot TOGETHER; "schedule" sends each at scheduled_for (a target's own scheduled_for staggers it). There is no publish_now for a set. You are recorded as the approver of each post. A channel whose platform refuses it at approval stays a draft and is listed in not_scheduled with the reason; the others are scheduled anyway — fix it with update_post and schedule_post{queue: true} and it joins their slot. Editing one post later revokes only that post's approval. In a workspace that requires a person to approve, every post stays a draft and review_url is where they approve the set. Write each channel's text in the property's voice (list_skills / get_skill first). For one channel, use create_post.

Arguments (16, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
targetsarray of object (2–10)required
The channels, 2 to 10, each once.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
titlestring
Shared title. YouTube needs one (here or on its target).
bodystring
Shared text, for every channel that doesn't set its own.
first_commentstring
LinkedIn and YouTube only (other platforms ignore it): a comment posted right after the post goes live — on LinkedIn under the post, on YouTube as a top-level comment from the channel. YouTube's API can't pin it (pin it in YouTube Studio), and YouTube allows no comments on a private or made-for-kids video, so it is skipped there with a note. Empty string clears it.
link_urlstring
Shared link; its card is filled from OpenGraph.
link_titlestring
Override the shared link card's title.
link_descriptionstring
Override the shared link card's description.
link_image_urlstring
Override the shared link card's image.
mediaarray of object
Shared media by id; each channel takes what its platform publishes.
youtubeobject
platform "youtube" only: the video's own settings. Anything left out uses the default (public, category "27" Education, not made for kids, no synthetic-media disclosure, no tags, no playlist). On update_post this MERGES into what the post already has, and null clears one setting back to its default. Changing any of them is an edit, so an approved post goes back to draft.
scheduled_forstring
When the set goes out, ISO 8601, with intent "schedule".
intent"draft" | "schedule" | "queue"
draft (default, save only), queue (every channel in the next free slot, together), schedule (at scheduled_for).
blast_idstring
A Pipeline blast (add_blast, list_blasts) this is made from: the posts join it, and its board card follows them. Omit for a blast of its own.
external_idstring
Your own id for this set, e.g. "gnf:post:123" (at most 200 characters, unique per workspace). A repeat call with the same external_id makes nothing and returns the first call's set (created: false), so a retry never posts twice. Read it back with get_post_set{ external_id }. Not with blast_id.

get_post_set

POST https://blastcp.com/api/v1/tools/get_post_set

Where a post set stands, by your external_id (or blast_id): each platform's post with state (draft, scheduled, publishing, posted, failed, canceled, awaiting_human), scheduled_for, published_at, the platform's own post id and URL once it…

Full description

Where a post set stands, by your external_id (or blast_id): each platform's post with state (draft, scheduled, publishing, posted, failed, canceled, awaiting_human), scheduled_for, published_at, the platform's own post id and URL once it is out, and the error when it failed. metrics: true adds the latest numbers BlastCP read back (hourly) per post: views, likes, comments, shares, average view duration and percentage, subscribers gained — null where the platform doesn't give one — with when they were fetched.

Arguments (5, 1 required)
property_slugstringrequired
The property the set belongs to.
org_slugstring
The workspace. Optional when the user has one, or a current one.
external_idstring
Your own id for the set, as given to create_post_set{ external_id }.
blast_idstring
Instead of external_id: the blast_id create_post_set returned.
metricsboolean
Add each post's latest metrics.

cancel_post_set

POST https://blastcp.com/api/v1/tools/cancel_post_set

Cancel every post of a set that hasn't gone out (draft, scheduled, failed), by external_id or blast_id.

Full description

Cancel every post of a set that hasn't gone out (draft, scheduled, failed), by external_id or blast_id. Posts already published or publishing are left as they are and listed in not_canceled with the reason.

Arguments (4, 1 required)
property_slugstringrequired
The property the set belongs to.
org_slugstring
The workspace. Optional when the user has one, or a current one.
external_idstring
Your own id for the set, as given to create_post_set{ external_id }.
blast_idstring
Instead of external_id: the blast_id create_post_set returned.

create_series

POST https://blastcp.com/api/v1/tools/create_series

Release many episode videos as a numbered run — a short drama, a lesson course, a 'Part 1/20' story — on TikTok, YouTube and/or Instagram (Reels).

Full description

Release many episode videos as a numbered run — a short drama, a lesson course, a 'Part 1/20' story — on TikTok, YouTube and/or Instagram (Reels). Each episode is one video (upload each with create_media_upload → complete_media_upload first), in the order given. One caption_template numbers them all: {series} the name, {n} the part, {total} how many, {episode} the episode's own title (a line it leaves empty is dropped). YouTube titles read 'Series — Part 3: Episode title'. release: 'every' (one every every_days days at time HH:MM from start_date YYYY-MM-DD, in the property's posting time zone), 'queue' (the property's slots, in order) or 'draft'. EVERYTHING is checked first — a refusal names every problem and saves nothing. Then each episode becomes one blast (tagged with the series name on the Pipeline board) holding a post per account, made exactly as create_post / create_post_set would (approval policy, platform checks, queue slot). TikTok episodes go to the account's drafts (Upload mode); posting one directly still needs a person on its page. Returns every episode's posts and review_urls; an episode that failed says why and the rest go ahead.

Arguments (10, 5 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
namestringrequired
The series name, e.g. 'Drum Basics'. Also its Pipeline tag.
episodesarray of objectrequired
The episodes in release order, 1 to 50.
channel_idsarray of stringrequired
The TikTok / YouTube / Instagram channels (list_channels) every episode goes to.
release"every" | "queue" | "draft"required
How the episodes go out.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
caption_templatestring
Default: "{series} · Part {n}/{total}\n\n{episode}".
start_datestring
release 'every': the first episode's date, YYYY-MM-DD, in the property's time zone.
timestring
release 'every': the time of day, HH:MM (24h), in the property's time zone.
every_daysnumber
release 'every': days between episodes. Default 1.

import_posts

POST https://blastcp.com/api/v1/tools/import_posts

Read a connected Substack publication's ALREADY-PUBLISHED posts into this workspace as history.

Full description

Read a connected Substack publication's ALREADY-PUBLISHED posts into this workspace as history. Use it once when a workspace connects a publication that has been going for a while, so the posting record is real: what landed, when, and under what link. Imported posts arrive 'published' and are never sent anywhere — do not schedule or publish them. Running it twice imports nothing the second time. LinkedIn CANNOT be imported: LinkedIn grants apps no read of a member's own posts, so record those by hand with create_post + mark_post_published.

Arguments (4, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
channel_idstring
The Substack channel to import from. Optional when exactly one Substack publication is connected. A disconnected or expired one still works — the archive is a public read.
limitnumber
Newest N posts. Defaults to 500, which is also the cap for one run.

list_post_versions

POST https://blastcp.com/api/v1/tools/list_post_versions

Every saved version of a post, newest first: version number, labels (a checkpoint's name, or a system-stamped one like "first draft"), created_via (app or mcp), when, and a short preview of the body — not the full content, call get_post_…

Full description

Every saved version of a post, newest first: version number, labels (a checkpoint's name, or a system-stamped one like "first draft"), created_via (app or mcp), when, and a short preview of the body — not the full content, call get_post_version for that. Every save writes a version (update_post's `checkpoint` argument just names one); an unchanged save adds no new version.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

get_post_version

POST https://blastcp.com/api/v1/tools/get_post_version

One version's full content (title, body, link card, media) and its metadata.

Full description

One version's full content (title, body, link card, media) and its metadata. Get the version number from list_post_versions first.

Arguments (4, 3 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
versionnumberrequired
The version number, from list_post_versions.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

restore_post_version

POST https://blastcp.com/api/v1/tools/restore_post_version

Bring an old version's content back as the post's current content.

Full description

Bring an old version's content back as the post's current content. This is a NORMAL EDIT, not a rewrite of history: it returns an approved post to draft exactly like any other edit (an edit revokes approval), and the post's CURRENT text is kept as its own version first, so nothing is ever lost. Call schedule_post or publish_post afterward to approve the restored text again.

Arguments (4, 3 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
versionnumberrequired
The version number to restore, from list_post_versions.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

Queue and schedule

get_posting_schedule

POST https://blastcp.com/api/v1/tools/get_posting_schedule

A property's weekly posting schedule: timezone, the slots its posts queue into, and whether its queue is paused.

Full description

A property's weekly posting schedule: timezone, the slots its posts queue into, and whether its queue is paused. Each property has its own schedule, so pass property_slug (it may be omitted only when the workspace has one property). Also returns `week`: the next seven days' slots in the property's timezone and its posts filling them.

Arguments (2)
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
property_slugstring
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…

set_posting_schedule

POST https://blastcp.com/api/v1/tools/set_posting_schedule

Replace fields of a property's posting schedule — omitted fields keep their current value.

Full description

Replace fields of a property's posting schedule — omitted fields keep their current value. slots, when passed, is the FULL replacement list, not a merge; posts already in the queue move to the new slots in order. paused holds the queue without touching posts that are already scheduled. Each property has its own schedule, so pass property_slug (it may be omitted only when the workspace has one property).

Arguments (5)
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
property_slugstring
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
tzstring
IANA timezone, e.g. "America/New_York".
slotsarray of object
Full replacement list of weekly slots.
pausedboolean
Hold the queue without touching posts that are already scheduled.

suggest_posting_times

POST https://blastcp.com/api/v1/tools/suggest_posting_times

Suggest weekly posting slots for a property, read from that property's own published posts.

Full description

Suggest weekly posting slots for a property, read from that property's own published posts. Returns the current schedule alongside the suggestion, plus a one-line `next_step` (`call set_posting_schedule with these slots to adopt them` or `not enough data yet`). Uses ONE platform at a time — the one with the most published posts (YouTube, TikTok or Instagram today); a YouTube engaged view and a TikTok view aren't comparable, and ranking them together would let the louder platform pick the other's times. Ties go to YouTube. Returns three statuses: `ok` (with slots, each weekday+hour+score+posts, in week order); `insufficient_data` (still returns the leading platform's buckets so the UI can show progress); `no_metrics` (no posts with stats yet — connect a channel with metrics and post through it).

Arguments (2)
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
property_slugstring
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…

get_posting_goals

POST https://blastcp.com/api/v1/tools/get_posting_goals

A property's weekly posting goals and streak: each channel's goal and how many it published this week, days left, the current streak (consecutive met weeks), and the last 8 weeks as met / missed / none.

Full description

A property's weekly posting goals and streak: each channel's goal and how many it published this week, days left, the current streak (consecutive met weeks), and the last 8 weeks as met / missed / none. Today's goals are applied to every past week too (no goal history is stored; documented, not hidden). Channel names and platforms are returned alongside counts so the agent doesn't have to cross-reference list_channels. Returns `null` from a pre-migration database (the column isn't there yet) so the agent can tell the user to run the latest migration.

Arguments (2, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

set_posting_goal

POST https://blastcp.com/api/v1/tools/set_posting_goal

Set or clear a single channel's weekly posting goal.

Full description

Set or clear a single channel's weekly posting goal. Pass weekly_goal 0 (or null) to clear it — a channel with no goal is excluded from the streak and from this-week rows. Goal is bounded 0-50; the server refuses anything outside that. Requires `workspace.manage` (owner or admin), the same gate as set_posting_schedule. Today's goals are applied to every past week (no goal history).

Arguments (4, 3 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
channel_idstringrequired
The channel to set the goal on (from list_channels).
weekly_goalnumberrequired
Posts per week this channel aims for, 0-50. 0 or null clears the goal.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

Properties and channels

create_property

POST https://blastcp.com/api/v1/tools/create_property

Add a property to a workspace: one brand or presence the user posts as (a person, a company, a show), which owns its own channels, queue, schedule and writing library (seeded with a starter voice and playbooks).

Full description

Add a property to a workspace: one brand or presence the user posts as (a person, a company, a show), which owns its own channels, queue, schedule and writing library (seeded with a starter voice and playbooks). A new workspace has none, so a user who just signed up needs one before anything can be connected or posted: ask what they post as and pass that as `name`. Returns the property's slug — the property_slug every other tool takes. Refuses a slug the workspace already has.

Arguments (3, 1 required)
namestringrequired
What the user calls this brand, e.g. "Groove 'n' Fill".
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
slugstring
URL slug. Optional: derived from name (lowercase, hyphens).

set_property_settings

POST https://blastcp.com/api/v1/tools/set_property_settings

Change a property's settings.

Full description

Change a property's settings. `always_update_other_platforms`: when true, a PERSON's save, approval or send of a post (in the app, or in the post card) goes to the post's copies on other platforms without asking; false asks each time (the default). It never changes what update_post does for you: an agent edits one post unless it passes `also_update`. Set it only when the person asks ("always update TikTok too"). Requires `workspace.manage` (owner or admin), like every property setting.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
always_update_other_platformsbooleanrequired
true: a person's edits, approvals and sends go to the post's other platforms without asking.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

list_channels

POST https://blastcp.com/api/v1/tools/list_channels

Every publishing channel this workspace has connected: platform, display name, connection status, and token expiry.

Full description

Every publishing channel this workspace has connected: platform, display name, connection status, and token expiry. Tokens and session cookies are never returned. Includes connect_url — connecting or reconnecting a channel is a human action in the app, not something this tool does. LinkedIn self-serve tokens last 60 days with no refresh, and a Substack session can end at any time, so a channel can go 'expired' on its own — check status/usable rather than assuming create_post can auto-pick one.

Arguments (2, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

connect_channel

POST https://blastcp.com/api/v1/tools/connect_channel

Get a link that connects a channel (an account BlastCP posts as) to a property, for the user to open in their browser.

Full description

Get a link that connects a channel (an account BlastCP posts as) to a property, for the user to open in their browser. It goes straight to the platform's own consent screen and ends on a BlastCP page that says whether it worked and to come back to you; the user never has to find their way around BlastCP. Pass `platform` for one link, or omit it for a link per platform this server can connect, each saying what is already connected. Facebook and Instagram add one BlastCP screen in between to tick which Pages or accounts to use. Substack and Resend can't be connected by a link (a pasted cookie or key): they come back under `by_hand` with the Channels page to send the user to. A link is reusable and reconnecting an account refreshes it, so it is also the fix for an expired or under-permissioned channel. When the user says they're done, call list_channels to confirm.

Arguments (3, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
platform"linkedin" | "facebook" | "instagram" | "threads" | "youtube" | "tiktok" | "gmail" | "substack" | "resend"
The platform to connect. Omit for every platform this server can connect.

list_youtube_options

POST https://blastcp.com/api/v1/tools/list_youtube_options

For a connected YouTube channel: its playlists (id, title, privacy, item count) and the video categories its region can assign (id, title) — the ids create_post / update_post take as youtube.playlist_id and youtube.category_id.

Full description

For a connected YouTube channel: its playlists (id, title, privacy, item count) and the video categories its region can assign (id, title) — the ids create_post / update_post take as youtube.playlist_id and youtube.category_id. Also `can_manage`: whether the channel has allowed BlastCP to add to playlists, upload captions and post the first comment; when false, those steps are skipped at publish until the person reconnects at connect_url.

Arguments (4)
org_slugstring
Workspace slug. Optional with one workspace.
property_slugstring
Property slug. Optional with one property.
channel_idstring
A YouTube channel's id from list_channels. Optional when exactly one is connected.
region_codestring
ISO 3166-1 country for the category list. Default "US".

list_resend_options

POST https://blastcp.com/api/v1/tools/list_resend_options

For a connected Resend account: its segments (id, name, and which one the channel sends to by default) and — with segment_id, or `contacts: true` for the default segment — the first 100 people in that segment (email, name, unsubscribed).

Full description

For a connected Resend account: its segments (id, name, and which one the channel sends to by default) and — with segment_id, or `contacts: true` for the default segment — the first 100 people in that segment (email, name, unsubscribed). Use them for create_post / update_post's resend.segment_id or resend.to. Never offer someone who unsubscribed. Read live from Resend; nothing is stored.

Arguments (5, 1 required)
property_slugstringrequired
Property slug.
org_slugstring
Workspace slug. Optional with one workspace.
channel_idstring
A Resend channel's id from list_channels. Optional when exactly one is connected.
segment_idstring
List the people in this segment.
contactsboolean
List the people in the channel's default segment.

list_mentions

POST https://blastcp.com/api/v1/tools/list_mentions

Every @mention target this property can use on a LinkedIn post: people (the workspace's connected LinkedIn channels, kind "person") and saved companies (kind "organization"), each with the LinkedIn URN create_post / update_post take as l…

Full description

Every @mention target this property can use on a LinkedIn post: people (the workspace's connected LinkedIn channels, kind "person") and saved companies (kind "organization"), each with the LinkedIn URN create_post / update_post take as linkedin.mentions[].urn. Other platforms have no @mention — LinkedIn's commentary is the only one that supports them. People are limited to the channels BlastCP already holds: LinkedIn person ids are scoped to the app that read them, so people outside this list can't be mentioned. Companies need a numeric id (their admin URL's company id, a bare id, or a `urn:li:organization:ID`); a vanity URL (`/company/acme`) is refused at add_mention with a sentence naming where to find the id.

Arguments (2, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

add_mention

POST https://blastcp.com/api/v1/tools/add_mention

Save a LinkedIn COMPANY as a mentionable target for this property.

Full description

Save a LinkedIn COMPANY as a mentionable target for this property. People can't be added by hand — they come from the workspace's connected LinkedIn channels. `label` is what the author writes as `@Label` (1–80 characters, letters / digits / spaces / `.,'&-`); `company` is the company's page — an admin URL (`linkedin.com/company/<id>/admin`), a plain company URL with a numeric id, a bare numeric id, or a `urn:li:organization:ID`. A vanity URL is refused with the instruction to open the admin page (the id in that URL is what to paste here). The (property, URN) pair is unique, so re-saving the same URN is a rename. Returns the saved row's URN.

Arguments (4, 3 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
labelstringrequired
What the author writes as `@Label`, 1–80 characters.
companystringrequired
The company's LinkedIn page: admin URL, plain URL with numeric id, bare numeric id, or URN. Vanity URLs are refused.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

remove_mention

POST https://blastcp.com/api/v1/tools/remove_mention

Drop a saved company mention from this property.

Full description

Drop a saved company mention from this property. Pass the row's id from list_mentions. People mentions (LinkedIn channels) can't be removed through this tool — disconnect the channel instead.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
idstringrequired
The row's id from list_mentions.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

search_threads_locations

POST https://blastcp.com/api/v1/tools/search_threads_locations

Threads location search — the source for the location_id create_post / update_post take as threads.location_id.

Full description

Threads location search — the source for the location_id create_post / update_post take as threads.location_id. Needs a Threads channel on this property connected with the `threads_location_tagging` scope (reconnect Threads if the call returns that error). `channel_id` picks one when several are connected; omit it when there's only one. Each result carries `id` (the value to set as threads.location_id), `name`, `address`, `city`, `country`; send it as threads.location_id AND threads.location_name in the same create_post / update_post call.

Arguments (4, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
querystringrequired
What to search for (Meta's `q=` text). Required.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
channel_idstring
A Threads channel's id from list_channels. Optional when exactly one is connected.

Voice and skills

list_skills

POST https://blastcp.com/api/v1/tools/list_skills

This property's writing library: the always-applied VOICE plus every post-type playbook, with a one-line description each (no bodies — call get_skill for those).

Full description

This property's writing library: the always-applied VOICE plus every post-type playbook, with a one-line description each (no bodies — call get_skill for those). CALL THIS BEFORE DRAFTING ANY POST. A property's voice is how its author actually writes; drafting without reading it produces posts they will rewrite. The first call on a property seeds the starter library automatically, so this never comes back empty. Skills with enabled=false are ones the author turned off — list them, don't use them.

Arguments (3, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
kind"voice" | "post_type"
Filter to one kind. Omit for the whole library.

get_skill

POST https://blastcp.com/api/v1/tools/get_skill

One skill in full, including its body — the actual instructions.

Full description

One skill in full, including its body — the actual instructions. Normal drafting flow: get_skill on the voice (kind "voice" in list_skills), get_skill on whichever post type fits what the user is writing, then draft. APPLY BOTH, and when they conflict THE VOICE WINS: a post-type playbook describes a shape, the voice describes a person, and the person is the one whose feed this is. If no post type fits, the voice alone is enough.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
slugstringrequired
The skill's slug, as returned by list_skills (e.g. "link-share", "house-voice").
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

create_skill

POST https://blastcp.com/api/v1/tools/create_skill

Add a new post-type playbook to this property — a shape of post the starter library doesn't cover (a recurring series, a customer story, a release note, whatever this author actually writes).

Full description

Add a new post-type playbook to this property — a shape of post the starter library doesn't cover (a recurring series, a customer story, a release note, whatever this author actually writes). Write the body the way the starter skills are written: when to use it, the shape in numbered steps, hard rules, and one worked example. Call get_skill on an existing post type first and match its structure. Don't create a second voice — a property has exactly one; edit it with update_skill.

Arguments (6, 3 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
namestringrequired
Display name, e.g. "Release note". Max 60 characters.
bodystringrequired
The playbook itself, in markdown.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
descriptionstring
One line on when to reach for it — this is what list_skills shows. Max 200 characters.
slugstring
Optional slug. Derived from the name when omitted.

update_skill

POST https://blastcp.com/api/v1/tools/update_skill

Edit a skill — most often the VOICE, in response to what the user tells you about their writing.

Full description

Edit a skill — most often the VOICE, in response to what the user tells you about their writing. When someone says "I never use emoji", "stop opening with a question", "I'm a solo founder, not a we", or rewrites your draft in a way that reveals a rule, that belongs in the voice so it holds for every future post instead of only this one. Read the current body with get_skill first and send back the WHOLE edited body — `body` replaces, it does not append. Tell the user what you changed. Omitted fields keep their current value. The voice can't be disabled (it applies to every post).

Arguments (8, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
slugstringrequired
The skill's slug, as returned by list_skills (e.g. "link-share", "house-voice").
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
namestring
New display name. Max 60 characters.
descriptionstring
New one-line summary, shown in list_skills. Max 200 characters.
bodystring
The FULL replacement body, in markdown. Replaces the existing body outright — include everything you mean to keep.
enabledboolean
Turn a post-type skill off without deleting it. Refused for the voice.
new_slugstring
Rename the skill's slug. Note: renaming a starter skill means reset_skill can no longer restore it, because the default is addressed by slug.

delete_skill

POST https://blastcp.com/api/v1/tools/delete_skill

Remove a post-type skill from this property for good.

Full description

Remove a post-type skill from this property for good. Prefer update_skill with enabled=false unless the user clearly wants it gone — a disabled skill is recoverable in one click and a deleted one is not. Deleted starter skills do NOT come back on their own. The voice can't be deleted.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
slugstringrequired
The skill's slug, as returned by list_skills (e.g. "link-share", "house-voice").
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

reset_skill

POST https://blastcp.com/api/v1/tools/reset_skill

Restore a starter skill to the text BlastCP ships — name, description and body.

Full description

Restore a starter skill to the text BlastCP ships — name, description and body. Use it when an edit made a skill worse and the user wants the original back. Only works on skills still marked source="default" under their original slug; a custom or renamed skill has no default to return to. Whether it's on and where it sits in the list are left alone.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
slugstringrequired
The skill's slug, as returned by list_skills (e.g. "link-share", "house-voice").
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

Pipeline

add_blast

POST https://blastcp.com/api/v1/tools/add_blast

Put an idea on the property's Pipeline board — a BLAST: one piece of content in the making (a post, a thread, an article, a video), from half-thought to published.

Full description

Put an idea on the property's Pipeline board — a BLAST: one piece of content in the making (a post, a thread, an article, a video), from half-thought to published. Use it whenever the user has an idea worth keeping that isn't ready to be a post: it lands in the Inbox unless you give a stage. format (post, thread, carousel, article, newsletter, reel/short, video, podcast — or anything) decides whether it needs production; a video format starts a production checklist. Returns the blast and its review_url (the blast's page). An Inbox idea is then fleshed out and judged by the property's Ideation agent (get_blast → ideation).

Arguments (8, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
titlestringrequired
What it is, in a line.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
notesstring
The idea as it came: markdown.
formatstring
The medium: post, thread, carousel, article, newsletter, reel/short, video, podcast…
stage"inbox" | "researching" | "writing" | "production" | "ready"
Where the work is. `production` (shoot, edit, record) only for a blast that needs production. Scheduled and Published aren't stages: they follow the blast's posts.
tagsarray of string
Tag names. Matched to the workspace's tags ignoring case; a new name becomes a tag. Not "Blocked" — use blocked_reason.
sourcesarray of object
Links the idea or its research came from.

list_blasts

POST https://blastcp.com/api/v1/tools/list_blasts

The property's Pipeline board: every blast with its column (inbox, researching, writing, production, ready, scheduled, published, archived), tags, badges (Blocked, Awaiting approval, Reserved, Due, Failed, Production 2/4) and the platfor…

Full description

The property's Pipeline board: every blast with its column (inbox, researching, writing, production, ready, scheduled, published, archived), tags, badges (Blocked, Awaiting approval, Reserved, Due, Failed, Production 2/4) and the platforms its posts go to. Published blasts leave the board 14 days after their last post. Filter by column, tag or blocked. Read this before suggesting what to work on next.

Arguments (6, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
column"inbox" | "researching" | "writing" | "production" | "ready" | "scheduled" | "published" | "archived"
Only blasts in this column.
tagstring
Only blasts carrying this tag (ignoring case).
blockedboolean
true: only blocked blasts. false: only unblocked ones.
limitinteger 1–200
At most this many. Default 50.

get_blast

POST https://blastcp.com/api/v1/tools/get_blast

One blast in full: notes, research, script, sources, production checklist, tags, badges, and every post it went out as (each with status and review_url).

Full description

One blast in full: notes, research, script, sources, production checklist, tags, badges, and every post it went out as (each with status and review_url). Read it before drafting from a blast, so the posts use the research. Also carries ideation: the Ideation agent's take on the idea (verdict pursue/sharpen/pass with reasons, angle, hooks, post_type, format, outline, questions to answer), or null.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
blast_idstringrequired
The blast's id, from add_blast or list_blasts (`blast_id`).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

update_blast

POST https://blastcp.com/api/v1/tools/update_blast

Edit a blast: move its stage, write research back (append_research adds to what's there — prefer it to replacing), set the script, tick the production checklist, replace tags, add sources, block it (blocked_reason says what it's stuck on…

Full description

Edit a blast: move its stage, write research back (append_research adds to what's there — prefer it to replacing), set the script, tick the production checklist, replace tags, add sources, block it (blocked_reason says what it's stuck on; waiting_on who or what) or unblock it, archive it or bring it back, hold a queue slot for it (reserve). Omitted fields are left alone. A blast holds the work, never the publish: posts are made with create_post{ blast_id }.

Arguments (20, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
blast_idstringrequired
The blast's id, from add_blast or list_blasts (`blast_id`).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
titlestring
stage"inbox" | "researching" | "writing" | "production" | "ready"
Where the work is. `production` (shoot, edit, record) only for a blast that needs production. Scheduled and Published aren't stages: they follow the blast's posts.
notesstring
Replaces the notes.
researchstring
Replaces the research. To add to it, use append_research.
append_researchstring
Added to the end of the research, after a blank line.
scriptstring
Replaces the script (a video's words, or a long post's).
formatstring
requires_productionboolean
Whether it needs a shoot/edit/record step.
production_checklistarray of object
Replaces the checklist.
tagsarray of string
Tag names. Matched to the workspace's tags ignoring case; a new name becomes a tag. Not "Blocked" — use blocked_reason. Replaces the blast's tags; [] clears them.
add_sourcesarray of object
Added to the blast's sources.
target_datestring
YYYY-MM-DD, or "" to clear.
blocked_reasonstring
Marks the blast Blocked, with what it's stuck on.
waiting_onstring
With blocked_reason: who or what it waits for.
unblockboolean
true clears Blocked.
archivedboolean
true archives it: off the board into the Archived drawer, giving back any slot it held, and its posts archived with it (archive_post) — refused while a post is scheduled or publishing. false brings it and its archived posts back.
reservestring
Hold a queue slot for it: "next" (the next free slot), an ISO time that is one of the property's posting times (get_posting_schedule), or "" to release. The queue flows around a held slot, and the blast's first post queued with create_post{ blast_id, intent: "queue" } takes it over.

list_tags

POST https://blastcp.com/api/v1/tools/list_tags

The workspace's tags for blasts, with their colors.

Full description

The workspace's tags for blasts, with their colors. Blocked is built in and not listed.

Arguments (1)
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

Media and generation

upload_media

POST https://blastcp.com/api/v1/tools/upload_media

Put an image or a video in BlastCP's media storage (Cloudflare R2) and, optionally, attach it to a post.

Full description

Put an image or a video in BlastCP's media storage (Cloudflare R2) and, optionally, attach it to a post. Pass exactly one of url (fetched and stored) or data (base64 bytes — content_type is required alongside it, e.g. "image/png") — never both, never neither. Storage is content-addressed: uploading bytes BlastCP already has, under this workspace, reuses the existing object instead of writing a second copy, so re-attaching a file you already uploaded costs nothing. With post_id, the stored media is APPENDED to whatever that post already carries — it never replaces existing attachments — after checking the post is in this workspace. Without post_id, nothing is attached; take the returned media.url and pass it as create_post/update_post's link_image_url yourself. An image outside JPEG, PNG, GIF and WEBP is converted to JPEG; video bytes are stored as-is, never transcoded. Send `data` only for files under 3MB: the whole call must fit the server's 4.5MB request limit and base64 adds a third, so a bigger payload is refused before this tool runs — use create_media_upload for those. Refuses a fetched url over 100MB, a content type that is neither image/* nor video/*, and any call at all when media storage isn't configured for this deployment. Returns the stored media's public fields, including its permanent url.

Arguments (6, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
urlstring
A URL to fetch and store. Exactly one of url or data.
datastring
Base64-encoded image or video bytes (a data: URI is also accepted), for a file under 3MB. Needs content_type alongside it. Bigger files: create_media_upload.
content_typestring
MIME type of `data`, e.g. "image/png" or "video/mp4". Required with data; ignored with url, whose type is read from the response.
post_idstring
The post's id (from list_posts, get_post, or create_post).

create_media_upload

POST https://blastcp.com/api/v1/tools/create_media_upload

Start a direct upload of an image or video to BlastCP's media storage, for files too big to send as upload_media's base64 `data` (videos especially).

Full description

Start a direct upload of an image or video to BlastCP's media storage, for files too big to send as upload_media's base64 `data` (videos especially). Returns upload_url, a presigned R2 URL: PUT exactly byte_size bytes to it with the returned headers (Content-Type must match content_type) before expires_at (10 minutes), then call complete_media_upload with the returned upload_id. The URL is signed for this exact size and type — a different file is refused. Accepts image/jpeg, image/png, image/gif and image/webp up to 100MB, and video/mp4, video/quicktime and video/webm up to 1GB. The PUT only has to START before expires_at; a big video may take longer to finish. Other image types need upload_media, which converts them. Refuses when media storage isn't configured.

Arguments (6, 3 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
content_typestringrequired
MIME type of the file, e.g. "image/png" or "video/mp4". The PUT must send this exact Content-Type.
byte_sizenumberrequired
The file's exact size in bytes. The PUT must carry exactly this many.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
post_idstring
Optional. A post to attach the media to when the upload completes.
filenamestring
Optional. The file's original name, kept for reference.

complete_media_upload

POST https://blastcp.com/api/v1/tools/complete_media_upload

Finish an upload started with create_media_upload, after the PUT succeeded.

Full description

Finish an upload started with create_media_upload, after the PUT succeeded. Checks the stored file is the size and type that was signed, stores it content-addressed (bytes BlastCP already has reuse the existing object), and returns the media's public fields. With post_id (here or on create_media_upload) the media is APPENDED to that post's attachments, never replacing them. Safe to call again: a completed upload returns the same media. Answers 'hasn't arrived yet' if the PUT hasn't finished — retry after it has. Only the account that created the upload can complete it.

Arguments (5, 1 required)
upload_idstringrequired
The upload_id create_media_upload returned.
post_idstring
Optional. A post to attach to; overrides the one given to create_media_upload.
duration_msnumber
Optional, video only: the clip's duration in milliseconds, if you know it.
widthnumber
Optional, video only: the clip's pixel width, if you know it. BlastCP can't measure a video itself, so without this the row's width stays unknown and platform rules that read it (TikTok's 360-4096 px per side) can't be enforced.
heightnumber
Optional, video only: the clip's pixel height. Same rule as width.

list_image_models

POST https://blastcp.com/api/v1/tools/list_image_models

List the image models generate_image can use on this deployment, grouped by provider, with each one's price per image (what the workspace is charged), what it's best for, whether it takes reference images (max_reference_images), and whic…

Full description

List the image models generate_image can use on this deployment, grouped by provider, with each one's price per image (what the workspace is charged), what it's best for, whether it takes reference images (max_reference_images), and which is the default. Prices span from under a cent to over a dollar, so check before choosing. Call this before passing `model` to generate_image; it costs nothing.

No arguments: send {}.

generate_image

POST https://blastcp.com/api/v1/tools/generate_image

Generate an image from a text prompt, store it in BlastCP's media storage, and optionally attach it to a post.

Full description

Generate an image from a text prompt, store it in BlastCP's media storage, and optionally attach it to a post. Use this when a post needs artwork and none exists; use upload_media instead when you already have the bytes or a URL. Takes 3-80 seconds depending on the model. COST IS REAL: every call is charged to the workspace's image credit, so generate once and reuse media.url rather than regenerating. There is no seed, so the same prompt twice gives DIFFERENT images — if one is good, keep its media.id. Models: omit `model` for the default (FLUX.2 klein 9B, cheap and good at holding a brand style); call list_image_models for the rest and their prices. For legible TEXT in the image pick a text-strong model (Nano Banana Pro, GPT Image 2.5 Sunburst, Ideogram 3.0, Qwen Image) — the FLUX models approximate lettering wrongly. Never ask any model for a real brand's logo or a real person's likeness: leave empty space and let a person lay the real asset over it. If the safety classifier refuses a prompt, REWORD it — retrying it unchanged fails the same way. With post_id the image is APPENDED to that post's existing attachments, never replacing them. Returns the stored media's public fields including its permanent url, plus the model used and what was charged. To edit or build on existing images, pass their media ids as reference_media_ids.

Arguments (6, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
promptstringrequired
What the image should show. Be concrete about subject, style, palette and composition — including where to leave empty space for text or a logo. Max 2000 characters.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
modelstring
Optional model id from list_image_models (e.g. "google/gemini-3-pro-image"). Omit for the default.
post_idstring
The post's id (from list_posts, get_post, or create_post).
reference_media_idsarray of string
Optional. Library images (media.id, from upload_media or an earlier generation) for the model to work from: edit this photo, keep this character or product, match this style. Refer to them in the prompt by order ("the first image"). Only models with max_reference_images in list_image_models accept them; others reject the call before charging. JPEG, PNG or WebP, 15 MB each.

list_video_models

POST https://blastcp.com/api/v1/tools/list_video_models

List the video models generate_video can use here, by provider: price per clip at each length (what the workspace is charged), aspect ratios, whether the clip has SOUND, whether it can start from an image, and the default.

Full description

List the video models generate_video can use here, by provider: price per clip at each length (what the workspace is charged), aspect ratios, whether the clip has SOUND, whether it can start from an image, and the default. Prices run from cents to dollars a clip, so check first. Free to call.

No arguments: send {}.

generate_video

POST https://blastcp.com/api/v1/tools/generate_video

Generate a short video clip from a prompt — or animate a library image — and store it in BlastCP's media.

Full description

Generate a short video clip from a prompt — or animate a library image — and store it in BlastCP's media. Takes 1-6 minutes: this call waits up to ~45 seconds, then returns a generation_id to check with get_video_generation. COST IS REAL and held from the start: never start a second job for the same clip while one is running. Vertical 9:16 is the default (Shorts, Reels, TikTok). Most models make sound (dialogue, effects, music) — describe it in the prompt. With post_id the finished video is APPENDED to the post when it lands. If the model refuses, REWORD the prompt; retrying unchanged fails the same way. Never ask for a real person's likeness or a brand's logo.

Arguments (8, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
promptstringrequired
The clip: subject, action, camera, setting, light, style — and sound ("she says: …", "rain on a tin roof"). Max 2000 characters.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
modelstring
A model id from list_video_models. Omit for the default.
duration_secondsinteger
One of the model's lengths. Omit for its default.
aspect_ratio"9:16" | "16:9"
9:16 (default) or 16:9.
start_image_media_idstring
Optional. A library image (media.id) to use as the first frame, for models that can.
post_idstring
The post's id (from list_posts, get_post, or create_post).

get_video_generation

POST https://blastcp.com/api/v1/tools/get_video_generation

How a generate_video job is doing, and the stored video once it lands.

Full description

How a generate_video job is doing, and the stored video once it lands. Checking moves it along. Status is running, succeeded (media has the video), failed or refused (nothing charged).

Arguments (2, 1 required)
generation_idstringrequired
The generation_id generate_video returned.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

list_audio_models

POST https://blastcp.com/api/v1/tools/list_audio_models

List the audio models generate_audio can use here — speech (voiceovers), music and sound effects — with prices, voices, lengths and the default per kind.

Full description

List the audio models generate_audio can use here — speech (voiceovers), music and sound effects — with prices, voices, lengths and the default per kind. Free to call.

Arguments (1)
kind"speech" | "music" | "sfx"
Only this kind.

generate_audio

POST https://blastcp.com/api/v1/tools/generate_audio

Generate a voiceover (kind speech: `text` is read word for word), a music clip (music: `text` describes it) or a sound effect (sfx), and store it in the property's library.

Full description

Generate a voiceover (kind speech: `text` is read word for word), a music clip (music: `text` describes it) or a sound effect (sfx), and store it in the property's library. Returns its permanent media.url. Audio CAN'T be attached to a post: no channel takes an audio file. Charged to the workspace's credit — speech by the script's length. If the model refuses, REWORD; retrying unchanged fails the same way.

Arguments (9, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
textstringrequired
Speech: the exact script. Music/sfx: what it should sound like.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
kind"speech" | "music" | "sfx"
Default speech, or the model's kind.
modelstring
A model id from list_audio_models. Omit for the kind's default.
voicestring
Speech: a voice id from list_audio_models.
stylestring
Speech, on models that take one: how to say it ("warm, unhurried, smiling"). Not read aloud.
lyricsstring
Music, on models that take lyrics: the words to sing.
duration_secondsinteger
Music/sfx: one of the model's lengths.

Analytics

get_analytics

POST https://blastcp.com/api/v1/tools/get_analytics

How the posts did overall — the weekly or monthly 'what worked' read across platforms.

Full description

How the posts did overall — the weekly or monthly 'what worked' read across platforms. Over the last 7, 28 or 90 days (default 28; days are Pacific calendar days, as every platform's read-back is dated), for one property (property_slug) or every property in the workspace (omit it). Returns: `tiktok_and_instagram` — views, likes, comments and shares their posts GAINED in the period, added up, and per platform (`read_since`: the first day read in the window — earlier days are unknown, not zero), and `followers` (their accounts' newest follower counts added up, and what they gained in the period; TikTok's need a permission BlastCP doesn't ask for yet); `youtube` — one entry per YouTube channel: YouTube's own total for the channel's BlastCP-published videos over the same length of period, ending on the last day YouTube has processed (`data_through`, 48–72 h behind), under YouTube's metric names — subscribersGained and subscribersLost included — and `subscribers`, the channel's subscriber count as YouTube returns it (rounded by YouTube); `top_posts` — posts published in the period, most viewed first, each with its platform's lifetime numbers (and, for TikTok/Instagram, what it gained in the period); `blasts` — one piece of content across its platforms; `by_property` (workspace scope); `unread_platforms` — posts that went out on platforms that report nothing back (LinkedIn, Facebook, Threads, Substack, email); with include_days, `days` — the same split per day. RULES, from YouTube's API policy: never add a YouTube number to a TikTok or Instagram number, never add two YouTube channels together, never add up YouTube's days yourself, never present a ratio of two YouTube numbers as a metric, and never work out net subscribers or growth from two YouTube numbers. Report YouTube BESIDE the TikTok + Instagram total, attributed to YouTube. For one post's detail and chart use get_post_metrics.

Arguments (5)
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
property_slugstring
One property's slug. Omit for every property in the workspace.
days7 | 28 | 90
The period: 7, 28 or 90 days, ending today (Pacific). Default 28.
include_daysboolean
Also return the per-day series. Default false.
limitnumber
How many top posts and blasts to return, 1-50. Default 10.

get_post_metrics

POST https://blastcp.com/api/v1/tools/get_post_metrics

How a published YouTube post is performing.

Full description

How a published YouTube post is performing. Returns `analytics` (YouTube Analytics to-date totals, 48–72 hours behind: `data_through` is the last day YouTube had processed, a Pacific-time date) and `live` (current counts from the YouTube Data API, `as_of` when read). BlastCP reads YouTube every hour. `status` says what's missing and why: `pending` (published too recently for analytics), `awaiting_first_refresh`, `analytics_not_allowed` (give the person connect_url — they reconnect the channel and allow YouTube Analytics), `channel_disconnected`, `not_published`, `not_supported_platform`. Pass history: true for the daily series (one row per source per processed day, newest first) to see a trend. A TikTok post returns its PUBLIC video's lifetime counts under TikTok's names (view_count, like_count, comment_count, share_count) in `live`, read every hour; `awaiting_public_post` means it's still in the drafts or posted privately — TikTok reports on public videos only. A video TikTok says is no longer public keeps its last counts, and `message` says they stopped and when they were read. A TikTok post with stats also returns an IMAGE of its chart (the one on its page): total views as bars on the left axis, total likes / comments / shares as lines on the right, one point per day read — show it to the person. A YouTube post with stats returns the same chart image: YouTube Analytics running totals through each processed day once YouTube has them, its live counts (no shares) until then. Any platform's post can also return `website`: the visits its link sent to the property's own site, read from the property's connected Google Analytics 4 by the post's utm_content (sessions, engagedSessions, totalUsers, keyEvents, totalRevenue in the GA property's currency); null when Google Analytics isn't connected (Settings → Tracking) or no visit carried the tag yet. Every number is YouTube's own, under YouTube's metric name: engagedViews (plays past the first frame — the one YouTube anchors on), views (every play start, autoplay included), estimatedMinutesWatched, averageViewDuration (seconds), averageViewPercentage, subscribersGained/subscribersLost (subscriptions YouTube attributes to this video), likes, comments, shares; live counts are viewCount, likeCount, commentCount. Report them as given — do NOT present a ratio you computed from two of them (e.g. engagedViews/views as a 'keep-watching rate') as a metric: YouTube's API policy forbids derived metrics. Shorts 'viewed vs. swiped away' is not available through any YouTube API (Studio only); thumbnail impressions and CTR come from get_youtube_reach.

Arguments (4, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
historyboolean
Also return the stored daily snapshots, newest first (up to 120).

list_top_posts

POST https://blastcp.com/api/v1/tools/list_top_posts

This property's published YouTube posts ranked by one metric, highest first — the weekly 'what worked' read.

Full description

This property's published YouTube posts ranked by one metric, highest first — the weekly 'what worked' read. Ranks by the newest snapshot of each post; the default metric is engagedViews. Filter to Shorts or long-form with content_type (YouTube's creatorContentType). Posts with no value for the metric yet (too new, or analytics not allowed) are left out and counted in `without_data`. Every number is YouTube's own, under YouTube's metric name: engagedViews (plays past the first frame — the one YouTube anchors on), views (every play start, autoplay included), estimatedMinutesWatched, averageViewDuration (seconds), averageViewPercentage, subscribersGained/subscribersLost (subscriptions YouTube attributes to this video), likes, comments, shares; live counts are viewCount, likeCount, commentCount. Report them as given — do NOT present a ratio you computed from two of them (e.g. engagedViews/views as a 'keep-watching rate') as a metric: YouTube's API policy forbids derived metrics. Shorts 'viewed vs. swiped away' is not available through any YouTube API (Studio only); thumbnail impressions and CTR come from get_youtube_reach.

Arguments (6, 1 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
metric"engagedViews" | "views" | "estimatedMinutesWatched" | "averageViewDuration" | "averageViewPercentage" | "subscribersGained" | "subscribersLost" | "likes" | "comments" | "shares" | "viewCount" | "likeCount" | "commentCount"
What to rank by. Default engagedViews.
sincestring
Only posts published on or after this ISO date (YYYY-MM-DD or a timestamp). Default: 90 days ago.
content_type"SHORTS" | "VIDEO_ON_DEMAND" | "LIVE_STREAM" | "STORY" | "UNSPECIFIED"
Only this content type: SHORTS, VIDEO_ON_DEMAND (long-form), LIVE_STREAM, …
limitnumber
How many to return, 1-50. Default 10.

get_youtube_reach

POST https://blastcp.com/api/v1/tools/get_youtube_reach

Thumbnail impressions and click-through rate (CTR) for a connected YouTube channel's videos, one row per video per day, newest day first.

Full description

Thumbnail impressions and click-through rate (CTR) for a connected YouTube channel's videos, one row per video per day, newest day first. An impression counts when the thumbnail was shown for over a second with at least half of it visible; YouTube doesn't say whether the Shorts feed counts. `ctr` is YouTube's own figure for that day, as returned — do NOT average it or add rows into a blended rate (YouTube's policy forbids derived metrics); compare days, don't sum them. Data arrives from YouTube's bulk reports about 48 hours after a channel is first connected with analytics access, then daily, and YouTube may correct a past day — so a figure can change. `status` says whether data can arrive: `scope_missing` means the channel was connected before analytics access existed or the person declined it — give them connect_url to reconnect.

Arguments (5)
org_slugstring
Workspace slug. Optional with one workspace.
property_slugstring
Property slug. Optional with one property.
channel_idstring
A YouTube channel's id from list_channels. Optional when exactly one is connected.
video_idstring
Only this YouTube video id (e.g. the post's external_id).
limitnumber
Most rows to return, 1-500. Default 90.

Inbox

list_comments

POST https://blastcp.com/api/v1/tools/list_comments

The Inbox: comments people left on this workspace's videos that still need an answer, newest first, one per thread.

Full description

The Inbox: comments people left on this workspace's videos that still need an answer, newest first, one per thread. Each has the comment, what it's on, the earlier messages in its thread, and `draft` — a reply BlastCP already wrote in the property's voice (null while it's still being drafted). YouTube only for now: LinkedIn and TikTok don't let apps read comments, and `cannot_see` lists YouTube channels that haven't granted comment access (give the user connect_url). A comment leaves the Inbox when it's answered — from here or on the platform itself — or dismissed. Workspace-wide unless property_slug narrows it. view=answered lists the last 30 days of closed ones.

Arguments (4)
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).
property_slugstring
Only this property's comments. Omit for every property.
view"open" | "answered"
open (default): waiting for a reply. answered: closed in the last 30 days.
limitinteger 1–100
At most this many threads. Default 25.

reply_to_comment

POST https://blastcp.com/api/v1/tools/reply_to_comment

Reply to a comment publicly, as the channel, in its thread.

Full description

Reply to a comment publicly, as the channel, in its thread. It goes out immediately and can't be unsent from BlastCP — so show the user the exact reply and get their go-ahead before calling this. Start from the comment's `draft` and edit it to taste; keep it short and in the commenter's language. You are recorded as the sender. Sent once: if YouTube doesn't answer, BlastCP reads the thread to see whether it landed rather than sending again; an error saying to check on YouTube means exactly that — don't retry until the user has looked. Closes every open comment in the thread. Uses 50 units of the channel's daily YouTube quota.

Arguments (3, 2 required)
comment_idstringrequired
The comment's id, from list_comments (`comment_id`).
bodystringrequired
The reply, as it should appear. Plain text; no links or hashtags.
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

dismiss_comment

POST https://blastcp.com/api/v1/tools/dismiss_comment

Take a comment's thread out of the Inbox without replying — spam, a thank-you that needs nothing back, or one the user answered somewhere BlastCP can't see.

Full description

Take a comment's thread out of the Inbox without replying — spam, a thank-you that needs nothing back, or one the user answered somewhere BlastCP can't see. Nothing is posted. The person can reopen it from the Inbox page.

Arguments (2, 1 required)
comment_idstringrequired
The comment's id, from list_comments (`comment_id`).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).

Hooks and feedback

list_inbound_hooks

POST https://blastcp.com/api/v1/tools/list_inbound_hooks

List a property's inbound hooks (secret URLs another app's server POSTs a message to, which BlastCP puts in the property's connected Slack channel), and the property's Slack channels.

Full description

List a property's inbound hooks (secret URLs another app's server POSTs a message to, which BlastCP puts in the property's connected Slack channel), and the property's Slack channels. Never returns a hook's URL: that is shown once, when it is made.

Arguments (2, 1 required)
property_slugstringrequired
The property whose Slack channels the hook posts to.
org_slugstring
The workspace. Optional when the user has one, or a current one.

create_inbound_hook

POST https://blastcp.com/api/v1/tools/create_inbound_hook

Make an inbound hook for a property: a secret URL another app's SERVER can POST { "text": "...", "channel_id"?: "..." } to (Slack mrkdwn, at most 3000 characters), and BlastCP posts it to the property's connected Slack channel at once, w…

Full description

Make an inbound hook for a property: a secret URL another app's SERVER can POST { "text": "...", "channel_id"?: "..." } to (Slack mrkdwn, at most 3000 characters), and BlastCP posts it to the property's connected Slack channel at once, with no review (or to the one named, when it has several). At most 60 a minute. Use it when the user wants alerts or notifications from their own app in Slack. The URL is shown ONCE, in this result: give it to the user to put in that app's server environment (never in browser code or a repo), and don't repeat it later.

Arguments (3, 1 required)
property_slugstringrequired
The property whose Slack channels the hook posts to.
org_slugstring
The workspace. Optional when the user has one, or a current one.
namestring
What it's for, e.g. "groovenfill flags" (at most 80 characters).

revoke_inbound_hook

POST https://blastcp.com/api/v1/tools/revoke_inbound_hook

Revoke one of a property's inbound hooks.

Full description

Revoke one of a property's inbound hooks. Its URL stops working at once (404). Get the id from list_inbound_hooks.

Arguments (3, 2 required)
property_slugstringrequired
The property whose Slack channels the hook posts to.
hook_idstringrequired
The hook's id, from list_inbound_hooks.
org_slugstring
The workspace. Optional when the user has one, or a current one.

send_feedback

POST https://blastcp.com/api/v1/tools/send_feedback

Send feedback to the BlastCP team: request a CHANNEL BlastCP can't post to yet, request a FEATURE, or report a BUG.

Full description

Send feedback to the BlastCP team: request a CHANNEL BlastCP can't post to yet, request a FEATURE, or report a BUG. Use it when the user wants to post somewhere list_channels can't connect (e.g. Bluesky, X, Pinterest), when a BlastCP tool behaves wrongly, or when the user says to tell BlastCP something. It emails real people, so say what you'll send and get the user's OK first, write it in their words, and never include tokens, passwords or post text they haven't asked you to share. A reply, if any, goes to the user's email.

Arguments (5, 1 required)
kind"channel" | "feature" | "bug"required
channel, feature or bug.
platformstring
Required when kind is channel: the platform to support. Prefer one of: x, bluesky, mastodon, pinterest, reddit, medium, ghost, wordpress, beehiiv, kit, mailchimp, discord, telegram, google-business; otherwise its name.
messagestring
What the user wants or what went wrong. Required for feature and bug; for a bug, include the tool, what was expected and the error text. Optional for a channel request (what they'd post there).
org_slugstring
The workspace this is about, if any.
property_slugstring
The property this is about, if any.

API keys

create_api_key

POST https://blastcp.com/api/v1/tools/create_api_key

Make an API key for a script, cron or server that calls BlastCP over plain HTTP (POST {api_url}/tools/{tool} with `Authorization: Bearer <key>`; every tool here is an endpoint).

Full description

Make an API key for a script, cron or server that calls BlastCP over plain HTTP (POST {api_url}/tools/{tool} with `Authorization: Bearer <key>`; every tool here is an endpoint). The key acts as you, in ONE workspace only, for a year, at most 30 calls a minute. The key is in this answer ONCE: hand it straight to where it will be stored (a secrets vault, an env var) and never repeat it in chat or write it into a file in a repo. Revoke it with revoke_api_key or on the API keys page. Can't be called with an API key.

Arguments (2, 1 required)
labelstringrequired
What will use it, e.g. "Groove 'n' Fill video engine". At most 80 characters.
org_slugstring
The workspace the key is held to. Optional when the user has one, or a current one.

list_api_keys

POST https://blastcp.com/api/v1/tools/list_api_keys

Your live API keys: label, the workspace each is held to, made, last used, expires, and key_id (for revoke_api_key).

Full description

Your live API keys: label, the workspace each is held to, made, last used, expires, and key_id (for revoke_api_key). Never the keys themselves.

No arguments: send {}.

revoke_api_key

POST https://blastcp.com/api/v1/tools/revoke_api_key

Revoke one of your API keys by key_id (from list_api_keys).

Full description

Revoke one of your API keys by key_id (from list_api_keys). Every call with it fails from now on. Can't be called with an API key.

Arguments (1, 1 required)
key_idstringrequired
The key_id from list_api_keys.

More

pull_substack_draft

POST https://blastcp.com/api/v1/tools/pull_substack_draft

Read back a Substack DRAFT that BlastCP created, as it stands now, after the author edited it in Substack's editor: its title, subtitle and body as markdown (images as ![alt](src) with the caption on the next line in *italics*).

Full description

Read back a Substack DRAFT that BlastCP created, as it stands now, after the author edited it in Substack's editor: its title, subtitle and body as markdown (images as ![alt](src) with the caption on the next line in *italics*). Use it when the author says they changed the draft in Substack and wants those changes here. It reads only: nothing in Substack or in the BlastCP post changes. To make the post match, show the author what changed and save it with update_post. The post must be a Substack post that has been sent (it has an external_url); a draft the author already published is still readable until they delete it.

Arguments (3, 2 required)
property_slugstringrequired
The property (brand or presence) this call operates on. Required: every tool that touches a post or a channel needs the property slug, because the URLs handed back live under /{orgSlug}/property/{propertySlug}/…
post_idstringrequired
The post's id (from list_posts, get_post, or create_post).
org_slugstring
Workspace context. Optional when you belong to exactly one workspace (or have a current one).