Skip to content

MCP connector

Connect Claude, ChatGPT or another MCP client: endpoints, sign-in, every tool, and the approve-before-publish flow.


ReBrandOS is a remote MCP server. Connect it to an AI client and the client can read your brand, save drafts it wrote, render carousels and short videos from your own media, and schedule posts — but only after you approve the exact plan. ReBrandOS does not write copy or generate images for you: your AI client writes, and ReBrandOS checks, stores, renders and publishes.

Every plan includes it
The connector and the Agent REST API are part of every plan (Agent, Agency 5, Agency 15 and Enterprise) and work during your free trial. Meta campaign and chatbot tools need the Meta engagement module, which comes with Agency 15 and Enterprise.

Endpoints

URLUse it for
https://ops.rebrandos.com/mcpThe connector. Sign in with OAuth 2.1 in your browser. Recommended.
https://ops.rebrandos.com/mcp/keyThe same tools, authenticated with a fixed key in an Authorization: Bearer header, for when OAuth sign-in won’t complete. See Fixed-key option.
https://ops.rebrandos.com/.well-known/oauth-protected-resourceOAuth protected-resource metadata. Clients find it on their own.
https://ops.rebrandos.com/.well-known/oauth-authorization-serverOAuth authorization-server metadata: authorization code with PKCE (S256), dynamic client registration, refresh tokens.

The server speaks MCP over Streamable HTTP and answers with JSON. There is no separate SSE endpoint.

Connect Claude

  1. In Claude, add a custom connector (Claude calls them connectors; which Claude plans can add custom ones is up to Anthropic).
  2. Paste https://ops.rebrandos.com/mcp as the URL and save.
  3. Choose Connect. ReBrandOS opens in your browser; sign in if asked.
  4. The consent page says Connect Claude to your brand workspace and lists the permissions Claude asked for. Under Brand access, keep All current and future brands or pick Choose specific brands and tick the ones Claude may use.
  5. Choose Accept. Back in Claude, ask it to list its ReBrandOS tools. If it can, you’re connected.
Which workspace?
The connection belongs to the workspace you’re signed in to when you accept. To connect a different workspace, switch to it in ReBrandOS first, then connect again.
What your role can grant
Anyone in the workspace can connect. ReBrandOS grants the permissions your role allows and leaves out the rest; the consent page lists what was left out and which role grants it, and the token your client receives only names what was granted. Scheduling after approval needs Publishing execution, which only owners and admins hold. A tool that needs a missing permission answers with insufficient_scope and names the role.

Connect ChatGPT

ChatGPT connects to ReBrandOS as a custom MCP server with OAuth sign-in. Custom servers are only available where OpenAI enables them for your plan and workspace; if you don’t see the option below, check OpenAI’s help center for your plan.

Verified in ChatGPT
Adding the server and signing in from ChatGPT were checked live in October 2026. ReBrandOS recognises ChatGPT by its published client identity (https://chatgpt.com/oauth/client.json) and also supports dynamic client registration.
  1. In ChatGPT, open Customize → Plugins, then choose Add → Add custom MCP server.
  2. Name it ReBrandOS. Under Connection keep Server URL and enter https://ops.rebrandos.com/mcp. Leave Authentication on OAuth; the advanced OAuth settings are discovered automatically.
ChatGPT’s Add custom MCP server form with the name ReBrandOS, the server URL https://ops.rebrandos.com/mcp and OAuth authentication
Name, server URL and OAuth. Nothing else needs changing.
  1. Read ChatGPT’s warning about custom servers, tick I understand and want to continue, then choose Create as a plugin.
The bottom of the ChatGPT form with the risk notice, the I understand checkbox ticked and the Create as a plugin button
ChatGPT shows this notice for every custom server.
  1. ChatGPT asks you to connect. Choose Continue to ReBrandOS.
ChatGPT’s Connect dialog explaining permissions, with a Continue to ReBrandOS button
This opens ReBrandOS in your browser.
  1. Sign in to ReBrandOS if asked. On the ReBrandOS consent page, choose All current and future brands or pick specific brands, review the permissions, and accept. ChatGPT now lists ReBrandOS under Installed.
  2. Start a chat and ask for what you need, for example “Make a 5-slide carousel for my brand about our autumn menu and plan it for Thursday at 6 pm.” Nothing publishes until you approve the plan.

The approve-and-schedule card is built as an MCP App. If your client doesn’t display it, ask the AI to show you the plan (brand, account, time, caption) as text before you approve.

Fixed-key option

Use this only if browser sign-in won’t complete in your client. The key is a long-lived secret, so prefer OAuth where you can.

  1. In ReBrandOS open Settings → Agent access keys (owners and admins). Under Connect an AI client, find OAuth not completing? and choose Create fixed key.
  2. The key starts from the Content agent permissions and a 30-day expiry. Content agent can plan schedules but not commit them; add publish:execute if the client should schedule after you approve.
  3. Choose Create fixed key and copy the value now. It is shown once.
  4. In Claude, add a custom connector with the URL https://ops.rebrandos.com/mcp/key, choose No sign in, and add a request header named Authorization with the value Bearer rbos_live_….

The key goes only in the header; ReBrandOS never reads keys from the URL. Rotate or revoke it on the same settings page.

Tools by job

Your client only sees the tools its permissions allow. On the fixed-key endpoint there is one more, whoami, which returns the key’s identity.

Workspace and brand context

ToolWhat it doesPermission
get_profileThe connected workspace, your scopes and brands, the identity to cite when you approve, whether the plan allows writing now, whether an admin approves agent posts, and how many posts are left today.profile:read
get_content_capabilitiesThe formats and media counts ReBrandOS accepts, and each network’s caption, carousel and format limits.profile:read
list_brandsBrands this connection can reach: exact id, name, channels, pillars and how many accounts can post. Pass detail "full" for every complete brand book.brands:read
get_brand_contextOne brand’s voice, positioning, audience, pillars, funnel plan, visual kit, assets and version digest.brands:read
get_authoring_guidanceThe brand book plus writing guidance for your AI client, including per-network limits, first comments, how TikTok posts are delivered (to the creator’s TikTok inbox, where they finish posting, until TikTok approves public direct posts), and how to repurpose one idea into several formats.brands:read
create_brand_context / update_brand_contextCreate a brand or update its facts from what you approved, including its funnel plan.brands:write
list_brand_kit_versions / create_brand_kit_versionRead or add a versioned brand kit (colours, typography, style, voice, templates).brands:read / brands:write
attach_brand_asset / delete_brand_assetAdd an uploaded logo, reference image, product shot or font to the brand kit, or remove one.brands:write
list_slide_templatesThe carousel templates enabled for a brand and their text limits.brands:read
list_post_formatsPost formats that work (notes app, stat card, before and after, us vs them, offer card, case study and more): which funnel jobs each one serves, when to use and avoid it, its text limits, its guardrails, and an example.brands:read

Accounts and media

ToolWhat it doesPermission
list_accountsConnected social accounts with their stable ids, brand, kind (for example a LinkedIn profile or company page) and the formats each can publish. An account that cannot post comes with a link to reconnect it in the ReBrandOS web app.accounts:read
list_media / get_media_uploadMedia in a brand’s library, and the status of an upload.media:read
get_media_downloadA short-lived download link (60–900 seconds, 300 by default).media:read
create_media_upload / sign_media_upload_part / complete_media_upload / abort_media_uploadUpload large files in parts to signed URLs.media:write
create_inline_media_upload / append_inline_media_chunk / finalize_inline_media_upload / get_inline_media_upload / abort_inline_media_uploadUpload through the connector itself in base64 chunks of up to 512 KB, for clients that cannot send files to a URL.media:write
plan_media_move / move_media / get_media_move_receiptMove an unused file from one brand to another, with a confirmation step.media:write

Render carousels and videos (no AI model involved)

ToolWhat it doesPermission
render_carousel_slidesRender slides your AI wrote (cover, 4–10 body slides, closing slide; up to 12 slides) onto the brand’s template as 1080 × 1350 images. Shows a preview card. Emoji and non-Latin scripts the slide fonts cannot draw are refused by name, never dropped.media:write
render_post_formatDraw a single-image post format your AI wrote (for example a listicle or stat card) on the brand’s colours and type as one 1080 × 1350 image. Copy that does not fit is refused by slot, never cut.media:write
assemble_videoJoin up to 20 of the brand’s images and clips into one MP4 (9:16, 4:5 or 1:1), at most 120 seconds long, with optional clip points, fades and burned-in captions.media:write

Drafts, briefs and feedback

ToolWhat it doesPermission
validate_draft / preview_draftCheck a draft against the network’s limits (set its channel) and the brand’s rules without saving it, and see a warning when it repeats a post the brand already published. Send plannedComposition instead of a draft to check a planned post against the brand’s illustrations rule before any media is made.drafts:read
create_draft / update_draft / delete_draftSave, change or delete a draft your AI wrote and showed you. A deleted draft goes to Recently deleted on your Drafts page, where you can restore it for 30 days.drafts:write
list_drafts / get_draftRead drafts saved through the connector.drafts:read
list_briefs / claim_briefThis week’s briefs for a brand; claim one so no other client writes it.drafts:read / drafts:write
record_feedbackRecord that you approved, edited or rejected a draft, an edit as before and after with the rule behind it, or a note on a topic that is not a draft yet. Approved text becomes a voice sample; rules and recent edits come back in get_authoring_guidance.drafts:write

Client approval and client reports

ToolWhat it doesPermission
create_review_linkSend exact drafts of one brand (up to 50) to the client as a no-login review link, valid 14 days by default (1–60). The client approves, asks for changes or rejects each draft. With a client email, the link is also emailed. Each call makes a new link, so it is never retried automatically.drafts:write
get_review_statusThe client status of exact drafts (not sent, waiting for the client, approved, changes requested or rejected), whether an approval is out of date because the draft changed, the latest comment, and whether the brand requires client approval before publishing.drafts:read
list_review_commentsEvery client decision and comment on one draft, newest first.drafts:read
create_report_linkShare a read-only report for one brand over the last 7, 30 or 90 days as a no-login link, valid 30 days by default (1–90), with your agency name and logo.analytics:read

Schedule and approve

ToolWhat it doesPermission
plan_scheduleCreate a 15-minute plan for one draft, account and time, and show the approve-and-schedule card. A post that does not fit the network (too long, too many slides, a story or thread on the wrong network) is refused here, never cut later. Nothing is scheduled yet.schedule:write
commit_scheduleSchedule exactly the plan you approved, or send it to an owner or admin for approval when the workspace requires it or you are a member without publishing rights.schedule:write (+ publish:execute to schedule directly)
plan_schedule_batch / commit_schedule_batchPlan up to 100 posts, each with its own account and time (a list, a month of posts, or one idea on several networks), and approve them with one batch digest.schedule:write (+ publish:execute to schedule directly)
list_schedule_plans / get_schedule_plan / cancel_schedule_planRead or cancel plans this connection made.schedule:read / schedule:write
get_calendarScheduled and published posts in a date range with brand, account, caption, local time, conflicts, and the public link of each published post.calendar:read
get_content_historyEverything a brand has published, with no date limit and in pages: date, network, account, title, topic, angle, first line and public link. Each row says if ReBrandOS published it or if it was imported from the account itself.calendar:read
import_published_postsBring in the posts an account published on its own network before it was connected. The repeat check then compares new drafts against those posts too. Works for Instagram professional accounts, Facebook Pages, TikTok, X (when your X API plan includes reading timelines) and LinkedIn Pages. A dry run shows the counts and a sample first, and nothing is written until you confirm that preview.accounts:read + brands:write
import_linkedin_exportLinkedIn doesn’t let apps read a personal profile’s posts, so you upload the data export from LinkedIn instead (Shares.csv, or the whole ZIP). You get the same preview to confirm.accounts:read + brands:write
get_publish_statusA post’s status, the network’s receipt and public link, and when the link was last seen live or deleted; with a pendingId, whether an admin approved it.schedule:read
cancel_scheduleCancel a queued post. Its time slot and its place in the daily cap are freed at once, so you can schedule another post there. Works even when the workspace is read-only.schedule:write + publish:execute
reschedule_schedule / requeue_publish_jobMove a queued post, or retry a failed one.schedule:write + publish:execute
choose_publish_accountFix posts that were stopped before sending because they had no exact account: pick the account (and a new time for any whose time passed) and they go back in the queue. Preview first.schedule:write + publish:execute
reschedule_schedule_batch / cancel_schedule_batchMove or cancel up to 20 queued posts at once, for example to push a week back during a crisis. Moving keeps each post’s approval.schedule:write + publish:execute

Results

ToolWhat it doesPermission
get_performance_summaryResults by pillar, format, network and time slot, plus top posts, over 7 to 365 days (90 by default).analytics:read
get_content_verdictsDid each post do its funnel job? Each post’s early and settled read on the metric it was meant to move, compared with your earlier posts, and a count by job and post format. When a verdict is unknown, it says why.analytics:read
recommend_next_postsWhat to post next: the pillar, the funnel job furthest behind your target, and a post format for it, with the reason for each.analytics:read
list_analyticsA short summary by default (totals, by network, by week, top and bottom posts with captions and links); mode "posts" lists every post with filters and paging; mode "snapshots" returns raw snapshots.analytics:read

Personas

ToolWhat it doesPermission
list_personas / get_personaA brand’s UGC personas.personas:read
create_persona / update_persona / attach_persona_image / delete_personaManage personas from facts you approved.personas:write

Meta campaigns and chatbot flows (Meta engagement: Agency 15 and Enterprise)

ToolWhat it doesPermission
get_automation_guidanceStart here: what your plan and accounts can run, every automation pattern with a ready-to-adapt example, Meta’s limits, and which pattern fits a goal. See Automations below.automations:read
list_meta_campaigns / get_meta_campaign / validate_meta_campaignRead and check Facebook and Instagram comment and DM campaigns. Errors carry a code, path and fix.automations:read
save_meta_campaign_draft / duplicate_meta_campaign_draftSave or copy an inactive campaign. Returns the campaignDigest you approve.automations:write
activate_meta_campaignTurn a campaign on with your approval of its exact campaignDigest.automations:execute
pause_meta_campaign / archive_meta_campaignPause or archive a campaign, with explicit confirmation.automations:execute
list_meta_flows / get_meta_flow / validate_meta_flowRead and check chatbot flows.automations:read
save_meta_flow_draft / duplicate_meta_flow_draftSave or copy an inactive flow.automations:write
activate_meta_flow / pause_meta_flow / archive_meta_flowTurn a flow on, pause it or archive it, with explicit confirmation.automations:execute

Brands that require illustrations

A brand can require illustrations in its image posts. Switch it on under Brand, then Publishing. When it’s on, a single-image post or a thread with images needs at least 1 illustration, and a carousel needs the number you set (3 unless you change it). Text posts, stories and videos don’t need any.

ReBrandOS doesn’t draw the illustrations. Your AI makes them, or you upload them, and each upload is marked as an illustration, a photo, a screenshot or a text slide. Only items marked as an illustration count. Slides that render_carousel_slides draws are text slides, unless the AI places an uploaded illustration on a slide with illustrationMediaId. That slide counts as an illustration. The illustration goes across the top of the slide with the copy below it, or, if the AI asks for it, in a smaller space below the copy. If the copy doesn’t fit, the render is refused and says how many characters to cut. You can change what an image is marked as in the media library.

The AI reads the rule before it makes anything: get_brand_context and get_authoring_guidance start with it, and validate_draft with plannedComposition checks a planned post for free. A draft that falls short is refused with a message that says how many illustrations it has and how many it needs.

Funnel jobs and verdicts

Each post can be given one of three jobs: get the right buyers to notice you (top), build trust in how you think and work (middle), or make the decision to buy easy (bottom). The AI sets the job and the metric it expects the post to move when it writes the draft, and ReBrandOS freezes that expectation when you approve the schedule.

The brand’s funnel plan, under Brand, then Identity, then Funnel, holds the share of posts you want for each job, the offer, who it isn’t for, objections, and calls to action. The share is a rule of thumb you set: no published study shows which mix sells, so ReBrandOS shows your last 30 days next to it and never treats the target as evidence.

get_content_verdicts reads each post at an early point and again once its numbers have mostly arrived, which depends on the network: two days on X and Facebook, a week on Instagram and LinkedIn, and four weeks on YouTube. The post is compared with your own earlier posts of the same kind at the same point. A verdict is above, at, or below expectation, or unknown with a reason, for example when the network doesn’t report that metric, when Instagram withholds story replies for accounts in Europe and Japan, or when fewer than 8 earlier posts exist to compare with.

Formats for each job

Every post format lists the jobs it’s built for, and validate_draft warns when a draft’s job isn’t one of them. The bottom of the funnel has its own formats. The offer card and the offer ad state the offer and price saved in the funnel plan, and draw the next step as text beside an arrow, never as a button. The “Who it is for” card lists exclusions taken word for word from the plan. The case study carousel cites stories from the plan’s proof bank by id, only when the client gave permission, and any words in quotation marks must match the saved quote exactly. A draft that doesn’t match the plan is refused with a code that names the slot.

Four kinds of image are always refused, each with its own code and the rule behind it: drawn buttons or alerts, a news outlet’s name or layout, someone else’s post, and a generated person shown as a real customer. A before and after or day 1 to day 30 post marked for paid promotion also needs the author to confirm the results are the business’s own work.

What to post next

recommend_next_posts starts with the job furthest below your target mix over the last 30 days. When it suggests several posts, each one counts the suggestions before it, so the set moves your mix toward the target.

For the format, it learns from your own settled verdicts. Until a job’s formats have 5 known verdicts from the last 90 days, it suggests the format you used least recently. After that, it draws from each format’s record: a format that beat your median more often is picked more often, and a format with a weaker record, or none yet, is still tried now and then so a better one isn’t missed. Each suggestion says which happened. An unknown verdict never counts for or against a format, and the same request on the same day gives the same suggestions. These rules are a design choice, not a tested standard.

Clicks on tagged links

The networks don’t report how many people clicked through from a post to your own page, so ReBrandOS counts those clicks itself. When a post sends people to your page, the AI calls create_post_link for that draft and channel, and puts the returned link in the post. The link opens your page with utm_content set to the link’s tag, so you can match a visit in your own analytics to the post.

A repeat click from the same visitor in the same hour counts once, and the previews that networks fetch to draw a link card aren’t counted as clicks. get_funnel_attribution lists each link with its clicks. ReBrandOS doesn’t track bookings or payments.

Video and YouTube

assemble_video joins the brand’s own images and clips with ffmpeg. It can take one part of a long upload, such as a minute from your webinar, join parts with a hard cut or a fade, and burn in timed captions. A caption has two lines at most. One that doesn’t fit, or that ends after the video, is refused with how far over it is, and nothing is cut to make it fit. Every source is read in full, so one render may read only a set number of bytes, and the reply says how much it read and the most that read could cost.

The 3D explainer template joins shots your own video model made into a short explainer of one mechanism, object, or body process. Each shot must be uploaded with an AI origin, captions are required, and a body or health topic needs a named source for every claim. The finished video carries those sources, and a YouTube draft is refused until its description lists them.

Each upload can say where it came from: your camera, a screen recording, drawn by code, stylised AI, realistic AI, or real footage changed by AI. YouTube asks every upload if it shows realistic AI or altered content, and ReBrandOS answers from those origins: realistic AI means Yes, and stylised animation means No. If any part has no stated origin, ReBrandOS doesn’t guess. The draft needs your answer in containsSyntheticMedia, or it can’t be planned for YouTube. validate_draft shows the answer that will be sent, and the post’s record keeps it next to what YouTube reported back.

YouTube reviews a channel as a whole, including its newest uploads and its overall theme, so a video can be fine on its own and still add to a channel YouTube calls mass-produced. ReBrandOS keeps a record of what the brand has already put on YouTube and compares each new video with it. It compares the narration in metadata.narrationScript with earlier scripts, both for the same point and for the same opening words and order. It compares the frames, one a second, with the brand’s last 20 uploads, leaving out a shared intro and outro. It also counts how often the same template, music, and voice ids come up. These are warnings in validate_draft and plan_schedule, with the earlier videos named.

plan_schedule also checks how often the channel posts. It warns when a channel would get more uploads in a day than its limit, or two uploads too close together, and it names the earliest time that fits. ReBrandOS never moves the post itself. New channels, and videos very like recent uploads, get a lower limit. One case is refused outright: the exact same video file going to a channel that already has it, or has it scheduled.

Some videos need your explicit approval before they can be scheduled: a body or health explainer, realistic AI footage, an AI persona, and a video very like the channel’s recent uploads. plan_schedule returns youtubeReview with the reasons. The AI shows them to you, and when you approve, it sends them back in approval.acknowledgedYoutubeReasons. A video scheduled by an agent without that approval is stopped before anything is sent to YouTube. The daily limits and the sameness thresholds are ReBrandOS’s own choices, because YouTube doesn’t publish its own, and the tool replies say so.

Ready-made prompts

The connector also offers prompts: ready-made jobs that load what the job needs and name the exact tool steps. AI apps that support connector prompts list them by title. Each takes the exact brand id or slug.

PromptWhat it does
author_brand_contentLoad a brand’s facts and writing guidance so your AI can write work for you to review, optionally for one format.
carousel_from_pillarWrite a carousel for one pillar of the brand book (or the most overdue one) and render it on the brand’s template.
thread_from_postTurn one saved draft into an X thread that develops the argument instead of repeating it.
reel_from_carouselJoin a saved carousel’s slides into a vertical video.
client_week_planDraft a week for a client: 1 to 8 posts (5 by default) in the client brand’s voice from its brand book and what has worked, ready to send for client approval.
send_for_client_reviewSend saved drafts of one client brand to the client as one review link, skipping drafts already waiting or approved, with an optional client name and email.
client_feedbackRead the client’s decisions and comments, plan the edits, and send edited drafts back for a new review. Approved drafts with unchanged content can then be scheduled.

Approve before anything publishes

Every post goes through four steps, and the last one only succeeds with your approval of the exact plan:

  1. Validate. validate_draft checks the text and media against the network’s limits and your brand rules. A protected client name blocks the draft; words to avoid are warnings.
  2. Save. create_draft stores the draft and returns its digest, a fingerprint of the exact content.
  3. Plan. plan_schedule checks the account, time slot and the network’s capacity, then returns a plan with its own digest. The plan stays valid for 24 hours. Your client shows the approve-and-schedule card: brand, where, when (with time zone), format and the caption.
  4. Commit. When you choose Approve and schedule, the card posts your approval into the chat and the AI calls commit_schedule with that plan digest, confirm: true and your approval. Nothing is scheduled if the draft changed, the plan expired, the account changed or capacity ran out — the AI has to plan again and ask you again.

Example conversation

You: Turn these onboarding notes into a LinkedIn post for Northwind Coffee
     and schedule it for Tuesday at 9:00.

AI:  [get_brand_context, validate_draft]
     Here's the post. It passes Northwind's rules. Save it?

You: Yes.

AI:  [create_draft, list_accounts, plan_schedule]
     ┌ Approve and schedule ─────────────────────────┐
     │ Brand   Northwind Coffee                      │
     │ Where   LinkedIn · Northwind Coffee           │
     │ When    Tue 20 Oct, 09:00 (Europe/London)     │
     │ Format  Text post                             │
     │ "Week one at Northwind starts with a cup…"    │
     │ [Approve and schedule]  [Change something]    │
     └───────────────────────────────────────────────┘

You: (choose Approve and schedule)
     I approve schedule plan brandos_agent_schedule_plan_… exactly as shown
     (plan digest 4f1c…). Commit it now.

AI:  [commit_schedule]
     Scheduled for Tue 20 Oct, 09:00. That's 1 of today's 10.

What commit_schedule sends

{
  "planId": "brandos_agent_schedule_plan_…",
  "planDigest": "4f1c…",
  "confirm": true,
  "approval": {
    "approvedBy": "[email protected]",
    "approvedAt": "2026-10-19T16:05:00Z",
    "approvedDraftDigest": "9a7e…",
    "approvedPlanDigest": "4f1c…",
    "approvalChannel": "claude",
    "approvalSummary": "LinkedIn, Tue 20 Oct 09:00"
  }
}

approvedBy must be the person who connected the client (the identity get_profile returns), and approvedAt must fall inside the plan’s lifetime. For several posts, plan_schedule_batch returns one batchDigest for up to 100 plans, each with its own account and time, and commit_schedule_batch commits them only if none changed. If a long batch stops before it finishes, or the answer never reaches your client, call commit_schedule_batch again with the same plans and approval. Plans that were already committed come back with their publish job and are never scheduled twice.

“Require approval before agents publish”
If an admin turns this on in Settings → Agent access keys, your approval in the chat is not the last step. commit_schedule returns "status": "pending_approval" with a pendingId, and the plan waits under Pending agent actions on the same page. Workspace owners and admins get an email with a link to it (operators can see the list but cannot decide). When an owner or admin approves it there, ReBrandOS schedules exactly the plan you approved; if they deny it, the plan is cancelled. Ask your AI for the post’s status: get_schedule_plan and get_publish_status (with the pendingId) return approval.state as pending_approval, approved (with the publish job) or denied. A batch shows as one group, with Approve all.

See Approve and schedule from chat for the card itself.

Automations: comments and DMs

Ask your AI for an engagement automation in plain words: “When someone comments BRAND on this post, DM them the link.” It calls get_automation_guidance first, which says whether your plan includes Meta engagement, which of your Facebook Pages and Instagram accounts can run automations, and whether each one granted the messaging permission. Ask “what automations can you build for me?” and it answers from the same list.

PatternWhat it does
Comment a keyword → get a DMWhen someone comments the keyword on the post, they privately receive the DM (Meta private reply). No public reply.
Comment a keyword → DM + public "check your DMs"Sends the private DM first; once Meta confirms it, replies publicly under the comment. The public reply makes the post look active and tells others how to get it.
Comment a keyword → public replyReplies publicly under each matching comment with saved text.
Varied public repliesRotates through 2–20 saved replies (random per comment, or in order) so replies do not look copy-pasted.
Reply when someone tags a friendTriggers only on comments that contain an @mention (e.g. giveaways: "tag a friend").
DM a keyword → instant replyReplies to incoming DMs that contain the keyword with saved text (inside the 24-hour window).
DM chatbot with buttonsA branching DM conversation: keyword trigger, a question with quick-reply buttons, and a reply per choice. Also continues the conversation when someone answers a private-reply DM.

Which one to pick

WhenUse
The user wants people to comment a word to receive something (link, guide, discount, kit).comment_keyword_reply_and_dm — The DM delivers privately and the public reply shows others how to get it. Use comment_keyword_dm if they do not want public replies.
The post is not published yet (they are asking you to create and schedule it).targetMode rebrandos-draft — Bind the campaign to the draft id; it starts matching as soon as the post is live on that account, and never matches other posts.
The user wants to answer the same question that keeps appearing in comments.comment_keyword_public_reply — Public answers help everyone reading the thread.
Many people comment the same thing (giveaways, launches).comment_random_or_serial_replies — Varied replies avoid looking automated.
Giveaway or referral asking people to tag friends.comment_mentions — Only comments with an @mention count.
People DM a recurring question.dm_keyword_reply — Instant answer inside the 24-hour window.
The conversation needs choices, qualification or several steps, or should continue after the private-reply DM.dm_flow_with_buttons — Flows branch on button choices and run on every incoming DM, including replies to a private reply.
The account has not granted the messaging permission, or the plan lacks Meta engagement.tell the user — Do not build an automation that cannot run; say what to reconnect or which plan includes it.

A post and its automation in one conversation

  1. get_automation_guidance { brandId } — check plan, accounts, permissions and webhook health.
  2. create_draft — the post copy (e.g. "Comment BRAND if you’re interested").
  3. plan_schedule (once per account: Facebook Page and/or Instagram) → show the user → commit_schedule with approval.
  4. validate_meta_campaign { brandId, accountId, candidate } — targetMode "rebrandos-draft", targetDraftIds [draftId], keyword, DM text. Fix every error using its fix hint.
  5. save_meta_campaign_draft — returns campaign.campaignDigest. One campaign per account (Facebook and Instagram are separate).
  6. Show the user who it answers, the keyword, the exact DM and public reply text, and the campaignDigest. Ask for approval.
  7. activate_meta_campaign { confirm: true, approval: { approvedBy, approvedAt, approvedCampaignDigest } }.
  8. get_meta_campaign — draftTargets shows pending until the post is live, then resolved with the provider post id.
You: Create a post for my Northwind Coffee brand that says "Comment BRAND if
     you're interested", schedule it for Friday 10:00 on Facebook and Instagram,
     and when someone comments BRAND, DM them: "Here's the brand kit: …"

AI:  [get_automation_guidance, create_draft, plan_schedule ×2]
     Here is the post and the plan for both accounts. Approve?
You: Yes.
AI:  [commit_schedule ×2, validate_meta_campaign ×2, save_meta_campaign_draft ×2]
     Two automations, one per account, both waiting for the post to go live:
     comment contains "BRAND" → one private DM, then reply "Sent! Check your DMs 📩".
     Approve turning them on? (digests 7c2e…, 91ab…)
You: Yes.
AI:  [activate_meta_campaign ×2]
     On. They start answering as soon as Friday's post is live.

What activate_meta_campaign sends

{
  "brandId": "northwind-coffee",
  "accountId": "sacct_…",
  "campaignId": "camp_…",
  "operationKey": "activate-brand-dm-001",
  "expectedRevision": 1,
  "confirm": true,
  "approval": {
    "approvedBy": "[email protected]",
    "approvedAt": "2026-10-16T09:12:00Z",
    "approvedCampaignDigest": "7c2e…",
    "approvalChannel": "claude"
  }
}

The campaign your AI saves

{
  "contractVersion": 2,
  "name": "BRAND → DM + reply",
  "objective": "comment_autoreply",
  "triggerType": "keyword_match",
  "triggerKeywords": [
    "BRAND"
  ],
  "targetMode": "rebrandos-draft",
  "targetDraftIds": [
    "<draftId from create_draft>"
  ],
  "eventWindow": {
    "timezone": "<the user’s IANA time zone>",
    "start": "00:00",
    "end": "23:59",
    "weekdays": [
      0,
      1,
      2,
      3,
      4,
      5,
      6
    ]
  },
  "recurrence": {
    "mode": "event"
  },
  "replyTemplate": "Sent! Check your DMs 📩",
  "templateSnapshot": {
    "mode": "snapshot",
    "content": "Sent! Check your DMs 📩"
  },
  "metadata": {
    "enableCommentReply": true,
    "enablePrivateReply": true,
    "privateReply": {
      "version": 1,
      "message": "<the exact DM text>"
    }
  }
}

targetMode: "rebrandos-draft" ties the campaign to the post published from that draft on that one account, so it can be set up before the post exists. Until the post is live it answers nothing, and it never answers your other posts. get_meta_campaign shows each draft as pending and then resolved with the network’s post id.

Meta’s rules

  • Meta allows exactly ONE private reply (DM) per comment. ReBrandOS records a durable claim per comment, so two campaigns, a redelivered webhook, a retry or a restart can never DM the same comment twice.
  • A DM campaign also answers each person once by default (metadata.oncePerPerson, default true). When the same person comments again on that campaign, they get no second DM and no second public reply, and the webhook receipt records already_sent_to_person with the earlier effect id. A comment that arrives without the commenter id gets no DM and no public reply, and the receipt records commenter_id_missing. Set oncePerPerson false to answer every matching comment.
  • A private reply must be sent within 7 days of the comment (Instagram Live comments: only while the broadcast is live). Later attempts fail with meta_effect_window_expired and are not sent.
  • After the private reply, you can only message the person again if they reply; then the normal 24-hour messaging window applies and DM flows (chatbots) take over the conversation.
  • The DM text is at most 1000 bytes of UTF-8 (Instagram's limit), plain text.
  • Comments by the Page/account itself never trigger automations, so a public reply containing the keyword cannot loop.
  • If Meta does not confirm a send (timeout, lost response) the effect is marked ambiguous and is never retried automatically; the public "check your DMs" reply is not sent after an unconfirmed DM.
  • All sends go through the shared Meta call governor: Meta rate-limit errors (codes 4, 17, 32, 613, 80000–80014) pause sends and retry later with backoff (up to 4 attempts). Plan for bursts on viral posts being delayed, not dropped.
  • Automations answer people who engaged with the account. Never use them for unsolicited outreach, and keep DM content relevant to what the person asked for.
  • Private replies need Advanced Access to pages_messaging (Facebook) or instagram_manage_messages (Instagram) on the ReBrandOS Meta app; until then they only reach people with a role on the app.

Permissions

The consent page groups what the client asked for. These are the permissions and the names it shows:

ScopeShown as
profile:readWorkspace identity
brands:readBrand book access
brands:writeBrand book updates
accounts:readConnected account list
personas:readPersona library
personas:writePersona updates
drafts:readDraft library
drafts:writeDraft creation
calendar:readCalendar visibility
schedule:readSchedule plans
schedule:writeSchedule planning
analytics:readAnalytics snapshots
media:readMedia library
media:writeMedia uploads
automations:readAutomation visibility
automations:writeAutomation updates
automations:executeAutomation execution (owners and admins only)
publish:executePublishing execution (owners and admins only)

Access tokens last one hour and your client refreshes them; refresh tokens last 30 days and change on every use. Every call is checked against your current role and brand access, so removing someone from a brand takes effect immediately.

Limits and fair use

  • 300 requests a minute per AI client, per person, per workspace. Over that, the server answers HTTP 429 with a Retry-After header.
  • 10 scheduled posts a day per AI client, per person, per workspace, counted when a post is scheduled and reset at 00:00 UTC. Over that, the tool returns publish_cap_reached.
  • Disconnecting and reconnecting the same client does not reset either limit.
  • Each network also applies its own posting limits, which ReBrandOS cannot raise. See the fair-use section of the Terms.

When your plan changes

Your subscription state decides what the connector may change:

SubscriptionConnector and API
Workspace created, no card added yetReads only (subscription_required). Add a card in Billing to start the free trial.
Trial running (card on file)Everything your role and scopes allow.
Trial cancelled, before it endsEverything, until the trial ends. No charge.
Paid and activeEverything your role and scopes allow.
Payment failed, first 7 daysEverything, for 7 days from the first failed payment. The app shows a banner with the date.
Payment still failed after 7 daysRead-only. Writes return entitlement_blocked with reason subscription_inactive.
Cancelled, before the end of the paid periodEverything, until the paid-through date.
Cancelled, after the paid periodRead-only (subscription_inactive).
Trial ended without a plan (cancelled, or an older trial without a card)Reads only (subscription_inactive or trial_expired).
No subscription yetReads only (subscription_required).

Writes include saving drafts, uploading and rendering media, planning, committing or moving scheduled posts, and changing Meta automations. A read-only workspace can always cancel queued posts (cancel_schedule), pause or archive Meta automations, read and download its media, and export its data from the dashboard.

When a tool fails

A failed tool call returns isError: true with a JSON body such as {"ok": false, "code": "schedule_plan_expired", "error": "…"}. The codes you will meet most:

CodeWhat to do
schedule_plan_expiredThe plan is more than 24 hours old. Plan again and ask for approval again.
schedule_plan_time_passedThe post’s time passed before it was approved. Plan it again with a new time.
schedule_plan_draft_changedThe draft changed after planning. Plan again.
schedule_plan_digest_mismatchThe digest sent is not the plan’s. Use the digest from plan_schedule.
schedule_approval_actor_mismatchapprovedBy must be the connected person.
provider_capacity_not_readyThe account is disconnected or the network is out of capacity. Nothing was scheduled.
publish_cap_reachedThis client has scheduled 10 posts today.
entitlement_blockedThe subscription does not allow writes right now. See the table above.
module_not_in_planMeta campaign and chatbot tools need Meta engagement, included in Agency 15 and Enterprise. An owner or admin can upgrade in Settings → Billing.
campaign_approval_digest_mismatchThe campaign changed since you approved it. Ask the AI to show it again and approve the new campaignDigest.
campaign_private_reply_permission_missingThe account has not granted the messaging permission private DMs need. Reconnect it in Connections and allow messaging.
insufficient_scopeThe connection lacks a permission. The message names the role that can grant it; that person reconnects, or changes your role.

Disconnect or pause

Remove the connector in your client, or revoke the connection in Settings → Agent access keys, where OAuth connections and keys are listed together. Pause all agent access on the same page stops every connector, key and webhook in the workspace until you turn it back off.