{"openapi":"3.1.0","info":{"title":"Coboost API","version":"1.0.0","description":"REST API for Coboost, the creator ads marketplace for Instagram. Authenticate with a workspace API key: `Authorization: Bearer cbst_live_…`. A test-mode key (`cbst_test_…`) works on an isolated sandbox with simulated accounts and money; its responses carry `X-Livemode: false` and `livemode: false`. Errors use `{ error: { code, message, details } }`. Lists use cursor pagination (`limit`, `cursor` → `has_more`, `next_cursor`). Rate limits are per workspace, plus an optional limit per key, and reported in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. Creator data (marketplace profiles and stats) may be used only to evaluate and book creators on the platform: don't store it beyond that purpose, build profiles from it, or sell, license or share it."},"servers":[{"url":"https://sqa.coboost.ai/api"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Workspace","description":"The workspace behind the API key, its plan and usage."},{"name":"Billing","description":"The workspace's plan, subscription, limits and usage (read-only: plan changes happen in the app, at `upgrade_url`)."},{"name":"Members","description":"The workspace's members and invitations."},{"name":"Webhooks","description":"Endpoints that receive signed events (placements, campaigns, payouts…) as they happen."},{"name":"Catalog","description":"Ad formats and caption templates, with plan and workspace availability applied. Create and publish your own templates."},{"name":"Campaigns","description":"Advertiser campaigns: create, edit, launch, pause and preview matching creators."},{"name":"Creatives","description":"Ad creatives (caption, hashtags, media) attached to campaigns, the media library, and Unsplash stock photos to add to it."},{"name":"Unique posts","description":"Per-creator variants: with unique posts on, every creator gets a post with its own angle, caption and design. Review, edit, rewrite or approve them."},{"name":"Brand kits","description":"A workspace's visual identity (colors, fonts, logos, handle) applied to designs and unique-post visuals."},{"name":"Design studio","description":"Design templates, slide layouts and designs: branded carousels, posts and stories written with AI and exported to images, PDFs or creatives."},{"name":"Placements","description":"Ad slots on creator accounts: the review inbox for creators and delivery tracking for advertisers, the messages and files between the two sides, and a PDF summary of a booked deal."},{"name":"Opportunities","description":"Creator side of open campaigns: offers with a set price per post that your accounts can accept."},{"name":"Requests","description":"Advertiser side of direct requests and open-campaign applications: send, negotiate and review."},{"name":"Accounts","description":"Connected creator accounts, their ad policy, requirements and rate cards."},{"name":"Marketplace","description":"Search listed creator accounts."},{"name":"Personas","description":"Brand voices used by AI content generation."},{"name":"AI","description":"Plan grounded post concepts from a brief (research, then concepts you can open as designs), generate captions, hashtags, scripts and ideas, and generate images into the media library. Text generations route automatically (your own key, else platform models with fallbacks); list models with `GET /v1/ai/models` and pass a `ref` as `model` to pick one. Images route the same way, with their own model list under `images`."},{"name":"Analytics","description":"Performance reporting."},{"name":"Wallet","description":"Balances and the transaction ledger."},{"name":"Payouts","description":"Creator withdrawals: request one from the available balance, list them, and cancel one before it's paid."},{"name":"Disputes","description":"Problems with a booked post. Opening one freezes the creator's earning until the platform team resolves it."},{"name":"Reviews","description":"Double-blind ratings after a completed post: each side rates the other from 1 to 5, and both reviews publish once both are in or the review window closes."},{"name":"Reference data","description":"Valid keys for categories, countries, objectives and decline reasons."},{"name":"Test mode","description":"Only for test-mode keys (`cbst_test_…`): add simulated money and AI credits to your sandbox. See the test mode guide."},{"name":"Help center","description":"The platform's published help articles: how-to guides for creators, advertisers and teams, searchable and readable as Markdown."}],"paths":{"/v1/me":{"get":{"operationId":"me.get","summary":"Get the authenticated workspace","description":"Returns the workspace (its profile and the `sides` it runs: creator, advertiser or both; edit the profile with `PATCH /v1/workspace`), plan, limits and feature flags the API key belongs to, plus the key's scopes and effective permissions: the scopes' permissions, limited to the creating member's role and to the workspace's sides. Endpoints of a side the workspace doesn't run return 403. `side_required` is true when the workspace runs both sides: list endpoints with a `side` parameter (`GET /v1/placements`, `GET /v1/analytics`) then need it, otherwise it defaults to `default_side`. `api_key.rate_limit_per_minute` is the limit this key is held to on top of the plan's, or null when only the plan's applies; a test key without its own limit shows the platform's default for test keys. Over MCP, an AI app connected by signing in (OAuth) gets `api_key: null` and `connected_app` instead: the app's name and client id, the scopes the member approved and when they connected it. `hints` are plain-language notes on using the API with this workspace. Use it to verify a key.","tags":["Workspace"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"workspace_identity","workspace":{"id":"cmf0ws0001","name":"Lumen Skincare","slug":"lumen-skincare","creator_enabled":false,"advertiser_enabled":true,"sides":["advertiser"],"currency":"USD","timezone":"America/New_York","logo_url":"https://lumen.example/logo.png","website":"https://lumen.example","instagram_handle":"lumen.skincare","description":"Science-backed skincare without the jargon.","industry":"beauty","country":"US"},"plan":{"key":"pro","name":"Pro"},"api_key":{"id":"cmf0key001","name":"Production","prefix":"cbst_live_8fQ2","scopes":["placements:read","placements:write"],"expires_at":null,"rate_limit_per_minute":null},"connected_app":null,"permissions":["accounts.read","campaigns.read","placements.review"],"features":{"api":true,"mcp":true,"webhooks":true},"limits":{"api_requests_per_minute":300,"webhook_endpoints":10,"active_campaigns":50},"default_side":"advertiser","side_required":false,"hints":["`GET /v1/placements` and `GET /v1/analytics` take a `side` (`creator` or `advertiser`). It defaults to the workspace's only side; a workspace that runs both sides must pass it (422 otherwise)."]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":[],"x-mcp-tool":"whoami"}},"/v1/usage":{"get":{"operationId":"usage.get","summary":"Get usage and AI credits","description":"AI credit balance and metered usage (API requests, MCP tool calls, AI generations) for the current billing period. Limits of -1 mean unlimited. During a trial of a paid plan that nothing has paid for yet, `monthly_allowance` is the trial's AI credit allowance until the first payment. Needs the `billing:read` or `wallet:read` scope and a role with billing access, like the app's usage page.\n\nRequired scope: `billing:read` or `wallet:read`.","tags":["Workspace"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"usage","period":"2026-10","ai_credits":{"balance":2840,"monthly_allowance":3000},"metrics":{"api_requests":1204,"mcp_calls":87,"ai_generations":160},"limits":{"api_requests_per_minute":300}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["billing:read","wallet:read"],"x-mcp-tool":"get_usage"}},"/v1/formats":{"get":{"operationId":"formats.list","summary":"List ad formats","description":"Every ad format with its effective availability for this workspace after platform, plan and workspace controls. `can_launch` is false for `draft_only` and `disabled` formats.\n\nRequired scope: `templates:read`.","tags":["Catalog"],"parameters":[{"name":"platform","in":"query","required":false,"description":"Filter by platform","schema":{"type":"string","enum":["instagram"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"key":"ig_reel","object":"format","platform":"instagram","name":"Reel","description":"Vertical video up to 90s","specs":{"mediaTypes":["video"],"aspectRatios":["9:16"]},"availability":"enabled","can_launch":true,"restricted_by":null,"reason":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:read"],"x-mcp-tool":"list_formats"}},"/v1/templates":{"get":{"operationId":"templates.list","summary":"List templates","description":"Platform and workspace templates visible to this workspace, each with its effective availability. Hidden templates are omitted; platform templates locked for this workspace (`availability: disabled`) return a short preview as their `content`.\n\nRequired scope: `templates:read`.","tags":["Catalog"],"parameters":[{"name":"format","in":"query","required":false,"description":"Filter by format key, e.g. `ig_reel`","schema":{"type":"string","maxLength":64}},{"name":"source","in":"query","required":false,"description":"Only platform or only workspace templates","schema":{"type":"string","enum":["platform","workspace"]}},{"name":"category","in":"query","required":false,"description":"Filter by content type key (see `GET /v1/reference/content_type`), e.g. `product_launch`","schema":{"type":"string","maxLength":64}},{"name":"search","in":"query","required":false,"description":"Case-insensitive match on name and description","schema":{"type":"string","maxLength":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0tpl001","object":"template","source":"platform","platform":"instagram","format":"ig_carousel","name":"Product launch carousel","description":"Five-slide launch story","category":"product_launch","status":"published","min_plan":null,"content":{"captionTemplate":"Meet {{product}}…","hashtags":["#launch"]},"thumbnail_url":null,"tags":[],"version":3,"availability":"enabled","reason":null,"updated_at":"2026-10-01T09:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:read"],"x-mcp-tool":"list_templates"},"post":{"operationId":"templates.create","summary":"Create a template","description":"Creates a workspace caption template as a `draft` (or `published` right away). Counts toward the plan's template limit. Use `{{variables}}` in the caption; `POST /v1/creatives/render-template` fills them.\n\nRequired scope: `templates:write`.","tags":["Catalog"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":80},"description":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"format":{"type":"string","minLength":1,"maxLength":40,"description":"Format key, e.g. `ig_carousel` (see `GET /v1/formats`)"},"category":{"description":"`content_type` reference key","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"tags":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"content":{"type":"object","properties":{"caption_template":{"type":"string","maxLength":2200,"description":"Caption with `{{variables}}`"},"hashtags":{"maxItems":30,"type":"array","items":{"type":"string","maxLength":101}},"cta":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"variables":{"description":"Declared variables; undeclared `{{keys}}` in the caption are added automatically","maxItems":30,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","maxLength":40,"description":"Used as `{{key}}` in the caption"},"label":{"type":"string","maxLength":60},"default":{"type":"string","maxLength":300}},"required":["key"]}},"media_guidance":{"description":"Notes on visuals for whoever makes the media","type":"string","maxLength":1000}},"required":["caption_template"],"description":"Caption structure, hashtags, CTA and media guidance"},"status":{"default":"draft","type":"string","enum":["draft","published"]}},"required":["name","format","content"]},"example":{"name":"Launch carousel","format":"ig_carousel","category":"product_launch","content":{"caption_template":"Meet {{product}}. {{benefit}}","hashtags":["launch"],"cta":"Shop now"}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0tpl009","object":"template","source":"workspace","platform":"instagram","format":"ig_carousel","name":"Launch carousel","description":"Five slides: hook, problem, product, proof, offer","category":"product_launch","status":"draft","min_plan":null,"content":{"captionTemplate":"Meet {{product}}. {{benefit}}","hashtags":["launch"],"cta":"Shop now","variables":[{"key":"product","label":"Product","default":""},{"key":"benefit","label":"Benefit","default":""}]},"thumbnail_url":null,"tags":["launch"],"version":1,"availability":"draft_only","reason":null,"updated_at":"2026-11-01T10:00:00.000Z","editable":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:write"],"x-mcp-tool":"create_template"}},"/v1/billing/subscription":{"get":{"operationId":"billing.subscription.get","summary":"Get the subscription","description":"The workspace's plan and subscription: status, billing interval, current period, trial end, whether it cancels at period end and whether Stripe manages it, plus the limits in effect, usage against each limit (`-1` = unlimited, `used: null` = not metered) and the AI credit balance. `plan.price_cents` is what each payment for the plan is before discounts, for every seat Stripe bills (a subscription billed per seat pays the seat price times its seats): a subscription keeps the price it signed up at when the plan is re-priced, so it can differ from `plan.list_price_cents`, the plan's price now for one seat of a new subscription on the same `interval`. `discount_cents` is what the promo code on the subscription takes off each payment now (0 for none). When a lapsed subscription falls back to the default plan, `entitlement.fallback` is true (`fallback_reason` says why) and `limits` are the fallback plan's. During a trial nothing has paid for yet (`trialing`, with the trial running to the end of the current period), `limits.ai_credits_monthly` and `ai_credits.allowance` are the trial's AI credit allowance: the plan's own starts with the first payment. A trial added to a period that's already paid keeps the plan's allowance. `trial.eligible` says whether upgrading this workspace to a plan with a free trial would start one. Each person gets one trial across the workspaces they own, so it's false when `trial.reason` is `workspace` (this workspace already had a trial or paid for a plan) or `person` (an owner of the workspace, or the member who created the key, already had theirs in another workspace); the app's billing page then offers to subscribe without one. Read-only: plans can't be changed over the API or MCP; send the person to `upgrade_url` (accepts `?plan=<key>&interval=month|year`). Needs the `billing:read` scope and a role with billing access.\n\nRequired scope: `billing:read`.","tags":["Billing"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"subscription","plan":{"key":"pro","name":"Pro","price_cents":9900,"list_price_cents":11900,"currency":"USD"},"discount_cents":1980,"status":"active","interval":"month","current_period_start":"2026-10-04T00:00:00.000Z","current_period_end":"2026-11-04T00:00:00.000Z","trial_ends_at":null,"cancel_at_period_end":false,"canceled_at":null,"managed_by_stripe":true,"entitlement":{"effective_plan":{"key":"pro","name":"Pro"},"fallback":false,"fallback_reason":null,"past_due_grace_ends_at":null},"limits":{"seats":20,"social_accounts":25,"active_campaigns":50,"ai_credits_monthly":3000,"api_requests_per_minute":300,"brand_kits":5,"designs":-1},"usage":{"seats":{"used":3,"limit":20},"social_accounts":{"used":0,"limit":25},"active_campaigns":{"used":4,"limit":50},"brand_kits":{"used":1,"limit":5}},"ai_credits":{"balance":2840,"allowance":3000,"allowance_remaining":2600,"carry_over":240},"over_limit":null,"trial":{"eligible":false,"reason":"workspace"},"upgrade_url":"https://coboost.ai/billing/upgrade"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["billing:read"],"x-mcp-tool":"get_subscription"}},"/v1/workspace":{"get":{"operationId":"workspace.get","summary":"Get the workspace profile","description":"The workspace's profile: name, logo, website, Instagram username, description, industry, country and time zone, the sides it runs and whether it's a verified advertiser (`advertiser_verified`; details at `GET /v1/workspace/verification`).","tags":["Workspace"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0ws0001","object":"workspace","name":"Lumen Skincare","slug":"lumen-skincare","logo_url":"https://lumen.example/logo.png","website":"https://lumen.example","instagram_handle":"lumen.skincare","description":"Science-backed skincare without the jargon.","industry":"beauty","country":"US","timezone":"America/New_York","creator_enabled":false,"advertiser_enabled":true,"advertiser_verified":true,"sides":["advertiser"],"created_at":"2026-09-01T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":[],"x-mcp-tool":"get_workspace"},"patch":{"operationId":"workspace.update","summary":"Update the workspace profile","description":"Update profile fields; omitted fields keep their values and `null` or `\"\"` clears one (the name and country can't be cleared). `industry` is an `ad_category` key and `country` a `country` key (see `GET /v1/reference/{list}`). The Instagram username is invited as collaborator on collab posts. The URL, sides and billing stay in the app. Creators see a verified advertiser's name and website next to its badge, so giving a verified workspace a new `name` or `website` puts it back in review: the response has `advertiser_verified: false`, and `GET /v1/workspace/verification` says `pending` until the platform team approves it again. Letter case and spacing in the name, and `http` or `https`, `www.` or a trailing slash on the website, don't count as a change.\n\nRequired scope: `workspace:write`.","tags":["Workspace"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":60},"logo_url":{"description":"https:// image URL or a media library path (`/uploads/…`)","anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"website":{"description":"https:// URL","anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"instagram_handle":{"description":"Instagram username, with or without @","anyOf":[{"type":"string","maxLength":31},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"industry":{"description":"`ad_category` reference key","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"country":{"description":"ISO country code (`country` reference key); required on every workspace, so it can be changed but not cleared","type":"string","minLength":2,"maxLength":2},"timezone":{"description":"IANA time zone, e.g. `Europe/Paris`","type":"string","maxLength":64}}},"example":{"website":"https://lumen.example","instagram_handle":"lumen.skincare","timezone":"America/New_York"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0ws0001","object":"workspace","name":"Lumen Skincare","slug":"lumen-skincare","logo_url":"https://lumen.example/logo.png","website":"https://lumen.example","instagram_handle":"lumen.skincare","description":"Science-backed skincare without the jargon.","industry":"beauty","country":"US","timezone":"America/New_York","creator_enabled":false,"advertiser_enabled":true,"advertiser_verified":true,"sides":["advertiser"],"created_at":"2026-09-01T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["workspace:write"],"x-mcp-tool":"update_workspace"}},"/v1/members":{"get":{"operationId":"members.list","summary":"List members","description":"Everyone in the workspace with their role, access scope, teams and status, oldest first.\n\nRequired scope: `members:read`.","tags":["Members"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0mem001","object":"member","user_id":"cmf0usr001","name":"Jordan Lee","email":"jordan@lumen.example","role":{"id":"cmf0rol001","key":"admin","name":"Admin","is_system":true,"is_owner":false},"access_scope":"all","status":"active","teams":[],"two_factor_enabled":true,"joined_at":"2026-09-01T10:00:00.000Z","last_active_at":"2026-10-30T08:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["members:read"],"x-mcp-tool":"list_members"}},"/v1/invitations":{"get":{"operationId":"invitations.list","summary":"List invitations","description":"Pending and expired invitations, newest first. Pending invitations count toward the plan's seats.\n\nRequired scope: `members:read`.","tags":["Members"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0inv001","object":"invitation","email":"sam@lumen.example","role":{"id":"cmf0rol003","name":"Member"},"status":"pending","access_scope":"all","teams":[],"invited_by":"Jordan Lee","expires_at":"2026-11-08T10:00:00.000Z","created_at":"2026-11-01T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["members:read"],"x-mcp-tool":"list_invitations"},"post":{"operationId":"invitations.create","summary":"Invite members","description":"Emails an invitation to each address (up to 50). Re-inviting a pending address replaces its invitation. You can only grant roles whose permissions the key's creator holds, and never Owner; custom roles and team-scoped access depend on the plan. If the key's creator is team-scoped, invitations must use `access_scope: teams` with teams they belong to. Invitees must sign in with the invited email, and it must be verified, to join. The key's creator must have verified their own email. Invitation emails are limited per workspace and per key creator each hour (429 past either, with nothing created or sent), and per address each day: an address past that still gets its invitation, with `email_sent: false` and its `invite_url` for you to send. `invite_url` is null for invitations we emailed. Inviting to a role that can manage members or payouts (Admin and Billing among the system roles) asks the member for their password in the app, so a key can't do it while the platform asks for that confirmation: it returns 403 `forbidden`. Such an invitation emails every owner of the workspace and whoever sent it a security notice, and the owners again when it is accepted.\n\nRequired scope: `members:write`.","tags":["Members"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"emails":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","maxLength":254}},"role":{"type":"string","minLength":1,"maxLength":64,"description":"System role key (`admin`, `manager`, `member`, `billing`, `viewer`) or a custom role id"},"access_scope":{"default":"all","description":"`teams`: only the teams in `team_ids` (plan feature)","type":"string","enum":["all","teams"]},"team_ids":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}},"required":["emails","role"]},"example":{"emails":["sam@lumen.example"],"role":"member"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0inv001","object":"invitation","email":"sam@lumen.example","role":{"id":"cmf0rol003","name":"Member"},"status":"pending","access_scope":"all","teams":[],"invited_by":"Jordan Lee","expires_at":"2026-11-08T10:00:00.000Z","created_at":"2026-11-01T10:00:00.000Z","email_sent":true,"invite_url":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["members:write"],"x-live-mode-only":"Invitations email real people.","x-mcp-tool":"invite_members"}},"/v1/invitations/{id}/resend":{"post":{"operationId":"invitations.resend","summary":"Resend an invitation","description":"Emails a pending or expired invitation again with a fresh link, which starts the invitation's lifetime again (`expires_at`). Earlier links stop working. Re-activating an expired invitation needs a free seat; you can only resend invitations for roles you could grant. Resends count toward the same email limits as new invitations; past the per-address limit a resend is refused (429) and the link already sent keeps working. An invitation to a role that can manage members or payouts (Admin and Billing among the system roles) is resent in the app, with the member's password: a key gets 403 `forbidden` while the platform asks for that confirmation.\n\nRequired scope: `members:write`.","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"Invitation ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0inv001","object":"invitation","email":"sam@lumen.example","role":{"id":"cmf0rol003","name":"Member"},"status":"pending","access_scope":"all","teams":[],"invited_by":"Jordan Lee","expires_at":"2026-11-08T10:00:00.000Z","created_at":"2026-11-01T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["members:write"],"x-live-mode-only":"Invitations email real people.","x-mcp-tool":"resend_invitation"}},"/v1/invitations/{id}":{"delete":{"operationId":"invitations.revoke","summary":"Revoke an invitation","description":"Cancels a pending or expired invitation: its link stops working and the seat is freed. Accepted invitations can't be revoked; remove the member instead.\n\nRequired scope: `members:write`.","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"Invitation ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0inv001","object":"invitation","revoked":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["members:write"],"x-live-mode-only":"A sandbox has no members or invitations.","x-mcp-tool":"revoke_invitation"}},"/v1/members/{id}":{"patch":{"operationId":"members.update","summary":"Update a member","description":"Change a member's role, access scope or teams. Omitted fields keep their values. You can only grant roles whose permissions the key's creator holds, and never Owner; owners' access can only be changed in the app, by another owner. A key can't change its own creator's membership. Pending invitations the member sent that they couldn't send with their new access (for a role their new role can't grant, or reaching beyond the teams they're now limited to) are revoked: they leave `GET /v1/invitations` and stop holding seats. If the change takes away what let them copy the calendar link (the permission to change workspace settings, or access to the whole workspace), the link is reset, so a copy they kept stops working. Returns 409 `conflict` when the member's role changed while the request was running: read the member again and retry. Moving a member to a role that can manage members or payouts (Admin and Billing among the system roles) is done in the app, with the member's password: a key gets 403 `forbidden` while the platform asks for that confirmation. Changing only their access scope or teams still works.\n\nRequired scope: `members:write`.","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"Member ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"description":"System role key (`admin`, `manager`, `member`, `billing`, `viewer`) or a custom role id","type":"string","minLength":1,"maxLength":64},"access_scope":{"description":"`teams`: only the teams in `team_ids` (plan feature)","type":"string","enum":["all","teams"]},"team_ids":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}}},"example":{"role":"manager"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0mem001","object":"member","user_id":"cmf0usr001","name":"Jordan Lee","email":"jordan@lumen.example","role":{"id":"cmf0rol002","key":"manager","name":"Manager","is_system":true,"is_owner":false},"access_scope":"all","status":"active","teams":[],"two_factor_enabled":true,"joined_at":"2026-09-01T10:00:00.000Z","last_active_at":"2026-10-30T08:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["members:write"],"x-live-mode-only":"A sandbox has no members.","x-mcp-tool":"update_member"},"delete":{"operationId":"members.remove","summary":"Remove a member","description":"Removes someone from the workspace: they lose access immediately and API keys they created are revoked. If they could copy the calendar link (or made it), it's reset, so a copy they kept stops working. The last owner can't be removed, owners can only be removed in the app by another owner, and a key can't remove its own creator.\n\nRequired scope: `members:write`.","tags":["Members"],"parameters":[{"name":"id","in":"path","required":true,"description":"Member ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0mem001","object":"member","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["members:write"],"x-live-mode-only":"A sandbox has no members.","x-mcp-tool":"remove_member"}},"/v1/webhooks":{"get":{"operationId":"webhooks.list","summary":"List webhook endpoints","description":"Webhook endpoints with their subscribed events and the last 7 days of delivery counts. Secrets are never returned here; `previous_secret_expires_at` says until when a rotated secret still signs deliveries. Webhooks carry every team's events, so keys whose creator is team-scoped get 403 on every webhook endpoint.\n\nRequired scope: `webhooks:write`.","tags":["Webhooks"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0whk001","object":"webhook_endpoint","url":"https://hooks.lumen.example/coboost","description":"Placement updates","events":["placement.approved","placement.published"],"enabled":true,"failure_count":0,"previous_secret_expires_at":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-01T10:00:00.000Z","stats_7d":{"succeeded":42,"failed":0,"pending":1}}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["webhooks:write"],"x-mcp-tool":"list_webhooks"},"post":{"operationId":"webhooks.create","summary":"Create a webhook endpoint","description":"Registers an https:// endpoint for the given events. The signing `secret` is returned once, in this response: verify the `Coboost-Signature` header with it. Plan feature `webhooks`; counts toward the plan's endpoint limit.\n\nRequired scope: `webhooks:write`.","tags":["Webhooks"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2000,"description":"https:// URL that receives POSTed events"},"description":{"type":"string","maxLength":200},"events":{"minItems":1,"maxItems":47,"type":"array","items":{"type":"string","maxLength":64},"description":"Event types to receive, or `[\"*\"]` for every event (events of a side the workspace doesn't run are refused)"}},"required":["url","events"]},"example":{"url":"https://hooks.lumen.example/coboost","events":["placement.approved","placement.published"],"description":"Placement updates"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0whk001","object":"webhook_endpoint","url":"https://hooks.lumen.example/coboost","description":"Placement updates","events":["placement.approved","placement.published"],"enabled":true,"failure_count":0,"previous_secret_expires_at":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-01T10:00:00.000Z","secret":"whsec_8fQ2…"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["webhooks:write"],"x-mcp-tool":"create_webhook"}},"/v1/webhooks/{id}":{"get":{"operationId":"webhooks.get","summary":"Get a webhook endpoint","description":"One webhook endpoint (without its secret).\n\nRequired scope: `webhooks:write`.","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"description":"Webhook endpoint ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0whk001","object":"webhook_endpoint","url":"https://hooks.lumen.example/coboost","description":"Placement updates","events":["placement.approved","placement.published"],"enabled":true,"failure_count":0,"previous_secret_expires_at":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-01T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["webhooks:write"],"x-mcp-tool":"get_webhook"},"patch":{"operationId":"webhooks.update","summary":"Update a webhook endpoint","description":"Change the URL, description or events, or turn the endpoint on or off (`enabled`). Turning it back on resets the failure count. Omitted fields keep their values.\n\nRequired scope: `webhooks:write`.","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"description":"Webhook endpoint ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2000},"description":{"type":"string","maxLength":200},"events":{"minItems":1,"maxItems":47,"type":"array","items":{"type":"string","maxLength":64},"description":"Event types to receive, or `[\"*\"]` for every event (events of a side the workspace doesn't run are refused)"},"enabled":{"type":"boolean"}}},"example":{"events":["*"],"enabled":true}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0whk001","object":"webhook_endpoint","url":"https://hooks.lumen.example/coboost","description":"Placement updates","events":["*"],"enabled":true,"failure_count":0,"previous_secret_expires_at":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-01T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["webhooks:write"],"x-mcp-tool":"update_webhook"},"delete":{"operationId":"webhooks.delete","summary":"Delete a webhook endpoint","description":"Deletes the endpoint and its delivery history. Pending retries are dropped.\n\nRequired scope: `webhooks:write`.","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"description":"Webhook endpoint ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0whk001","object":"webhook_endpoint","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["webhooks:write"],"x-mcp-tool":"delete_webhook"}},"/v1/webhooks/{id}/test":{"post":{"operationId":"webhooks.test","summary":"Send a test event","description":"Sends a signed `webhook.test` event to the endpoint now and returns the outcome. Test deliveries aren't retried and don't count toward auto-disable. A workspace can send a few a minute to each endpoint, and they wait their turn behind deliveries the endpoint is still answering: past either, the answer is 429 `rate_limited` with a `Retry-After` header and nothing is sent.\n\nRequired scope: `webhooks:write`.","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"description":"Webhook endpoint ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"webhook_test","delivery_id":"cmf0dlv001","ok":true,"status":200,"error":null,"duration_ms":182}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["webhooks:write"],"x-mcp-tool":"test_webhook"}},"/v1/webhooks/{id}/rotate-secret":{"post":{"operationId":"webhooks.rotate_secret","summary":"Rotate the signing secret","description":"Gives the endpoint a new signing `secret`, returned once, in this response. The secret it replaces keeps signing deliveries beside the new one until `previous_secret_expires_at`, a grace period the platform sets: meanwhile the `Coboost-Signature` header carries a `v1` for each secret (the new one last), so an endpoint that accepts any matching `v1` keeps accepting events while you switch it to the new one. One that checks a single `v1` rejects deliveries for part of that time, so update it first: if it reads the last `v1` (the new secret's), from the rotation until it uses the new secret; if it reads the first (the old secret's), from when it switches to the new secret until `previous_secret_expires_at`. Send `expire_previous: true` for a leaked secret and the old one stops at once; `previous_secret_expires_at` is then null, as it is when the platform sets no grace period. Rotating again during a grace period stops the older secret at once.\n\nRequired scope: `webhooks:write`.","tags":["Webhooks"],"parameters":[{"name":"id","in":"path","required":true,"description":"Webhook endpoint ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expire_previous":{"description":"Stop the old secret at once instead of after the grace period, for a leaked secret (default false)","type":"boolean"}}},"example":{"expire_previous":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0whk001","object":"webhook_endpoint","url":"https://hooks.lumen.example/coboost","description":"Placement updates","events":["placement.approved","placement.published"],"enabled":true,"failure_count":0,"previous_secret_expires_at":"2026-10-02T10:00:00.000Z","created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-01T10:00:00.000Z","secret":"whsec_Q7nM…"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["webhooks:write"],"x-mcp-tool":"rotate_webhook_secret"}},"/v1/templates/{id}":{"get":{"operationId":"templates.get","summary":"Get a template","description":"One platform or workspace template with its availability. `editable` is true for the workspace's own templates. A platform template locked for this workspace (`availability: disabled`) returns a short preview as its `content`. `availability: draft_only` is a label on templates: it doesn't limit launching.\n\nRequired scope: `templates:read`.","tags":["Catalog"],"parameters":[{"name":"id","in":"path","required":true,"description":"Template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0tpl009","object":"template","source":"workspace","platform":"instagram","format":"ig_carousel","name":"Launch carousel","description":"Five slides: hook, problem, product, proof, offer","category":"product_launch","status":"draft","min_plan":null,"content":{"captionTemplate":"Meet {{product}}. {{benefit}}","hashtags":["launch"],"cta":"Shop now","variables":[{"key":"product","label":"Product","default":""},{"key":"benefit","label":"Benefit","default":""}]},"thumbnail_url":null,"tags":["launch"],"version":1,"availability":"draft_only","reason":null,"updated_at":"2026-11-01T10:00:00.000Z","editable":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:read"],"x-mcp-tool":"get_template"},"patch":{"operationId":"templates.update","summary":"Update a template","description":"Edit a workspace template; omitted fields keep their values, including the keys left out of `content` and the slide or scene structure set in the app. Content changes create a new version. Platform templates are read-only: duplicate one in the app to edit it.\n\nRequired scope: `templates:write`.","tags":["Catalog"],"parameters":[{"name":"id","in":"path","required":true,"description":"Template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":80},"description":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"format":{"type":"string","minLength":1,"maxLength":40,"description":"Format key, e.g. `ig_carousel` (see `GET /v1/formats`)"},"category":{"description":"`content_type` reference key","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"tags":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"content":{"type":"object","properties":{"caption_template":{"type":"string","maxLength":2200,"description":"Caption with `{{variables}}`"},"hashtags":{"maxItems":30,"type":"array","items":{"type":"string","maxLength":101}},"cta":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"variables":{"description":"Declared variables; undeclared `{{keys}}` in the caption are added automatically","maxItems":30,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","maxLength":40,"description":"Used as `{{key}}` in the caption"},"label":{"type":"string","maxLength":60},"default":{"type":"string","maxLength":300}},"required":["key"]}},"media_guidance":{"description":"Notes on visuals for whoever makes the media","type":"string","maxLength":1000}},"description":"Caption structure, hashtags, CTA and media guidance. Only the keys you send change; the rest keep their values, and so does the slide or scene structure set in the app"}}},"example":{"name":"Launch carousel v2","content":{"caption_template":"{{product}} is here. {{benefit}}"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0tpl009","object":"template","source":"workspace","platform":"instagram","format":"ig_carousel","name":"Launch carousel","description":"Five slides: hook, problem, product, proof, offer","category":"product_launch","status":"draft","min_plan":null,"content":{"captionTemplate":"Meet {{product}}. {{benefit}}","hashtags":["launch"],"cta":"Shop now","variables":[{"key":"product","label":"Product","default":""},{"key":"benefit","label":"Benefit","default":""}]},"thumbnail_url":null,"tags":["launch"],"version":2,"availability":"draft_only","reason":null,"updated_at":"2026-11-01T10:00:00.000Z","editable":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:write"],"x-mcp-tool":"update_template"},"delete":{"operationId":"templates.delete","summary":"Delete a template","description":"Permanently deletes an archived workspace template and its versions.\n\nRequired scope: `templates:write`.","tags":["Catalog"],"parameters":[{"name":"id","in":"path","required":true,"description":"Template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0tpl009","object":"template","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:write"],"x-mcp-tool":"delete_template"}},"/v1/templates/{id}/publish":{"post":{"operationId":"templates.publish","summary":"Publish a template","description":"Makes a workspace template available for creatives (from `draft`, or restores an archived one). The format must be enabled for the workspace.\n\nRequired scope: `templates:write`.","tags":["Catalog"],"parameters":[{"name":"id","in":"path","required":true,"description":"Template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0tpl009","object":"template","source":"workspace","platform":"instagram","format":"ig_carousel","name":"Launch carousel","description":"Five slides: hook, problem, product, proof, offer","category":"product_launch","status":"published","min_plan":null,"content":{"captionTemplate":"Meet {{product}}. {{benefit}}","hashtags":["launch"],"cta":"Shop now","variables":[{"key":"product","label":"Product","default":""},{"key":"benefit","label":"Benefit","default":""}]},"thumbnail_url":null,"tags":["launch"],"version":1,"availability":"enabled","reason":null,"updated_at":"2026-11-01T10:00:00.000Z","editable":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:write"],"x-mcp-tool":"publish_template"}},"/v1/templates/{id}/unpublish":{"post":{"operationId":"templates.unpublish","summary":"Move a template back to draft","description":"Turns a published or archived workspace template back into a draft.\n\nRequired scope: `templates:write`.","tags":["Catalog"],"parameters":[{"name":"id","in":"path","required":true,"description":"Template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0tpl009","object":"template","source":"workspace","platform":"instagram","format":"ig_carousel","name":"Launch carousel","description":"Five slides: hook, problem, product, proof, offer","category":"product_launch","status":"draft","min_plan":null,"content":{"captionTemplate":"Meet {{product}}. {{benefit}}","hashtags":["launch"],"cta":"Shop now","variables":[{"key":"product","label":"Product","default":""},{"key":"benefit","label":"Benefit","default":""}]},"thumbnail_url":null,"tags":["launch"],"version":1,"availability":"draft_only","reason":null,"updated_at":"2026-11-01T10:00:00.000Z","editable":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:write"],"x-mcp-tool":"unpublish_template"}},"/v1/templates/{id}/archive":{"post":{"operationId":"templates.archive","summary":"Archive a template","description":"Hides a workspace template from pickers. Creatives that used it keep their content. Archived templates can be published again or deleted.\n\nRequired scope: `templates:write`.","tags":["Catalog"],"parameters":[{"name":"id","in":"path","required":true,"description":"Template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0tpl009","object":"template","source":"workspace","platform":"instagram","format":"ig_carousel","name":"Launch carousel","description":"Five slides: hook, problem, product, proof, offer","category":"product_launch","status":"archived","min_plan":null,"content":{"captionTemplate":"Meet {{product}}. {{benefit}}","hashtags":["launch"],"cta":"Shop now","variables":[{"key":"product","label":"Product","default":""},{"key":"benefit","label":"Benefit","default":""}]},"thumbnail_url":null,"tags":["launch"],"version":1,"availability":"hidden","reason":null,"updated_at":"2026-11-01T10:00:00.000Z","editable":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:write"],"x-mcp-tool":"archive_template"}},"/v1/media":{"get":{"operationId":"media.list","summary":"List media","description":"Images and videos in the workspace's media library, newest first. Use an item's `id` as `media[].asset_id` and its `url` in a creative. To show a file, use `display_url`: for stock photos that's Unsplash's own image URL, as its guidelines require. `source` says where a file came from (`upload`, `ai` for generated images, `stock` for stock photos); stock photos carry the photographer's credit in `attribution`, to show wherever you show the photo. Each time you use a stock photo that's already in the library, call `POST /v1/stock-photos/{id}/add` with its `attribution.photo_id` so the download is counted.\n\nRequired scope: `creatives:read`.","tags":["Creatives"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"type","in":"query","required":false,"description":"","schema":{"type":"string","enum":["image","video"]}},{"name":"folder","in":"query","required":false,"description":"Folder name","schema":{"type":"string","maxLength":60}},{"name":"search","in":"query","required":false,"description":"Match on the file name","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0med001","object":"media","url":"https://coboost.ai/uploads/ws/serum.jpg","display_url":"https://coboost.ai/uploads/ws/serum.jpg","filename":"serum.jpg","type":"image","mime_type":"image/jpeg","size_bytes":248120,"width":1080,"height":1350,"duration_sec":null,"folder":"Autumn launch","source":"upload","attribution":null,"created_at":"2026-10-20T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"list_media"},"post":{"operationId":"media.create","summary":"Add media from a URL","description":"Downloads a public https:// image or video into the media library. Files are checked by content (JPEG, PNG, WebP, GIF, MP4, MOV, WebM) and size, and count toward the plan's storage. For videos, pass `width`, `height` and `duration_sec`. Several imports can run at once; each holds room for the file it downloads, and when too many large files are on their way at once it returns 429 `rate_limited` with a `Retry-After` header, before or during the download. Nothing is saved then: retry after that many seconds.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2000,"description":"Public https:// URL of the file"},"filename":{"type":"string","minLength":1,"maxLength":200},"folder":{"anyOf":[{"type":"string","minLength":1,"maxLength":60},{"type":"null"}]},"width":{"type":"integer","minimum":1,"maximum":20000},"height":{"type":"integer","minimum":1,"maximum":20000},"duration_sec":{"type":"number","minimum":0,"maximum":86400}},"required":["url"]},"example":{"url":"https://cdn.lumen.example/serum.jpg","folder":"Autumn launch"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0med001","object":"media","url":"https://coboost.ai/uploads/ws/serum.jpg","display_url":"https://coboost.ai/uploads/ws/serum.jpg","filename":"serum.jpg","type":"image","mime_type":"image/jpeg","size_bytes":248120,"width":1080,"height":1350,"duration_sec":null,"folder":"Autumn launch","source":"upload","attribution":null,"created_at":"2026-10-20T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"add_media_from_url"}},"/v1/media/{id}":{"get":{"operationId":"media.get","summary":"Get media","description":"One file from the media library, in the same shape as `GET /v1/media`. Use its `id` as `media[].asset_id` and its `url` in a creative.\n\nRequired scope: `creatives:read`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Media ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0med001","object":"media","url":"https://coboost.ai/uploads/ws/serum.jpg","display_url":"https://coboost.ai/uploads/ws/serum.jpg","filename":"serum.jpg","type":"image","mime_type":"image/jpeg","size_bytes":248120,"width":1080,"height":1350,"duration_sec":null,"folder":"Autumn launch","source":"upload","attribution":null,"created_at":"2026-10-20T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"get_media"},"delete":{"operationId":"media.delete","summary":"Delete media","description":"Deletes a file from the library. Refused while a ready creative, a design, a design template, a brand kit, the workspace logo or a booked post uses it.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Media ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0med001","object":"media","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"delete_media"}},"/v1/stock-photos":{"get":{"operationId":"stock_photos.search","summary":"Search stock photos","description":"Search free stock photos from Unsplash. Show results from `thumb_url` / `preview_url` (Unsplash's own image URLs) with `attribution_text` and its links (`photographer.url`, `source.url`), as Unsplash's guidelines require. To use a photo, add it with `POST /v1/stock-photos/{id}/add`: that saves a copy to the media library and counts the download with Unsplash. Pages of 24; `page` up to 50. Returns 403 `feature_unavailable` when stock photos are turned off for the platform. Requests are rate limited per workspace.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"q","in":"query","required":true,"description":"What to search for, e.g. `serum bottle`","schema":{"type":"string","minLength":1,"maxLength":100}},{"name":"page","in":"query","required":false,"description":"","schema":{"default":1,"type":"integer","minimum":1,"maximum":50}},{"name":"orientation","in":"query","required":false,"description":"","schema":{"type":"string","enum":["landscape","portrait","squarish"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"object":"stock_photo","id":"Zx81KqL0","width":4000,"height":5000,"color":"#d9c8b4","description":"Serum bottle on a linen cloth in morning light","thumb_url":"https://images.unsplash.com/photo-1600000000000?ixid=abc&w=400","preview_url":"https://images.unsplash.com/photo-1600000000000?ixid=abc&w=1080","photographer":{"name":"Anna Lee","username":"annaphoto","url":"https://unsplash.com/@annaphoto?utm_source=coboost&utm_medium=referral"},"photo_url":"https://unsplash.com/photos/Zx81KqL0?utm_source=coboost&utm_medium=referral","source":{"name":"Unsplash","url":"https://unsplash.com/?utm_source=coboost&utm_medium=referral"},"attribution_text":"Photo by Anna Lee on Unsplash"}],"page":1,"total_pages":12,"total":280,"has_more":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-live-mode-only":"Stock photo search calls Unsplash.","x-mcp-tool":"search_stock_photos"}},"/v1/stock-photos/{id}/add":{"post":{"operationId":"stock_photos.add","summary":"Add a stock photo","description":"Saves an Unsplash photo (an `id` from `GET /v1/stock-photos`) to the media library with the photographer's credit in `attribution`, and counts the download with Unsplash. A photo the workspace already added is returned again rather than stored twice, and its download is counted again, so call this each time a photo is used. Use the returned `id` and `url` in a design or creative. To show the photo, use `display_url` (Unsplash's own image URL) with `attribution.text` and its links.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Unsplash photo ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"folder":{"description":"Media library folder","anyOf":[{"type":"string","minLength":1,"maxLength":60},{"type":"null"}]}}},"example":{"folder":"Autumn launch"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0med002","object":"media","url":"https://coboost.ai/uploads/ws/unsplash-annaphoto-Zx81KqL0.jpg","display_url":"https://images.unsplash.com/photo-1600000000000?ixid=abc&w=1080","filename":"unsplash-annaphoto-Zx81KqL0.jpg","type":"image","mime_type":"image/jpeg","size_bytes":248120,"width":2160,"height":2700,"duration_sec":null,"folder":null,"source":"stock","attribution":{"provider":"unsplash","photo_id":"Zx81KqL0","photographer_name":"Anna Lee","photographer_username":"annaphoto","photographer_url":"https://unsplash.com/@annaphoto?utm_source=coboost&utm_medium=referral","photo_url":"https://unsplash.com/photos/Zx81KqL0?utm_source=coboost&utm_medium=referral","source_name":"Unsplash","source_url":"https://unsplash.com/?utm_source=coboost&utm_medium=referral","text":"Photo by Anna Lee on Unsplash"},"created_at":"2026-10-20T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-live-mode-only":"Stock photo search calls Unsplash.","x-mcp-tool":"add_stock_photo"}},"/v1/campaigns":{"get":{"operationId":"campaigns.list","summary":"List campaigns","description":"Campaigns in the workspace (team-scoped keys only see their teams'), most recently updated first. Archived campaigns are excluded unless `status=archived` or `status=all`.\n\nRequired scope: `campaigns:read`.","tags":["Campaigns"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"status","in":"query","required":false,"description":"A status, `live` (active, scheduled, pending review) or `all`","schema":{"type":"string","enum":["draft","pending_review","scheduled","active","paused","completed","canceled","archived","all","live"]}},{"name":"team_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"search","in":"query","required":false,"description":"Match on campaign name","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"active","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","placement_count":6,"live_placements":2,"reach":81200,"impressions":120400,"creative_count":2}],"has_more":false,"next_cursor":null,"total":1}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"list_campaigns"},"post":{"operationId":"campaigns.create","summary":"Create a campaign","description":"Creates a `draft` campaign. Add creatives, set a budget and launch it when ready. `type` picks how creators are reached: `targeted` (matched requests), `open` (an offer creators accept; the budget is escrowed at launch) or `direct` (hand-picked requests). Open campaigns, direct requests and collab posts depend on your plan. Audience demographics and hand-picked accounts require advanced targeting. The whole body is validated before anything is saved: if any field is rejected, no draft is created.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"type":{"default":"targeted","type":"string","enum":["targeted","open","direct"],"description":"`targeted` (default): requests go to matching creators at their rates. `open`: you set `offer_price_cents` and creators accept from their account. `direct`: you send hand-picked creators requests (`POST /v1/requests`). Can only change while a draft."},"objective":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$","description":"awareness | engagement | traffic | conversions | launch"},"category":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$","description":"Ad category used for creator policy matching, e.g. `beauty`"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"landing_url":{"description":"https:// URL","anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"utm":{"description":"Link tracking: UTM tags added to each post's link when someone follows it, such as `{ \"source\": \"instagram\", \"medium\": \"influencer\", \"campaign\": \"autumn_glow\" }`. Tag names are lowercase letters and underscores, with or without the `utm_` prefix (returned without it), up to 10 of them. Tags already in the post's link win. Whenever the link ends up with any `utm_` tag, these or ones in the link itself, each creator's username fills `utm_content` unless it's set, so your analytics can tell creators apart. Applied when the link is followed, so they can change while the campaign runs. Sending it replaces all of them; null or `{}` clears them.","anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":200}},{"type":"null"}]},"team_id":{"description":"Team that owns the campaign (each member's `teams` in `GET /v1/members` carry team ids). With no team, every member of the workspace sees it, so a key limited to teams can't create one without a team: a key limited to one team defaults to it, a key limited to several must name one (400 otherwise), and none can clear the team of a campaign that has one (403). Can change while the campaign runs.","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"persona_id":{"description":"Brand voice for AI-generated copy","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"budget_cents":{"type":"integer","minimum":0,"maximum":1000000000},"max_price_per_post_cents":{"anyOf":[{"type":"integer","minimum":100,"maximum":100000000},{"type":"null"}]},"offer_price_cents":{"description":"Open campaigns: price per post offered to every creator (at least the platform minimum)","anyOf":[{"type":"integer","minimum":100,"maximum":100000000},{"type":"null"}]},"acceptance_mode":{"description":"Open campaigns: `instant` books the slot when a creator accepts; `review` creates an application you approve or decline","type":"string","enum":["instant","review"]},"collab":{"description":"Posts are Instagram collab posts with your brand as collaborator (plan-gated)","type":"boolean"},"collab_handles":{"description":"Instagram usernames invited as collaborators (max 3)","maxItems":3,"type":"array","items":{"type":"string","maxLength":31}},"usage_rights":{"description":"Open campaigns: usage rights creators accept when they book. A creator who charges for them adds that to your offer, and the booking comes to you as an application showing the total. Creators who haven't set usage rights prices can't book a campaign that asks for usage rights until they do: `/matches` and `/readiness` don't count them as eligible, and say why. Set before launch; null clears them.","anyOf":[{"type":"object","properties":{"duration_days":{"description":"Days from publishing the advertiser may reuse the post","anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"channels":{"description":"Where it may be reused: keys from `GET /v1/reference/usage_channel`","maxItems":50,"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"}},"paid_amplification":{"description":"Whether the post may run as paid ads","type":"boolean"},"exclusivity_days":{"description":"Days the creator won't work with competing brands","anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}}},{"type":"null"}]},"start_date":{"description":"ISO date or datetime; null = start at launch","anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}]},{"type":"null"}]},"end_date":{"description":"ISO date or datetime; null = run until budget is spent","anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}]},{"type":"null"}]},"targeting":{"type":"object","properties":{"niches":{"description":"Creator niches, e.g. `beauty`, `fitness`","maxItems":20,"type":"array","items":{"type":"string","minLength":1}},"countries":{"description":"ISO country codes of the creator","maxItems":50,"type":"array","items":{"type":"string","minLength":2,"maxLength":2}},"languages":{"maxItems":20,"type":"array","items":{"type":"string","minLength":2,"maxLength":5}},"min_followers":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"max_followers":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"min_engagement":{"description":"Minimum engagement rate, percent","anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"audience_gender":{"description":"Advanced targeting (plan-gated)","anyOf":[{"type":"string","enum":["female","male","any"]},{"type":"null"}]},"audience_ages":{"description":"Advanced targeting, e.g. `18-24`","maxItems":10,"type":"array","items":{"type":"string"}},"include_account_ids":{"description":"Hand-picked accounts (advanced targeting)","maxItems":5000,"type":"array","items":{"type":"string","minLength":1}},"exclude_account_ids":{"description":"Accounts kept out of the campaign, hand-picked ones too. On an update, leaving it out keeps the current list and sending it (even `[]`) replaces it. On a running open campaign, change them with `POST /v1/campaigns/{id}/excluded-creators` and `DELETE /v1/campaigns/{id}/excluded-creators/{account_id}`","maxItems":5000,"type":"array","items":{"type":"string","minLength":1}},"max_placements":{"description":"Cap on placements for the campaign","anyOf":[{"type":"integer","minimum":1,"maximum":1000},{"type":"null"}]}},"description":"Which creator accounts the campaign matches"},"brand_kit_id":{"description":"Brand kit for designs and unique-post visuals (defaults to the workspace's default kit)","anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"sponsor_account_id":{"description":"The brand Instagram account the paid partnership label tags on this campaign's posts: one of your workspace's connected brand accounts (`purpose: brand` in `GET /v1/accounts`), of the campaign's team or of no team. Null tags no brand: posts still carry the paid partnership label. Left out on create, it defaults to the brand account named by the brand kit's handle, else the first of `collab_handles` that names one, else the workspace's Instagram handle; a campaign that gets none that way is given that account once it's connected (or moved to the campaign's team), until the campaign ends, and a `campaign.updated` webhook says so. Null, sent on create or later, keeps the campaign untagged when brand accounts are connected later. Can change while the campaign runs; posts already published keep the tag they went out with.","anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"variants_enabled":{"description":"Write a unique post for every creator (plan feature `creativeVariants`; needs `variant_config`)","type":"boolean"},"variant_config":{"description":"Unique posts per creator. Replaces the whole configuration when set; null clears it, which needs unique posts off (`variants_enabled: false`, before or in the same request)","anyOf":[{"type":"object","properties":{"angles":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"description":"`creative_angle` keys to rotate through (see `GET /v1/reference/creative_angle`)"},"design_template_ids":{"description":"Design templates rotated for image formats (see `GET /v1/design-templates`). Empty keeps the base creative's visuals","maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"caption_template_ids":{"description":"Caption templates used as structure (see `GET /v1/templates`)","maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"brief":{"type":"string","minLength":20,"maxLength":4000,"description":"What the product is, key messages and facts. Variants never claim anything outside it"},"must_include":{"description":"Locked elements every variant keeps","type":"object","properties":{"hashtags":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"mentions":{"maxItems":5,"type":"array","items":{"type":"string","minLength":1,"maxLength":31}},"cta":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"claims":{"description":"Approved claims: the only product claims variants may make","maxItems":10,"type":"array","items":{"type":"string","minLength":3,"maxLength":200}}}},"avoid":{"description":"Words, phrases or claims variants must never use","maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"tailor_to_creator":{"description":"Write for each creator's niche, audience and voice (default true)","type":"boolean"},"review":{"description":"`review` (default): approve each variant before the creator sees it. `auto`: sent as soon as it's written","type":"string","enum":["auto","review"]},"fallback_to_base":{"description":"Send the base creative when a variant can't be written (default true)","type":"boolean"},"slide_count":{"description":"Slides for carousel designs (default 5)","type":"integer","minimum":2,"maximum":10}},"required":["angles","brief"],"description":"Unique posts per creator. Replaces the whole configuration when set"},{"type":"null"}]}},"required":["name","objective","category"]},"example":{"name":"Autumn glow launch","objective":"launch","category":"beauty","budget_cents":500000,"max_price_per_post_cents":60000,"start_date":"2026-11-01","end_date":"2026-11-30","landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"active","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"create_campaign"}},"/v1/campaigns/{id}":{"get":{"operationId":"campaigns.get","summary":"Get a campaign","description":"A campaign with its creatives, its 50 most recent placements (with latest metrics and the short link each creator shares, null until a placement is booked), `placements_total`, the number of placements it has in any status (the list's `placement_count` leaves out canceled, rejected and expired ones), and performance totals over every placement. List every placement a page at a time with `GET /v1/placements?side=advertiser&campaign_id=`. Clicks count people who opened a placement's short link, once per person per day (bots and link previews excluded); `clicks` is null only when no post has a link.\n\nRequired scope: `campaigns:read`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"active","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"get_campaign"},"patch":{"operationId":"campaigns.update","summary":"Update a campaign","description":"Update any field of a draft or paused campaign. While a campaign is running only `name`, `description`, `landing_url`, `team_id`, `utm`, `budget_cents`, `end_date`, `persona_id`, `acceptance_mode`, `brand_kit_id`, `sponsor_account_id` and `variant_config` can change; the budget can't go below what's already committed. Raising a running campaign's budget, moving its `end_date` later or clearing it, and changing `acceptance_mode` also need the key creator's role to allow launching campaigns (403 `forbidden` otherwise). `variant_config` replaces the whole unique-posts configuration and applies to placements created afterwards. `targeting` replaces the whole targeting, except that leaving out `exclude_account_ids` keeps the creators you excluded: send it (even `[]`) to replace them.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"type":{"type":"string","enum":["targeted","open","direct"],"description":"`targeted` (default): requests go to matching creators at their rates. `open`: you set `offer_price_cents` and creators accept from their account. `direct`: you send hand-picked creators requests (`POST /v1/requests`). Can only change while a draft."},"objective":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$","description":"awareness | engagement | traffic | conversions | launch"},"category":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$","description":"Ad category used for creator policy matching, e.g. `beauty`"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"landing_url":{"description":"https:// URL","anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"utm":{"description":"Link tracking: UTM tags added to each post's link when someone follows it, such as `{ \"source\": \"instagram\", \"medium\": \"influencer\", \"campaign\": \"autumn_glow\" }`. Tag names are lowercase letters and underscores, with or without the `utm_` prefix (returned without it), up to 10 of them. Tags already in the post's link win. Whenever the link ends up with any `utm_` tag, these or ones in the link itself, each creator's username fills `utm_content` unless it's set, so your analytics can tell creators apart. Applied when the link is followed, so they can change while the campaign runs. Sending it replaces all of them; null or `{}` clears them.","anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":200}},{"type":"null"}]},"team_id":{"description":"Team that owns the campaign (each member's `teams` in `GET /v1/members` carry team ids). With no team, every member of the workspace sees it, so a key limited to teams can't create one without a team: a key limited to one team defaults to it, a key limited to several must name one (400 otherwise), and none can clear the team of a campaign that has one (403). Can change while the campaign runs.","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"persona_id":{"description":"Brand voice for AI-generated copy","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"budget_cents":{"type":"integer","minimum":0,"maximum":1000000000},"max_price_per_post_cents":{"anyOf":[{"type":"integer","minimum":100,"maximum":100000000},{"type":"null"}]},"offer_price_cents":{"description":"Open campaigns: price per post offered to every creator (at least the platform minimum)","anyOf":[{"type":"integer","minimum":100,"maximum":100000000},{"type":"null"}]},"acceptance_mode":{"description":"Open campaigns: `instant` books the slot when a creator accepts; `review` creates an application you approve or decline","type":"string","enum":["instant","review"]},"collab":{"description":"Posts are Instagram collab posts with your brand as collaborator (plan-gated)","type":"boolean"},"collab_handles":{"description":"Instagram usernames invited as collaborators (max 3)","maxItems":3,"type":"array","items":{"type":"string","maxLength":31}},"usage_rights":{"description":"Open campaigns: usage rights creators accept when they book. A creator who charges for them adds that to your offer, and the booking comes to you as an application showing the total. Creators who haven't set usage rights prices can't book a campaign that asks for usage rights until they do: `/matches` and `/readiness` don't count them as eligible, and say why. Set before launch; null clears them.","anyOf":[{"type":"object","properties":{"duration_days":{"description":"Days from publishing the advertiser may reuse the post","anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"channels":{"description":"Where it may be reused: keys from `GET /v1/reference/usage_channel`","maxItems":50,"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"}},"paid_amplification":{"description":"Whether the post may run as paid ads","type":"boolean"},"exclusivity_days":{"description":"Days the creator won't work with competing brands","anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}}},{"type":"null"}]},"start_date":{"description":"ISO date or datetime; null = start at launch","anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}]},{"type":"null"}]},"end_date":{"description":"ISO date or datetime; null = run until budget is spent","anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}]},{"type":"null"}]},"targeting":{"type":"object","properties":{"niches":{"description":"Creator niches, e.g. `beauty`, `fitness`","maxItems":20,"type":"array","items":{"type":"string","minLength":1}},"countries":{"description":"ISO country codes of the creator","maxItems":50,"type":"array","items":{"type":"string","minLength":2,"maxLength":2}},"languages":{"maxItems":20,"type":"array","items":{"type":"string","minLength":2,"maxLength":5}},"min_followers":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"max_followers":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"min_engagement":{"description":"Minimum engagement rate, percent","anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"audience_gender":{"description":"Advanced targeting (plan-gated)","anyOf":[{"type":"string","enum":["female","male","any"]},{"type":"null"}]},"audience_ages":{"description":"Advanced targeting, e.g. `18-24`","maxItems":10,"type":"array","items":{"type":"string"}},"include_account_ids":{"description":"Hand-picked accounts (advanced targeting)","maxItems":5000,"type":"array","items":{"type":"string","minLength":1}},"exclude_account_ids":{"description":"Accounts kept out of the campaign, hand-picked ones too. On an update, leaving it out keeps the current list and sending it (even `[]`) replaces it. On a running open campaign, change them with `POST /v1/campaigns/{id}/excluded-creators` and `DELETE /v1/campaigns/{id}/excluded-creators/{account_id}`","maxItems":5000,"type":"array","items":{"type":"string","minLength":1}},"max_placements":{"description":"Cap on placements for the campaign","anyOf":[{"type":"integer","minimum":1,"maximum":1000},{"type":"null"}]}},"description":"Which creator accounts the campaign matches"},"brand_kit_id":{"description":"Brand kit for designs and unique-post visuals (defaults to the workspace's default kit)","anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"sponsor_account_id":{"description":"The brand Instagram account the paid partnership label tags on this campaign's posts: one of your workspace's connected brand accounts (`purpose: brand` in `GET /v1/accounts`), of the campaign's team or of no team. Null tags no brand: posts still carry the paid partnership label. Left out on create, it defaults to the brand account named by the brand kit's handle, else the first of `collab_handles` that names one, else the workspace's Instagram handle; a campaign that gets none that way is given that account once it's connected (or moved to the campaign's team), until the campaign ends, and a `campaign.updated` webhook says so. Null, sent on create or later, keeps the campaign untagged when brand accounts are connected later. Can change while the campaign runs; posts already published keep the tag they went out with.","anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"variants_enabled":{"description":"Write a unique post for every creator (plan feature `creativeVariants`; needs `variant_config`)","type":"boolean"},"variant_config":{"description":"Unique posts per creator. Replaces the whole configuration when set; null clears it, which needs unique posts off (`variants_enabled: false`, before or in the same request)","anyOf":[{"type":"object","properties":{"angles":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"description":"`creative_angle` keys to rotate through (see `GET /v1/reference/creative_angle`)"},"design_template_ids":{"description":"Design templates rotated for image formats (see `GET /v1/design-templates`). Empty keeps the base creative's visuals","maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"caption_template_ids":{"description":"Caption templates used as structure (see `GET /v1/templates`)","maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"brief":{"type":"string","minLength":20,"maxLength":4000,"description":"What the product is, key messages and facts. Variants never claim anything outside it"},"must_include":{"description":"Locked elements every variant keeps","type":"object","properties":{"hashtags":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"mentions":{"maxItems":5,"type":"array","items":{"type":"string","minLength":1,"maxLength":31}},"cta":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"claims":{"description":"Approved claims: the only product claims variants may make","maxItems":10,"type":"array","items":{"type":"string","minLength":3,"maxLength":200}}}},"avoid":{"description":"Words, phrases or claims variants must never use","maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"tailor_to_creator":{"description":"Write for each creator's niche, audience and voice (default true)","type":"boolean"},"review":{"description":"`review` (default): approve each variant before the creator sees it. `auto`: sent as soon as it's written","type":"string","enum":["auto","review"]},"fallback_to_base":{"description":"Send the base creative when a variant can't be written (default true)","type":"boolean"},"slide_count":{"description":"Slides for carousel designs (default 5)","type":"integer","minimum":2,"maximum":10}},"required":["angles","brief"],"description":"Unique posts per creator. Replaces the whole configuration when set"},{"type":"null"}]}}},"example":{"budget_cents":750000,"end_date":"2026-12-15"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"active","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"update_campaign"},"delete":{"operationId":"campaigns.delete","summary":"Delete a draft campaign","description":"Deletes a draft that never launched. Its creatives stay in the library. Use archive for anything else.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"delete_campaign"}},"/v1/campaigns/{id}/archive":{"post":{"operationId":"campaigns.archive","summary":"Archive a campaign","description":"Hides a draft, completed or canceled campaign from default lists.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"archived","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"archive_campaign"}},"/v1/campaigns/{id}/restore":{"post":{"operationId":"campaigns.restore","summary":"Restore an archived campaign","description":"Takes a campaign out of the archive, back to the status it was archived from: draft, completed or canceled.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"completed","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"restore_campaign"}},"/v1/campaigns/{id}/duplicate":{"post":{"operationId":"campaigns.duplicate","summary":"Duplicate a campaign","description":"Creates a new draft with the same settings, targeting and copies of its creatives. An open campaign's usage rights are held to today's limits: channels no longer offered are left out, and a usage or exclusivity period over the current maximum is cut to it.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"active","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"duplicate_campaign"}},"/v1/campaigns/{id}/readiness":{"get":{"operationId":"campaigns.readiness","summary":"Check launch readiness","description":"Everything that would block or affect a launch: blocking `error` issues and advisory `warning`s (issues the plan causes carry `upgrade_url`), wallet coverage, eligible accounts and the estimated placements within budget.\n\nRequired scope: `campaigns:read`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"launch_readiness","can_launch":false,"issues":[{"level":"error","message":"Add at least one creative marked ready."}],"ready_creatives":0,"wallet":{"available_cents":1250000,"spendable_cents":1250000,"reserved_cents":90000},"preview":{"eligible_count":12,"in_targeting":18,"estimated":true},"estimate":{"count":10,"cost_cents":450000,"follower_reach":480000}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"get_campaign_readiness"}},"/v1/campaigns/{id}/launch":{"post":{"operationId":"campaigns.launch","summary":"Launch a campaign","description":"Launches a `draft` campaign: checks formats, plan limits and wallet balance (and, on an open campaign's first launch, that its usage rights name only channels still offered and fit today's limits), then requests placements from every eligible creator account within budget. Requests the creators' approval rules accept are booked in the background right after the call returns: `bookings_pending` counts them, and each shows as `scheduled` (or, when your wallet can't cover it, as waiting on funds) within moments, with the same `placement.approved` and `placement.requested` webhooks as any booking. Check `/readiness` first to see blocking issues.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"campaign_launch","campaign":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"active","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z"},"placements_requested":6,"bookings_pending":2}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"launch_campaign"}},"/v1/campaigns/{id}/pause":{"post":{"operationId":"campaigns.pause","summary":"Pause a campaign","description":"Stops requesting new placements for an `active` or `scheduled` campaign. Placements already scheduled don't publish while it's paused: they wait, keeping their reserved funds, until you resume it (`POST /v1/campaigns/{id}/resume`), then publish at their scheduled time. One whose time passed meanwhile moves to the creator's next open slot after the resume (their posting windows, ads per day and week and gap between ads still apply), and canceling it before it publishes still owes the late cancellation fee it owed when its time passed, however far that slot is, and after any new time you and the creator agree. If the campaign reaches its `end_date` while you have it paused, its open requests and scheduled placements are canceled, and placements inside the creator's cutoff owe the late cancellation fee as if you had canceled them. A pause can't hold a placement for good either: one still held past its time for longer than the platform's paused post wait is canceled then, with the late cancellation fee where it applies, as if you had canceled it (`placement.canceled`). A placement a platform pause holds that long (a plan limit, or the platform's team) fails instead (`placement.failed`), and you get the full amount back. Cancel placements you no longer want with `POST /v1/placements/{id}/cancel`.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"paused","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"pause_campaign"}},"/v1/campaigns/{id}/resume":{"post":{"operationId":"campaigns.resume","summary":"Resume a campaign","description":"Resumes a `paused` campaign: re-checks the wallet and requests any newly eligible accounts. As on launch, requests the creators' approval rules accept are booked in the background right after the call returns (`bookings_pending`).\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"campaign_launch","campaign":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"active","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z"},"placements_requested":1,"bookings_pending":0}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"resume_campaign"}},"/v1/campaigns/{id}/cancel":{"post":{"operationId":"campaigns.cancel","summary":"Cancel a campaign","description":"Cancels the campaign and every unpublished placement, releasing reserved funds. Published placements are unaffected. Posts inside the creator's cutoff before publishing, and posts your pause or a later start date held past their time, owe a late cancellation fee: check `GET /v1/campaigns/{id}/cancel-preview` and send the total as `accept_late_fee_cents`, or the call is refused with a 409 whose `error.code` is `conflict` and `error.details.code` is `late_cancel_fee_required`, and nothing changes. This can't be undone.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accept_late_fee_cents":{"description":"The total late cancellation fees you agree to pay, from the cancel preview. Required when any are due.","type":"integer","minimum":0,"maximum":9007199254740991}}},"example":{"accept_late_fee_cents":45000}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp001","object":"campaign","name":"Autumn glow launch","description":"Serum launch with mid-tier beauty creators","type":"targeted","objective":"launch","category":"beauty","status":"canceled","offer_price_cents":null,"acceptance_mode":"instant","collab":false,"collab_handles":["lumen.skincare"],"usage_rights":null,"team_id":null,"persona_id":null,"budget_cents":500000,"committed_cents":0,"spent_cents":0,"currency":"USD","max_price_per_post_cents":60000,"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z","targeting":{"niches":["beauty"],"countries":["US"],"min_followers":10000},"brand_safety":{},"landing_url":"https://lumen.example/serum","utm":{"source":"instagram","medium":"influencer","campaign":"autumn_glow_launch"},"brand_kit_id":"cmf0bk0001","sponsor_account_id":"cmf0acc0brand1","variants_enabled":true,"variant_config":{"angles":["tutorial","routine","review"],"design_template_ids":["cmf0dt0001","cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34. Launching November 1.","must_include":{"hashtags":["ad","lumenglow"],"mentions":["lumen.skincare"],"cta":"Shop the launch","claims":["Fragrance-free"]},"avoid":["cure","miracle"],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"launched_at":null,"completed_at":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","team":null,"persona":null,"creatives":[],"placements_total":1,"placements":[{"id":"cmf0plc001","status":"scheduled","origin":"matched","is_collab":false,"price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","followers":48200},"creative":{"id":"cmf0crt001","name":"Serum reel","format":"ig_reel"},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","metrics":null,"message_count":2}],"totals":{"impressions":0,"reach":0,"likes":0,"comments":0,"saves":0,"shares":0,"clicks":0,"video_views":0}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"cancel_campaign"}},"/v1/campaigns/{id}/cancel-preview":{"get":{"operationId":"campaigns.cancel_preview","summary":"Preview canceling a campaign","description":"What canceling this campaign now would cost: how many scheduled posts owe a late cancellation fee (`posts_inside_cutoff`: those inside the creator's cutoff before publishing, and those your pause or a later start date held past their time, however far they were rescheduled) and their fees together.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"campaign_cancel_preview","posts_inside_cutoff":2,"late_cancel_fee_cents":45000,"fee_percent":50,"cutoff_hours":24,"currency":"USD"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"get_campaign_cancel_preview"}},"/v1/campaigns/{id}/excluded-creators":{"get":{"operationId":"campaigns.excluded_creators.list","summary":"List excluded creators","description":"Open campaigns: the creator accounts you excluded, in the order you excluded them. None of them can book or apply to the campaign until you lift the exclusion. An account you can no longer see in the marketplace comes back with `available: false` and no username; you can still lift it. Declining an application or canceling a booking never excludes anyone: a creator you turned down can apply or book again until you exclude them here. The list is the campaign's `targeting.exclude_account_ids`.\n\nRequired scope: `campaigns:read`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"object":"excluded_creator","account_id":"cmf0acc001","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"available":true}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"list_excluded_creators"},"post":{"operationId":"campaigns.excluded_creators.add","summary":"Exclude a creator","description":"Open campaigns: stops one creator account from booking or applying to the campaign, while it runs too, without pausing it. Their accept call then returns 409 with `excluded_by_advertiser` in `details`, and their opportunity shows the account as excluded. Any application or booking the account already has stays as it is: `open_placement_ids` lists the ones you can still decline (`POST /v1/requests/{id}/review`) or cancel (`POST /v1/placements/{id}/cancel`) separately. A post that's publishing or already published isn't listed, since neither applies to it. Excluding an account that's already excluded changes nothing (`changed: false`). Declining an application or canceling a booking never excludes anyone: a creator you turned down can apply or book again until you exclude them here. Lift it with `DELETE /v1/campaigns/{id}/excluded-creators/{account_id}`. The account must be in the marketplace or have a placement on one of your campaigns, so an account that left the marketplace after working with you can be excluded up front; any other account returns 404. A campaign that has ended returns 409.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":64,"description":"The creator's account ID (from a placement, an application or the marketplace)"}},"required":["account_id"]},"example":{"account_id":"cmf0acc001"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"excluded_creator","account_id":"cmf0acc001","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"available":true,"campaign_id":"cmf0cmp001","excluded":true,"changed":true,"open_placement_ids":[]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"exclude_creator"}},"/v1/campaigns/{id}/excluded-creators/{account_id}":{"delete":{"operationId":"campaigns.excluded_creators.remove","summary":"Lift a creator's exclusion","description":"Open campaigns: lets an excluded creator account book or apply to the campaign again. On a running campaign this also needs the key creator's role to allow launching campaigns (403 `forbidden` otherwise), since the creator can book at once. Lifting an account that isn't excluded changes nothing (`changed: false`).\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"account_id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"excluded_creator","campaign_id":"cmf0cmp001","account_id":"cmf0acc001","excluded":false,"changed":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"lift_creator_exclusion"}},"/v1/campaigns/{id}/matches":{"get":{"operationId":"campaigns.matches","summary":"Preview campaign matches","description":"Dry-run matching against every listed creator account: whether it's in targeting, eligible under the creator's policy for this campaign's ready creatives, the price, and the reasons when it isn't. The counts cover every listed account. In `data`, eligible accounts come first, best match first. The ones that aren't eligible follow in three groups, each largest first: in the targeting; left out only by the audience rules or a missing home country; left out by the other rules. Without ready creatives the result is an estimate (`estimated: true`). Nothing is requested.\n\nRequired scope: `campaigns:read`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"eligible_only","in":"query","required":false,"description":"Only return eligible accounts","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"limit","in":"query","required":false,"description":"Max accounts to return (default 50)","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"match_preview","campaign_id":"cmf0cmp001","estimated":false,"total_listed":40,"in_targeting":18,"eligible_count":12,"eligible_reach":640000,"data":[{"id":"cmf0acc001","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US","niches":["beauty"],"in_targeting":true,"eligible":true,"price_cents":45000,"format_key":"ig_reel","creative_name":"Serum reel","reasons":[]}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"preview_campaign_matches"}},"/v1/calendar":{"get":{"operationId":"placements.calendar","summary":"List posts by date","description":"Booked posts (approved, scheduled, publishing, published, disputed, completed, removed_early, failed) by the day they go live: the publish time once published, else the scheduled time, like the app's calendar. `from` and `to` are dates (YYYY-MM-DD) in the workspace's time zone, both included, up to 42 days apart. `side=advertiser` covers your campaigns' posts, `side=creator` the posts on your accounts; a workspace that runs both sides must pass it.\n\nRequired scope: `placements:read`.","tags":["Placements"],"parameters":[{"name":"side","in":"query","required":false,"description":"Required when the workspace runs both sides","schema":{"type":"string","enum":["creator","advertiser"]}},{"name":"from","in":"query","required":true,"description":"First day, YYYY-MM-DD","schema":{"type":"string"}},{"name":"to","in":"query","required":true,"description":"Last day, YYYY-MM-DD","schema":{"type":"string"}},{"name":"campaign_id","in":"query","required":false,"description":"Only this campaign's posts (advertiser side)","schema":{"type":"string","maxLength":64}},{"name":"account_id","in":"query","required":false,"description":"Only posts on this creator account","schema":{"type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","time_zone":"America/New_York","data":[{"placement_id":"cmf0plc001","status":"scheduled","at":"2026-11-10T15:00:00.000Z","scheduled_at":"2026-11-10T15:00:00.000Z","published_at":null,"format":"ig_reel","collab":false,"campaign":{"id":"cmf0cmp001","name":"Serum launch"},"account":{"id":"cmf0acc001","username":"maya.creates"},"advertiser":null}],"truncated":false}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read"],"x-mcp-tool":"list_calendar_posts"}},"/v1/campaigns/{id}/report":{"get":{"operationId":"campaigns.report","summary":"Get a campaign report","description":"The campaign's performance: one entry per booked post (creator, format, status, schedule and publish times, post link, latest Instagram metrics, disputes) with totals and a daily series (metric growth per UTC day, as `YYYY-MM-DD`; other times are ISO 8601, and `time_zone` is the workspace's zone for display). Requests that weren't booked aren't included. `include_spend=false` leaves out prices, fees and charges. `clicks` is null while nothing was measured.\n\nRequired scope: `campaigns:read`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"include_spend","in":"query","required":false,"description":"Include prices, fees and charges (default true)","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"campaign_report","campaign_id":"cmf0cmp001","name":"Serum launch","status":"active","type":"targeted","objective":"Awareness","category":"Beauty","currency":"USD","time_zone":"America/New_York","generated_at":"2026-11-07T10:00:00.000Z","totals":{"posts":8,"live":3,"completed":4,"upcoming":1,"impressions":402000,"reach":288000,"likes":18000,"comments":900,"saves":1600,"shares":900,"video_views":120000,"clicks":null,"engagements":21400,"engagement_rate":7.4,"charged_cents":310000},"series":[{"date":"2026-11-06","impressions":14800,"reach":10200,"engagements":790,"clicks":null}],"posts":[{"placement_id":"cmf0plc001","username":"maya.creates","followers":48200,"format":"Reel","booked_via":"Matched","status":"published","collab":false,"scheduled_at":"2026-11-05T17:00:00.000Z","published_at":"2026-11-05T17:00:12.000Z","completed_at":null,"permalink":"https://www.instagram.com/reel/…","impressions":52000,"reach":38000,"engagements":2900,"engagement_rate":7.6,"clicks":null,"disputes":0,"charged_cents":46800}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"get_campaign_report"}},"/v1/campaigns/{id}/report/links":{"get":{"operationId":"campaigns.report_links.list","summary":"List report links","description":"Read-only links to the campaign's report (active, expired and revoked). `url` is set while a link is active, and only for callers who can manage report links: the API key needs the `campaigns:write` scope and must belong to a member with the `reports.share` permission (Manager and Admin roles). For any other caller, including every `campaigns:read` key, `url` is null.\n\nRequired scope: `campaigns:read`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0rl001","object":"report_link","campaign_id":"cmf0cmp001","label":"Acme marketing team","url":"https://coboost.ai/reports/1f0c…","include_spend":false,"status":"active","expires_at":"2026-12-07T10:00:00.000Z","revoked_at":null,"view_count":3,"last_viewed_at":"2026-11-07T09:12:00.000Z","created_at":"2026-11-07T08:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"list_report_links"},"post":{"operationId":"campaigns.report_links.create","summary":"Create a report link","description":"Creates a read-only link to the campaign's report that anyone can open without signing in (creator usernames, post links and results; spend only with `include_spend`). Needs the `reports.share` permission (Manager and Admin roles). Revoke it with `DELETE /v1/campaigns/{id}/report/links/{link_id}`.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"description":"Who it's for (shown only to your workspace)","anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"expires_in_days":{"description":"One of the expiries the platform offers, in days: `metadata.days` of each item of `GET /v1/reference/{list}` with list `report_share_expiry` (7, 30, 90 and 365 unless the platform changed them). Omit or null for a link that doesn't expire, while the platform offers that (the item with `days` 0). Anything else returns 422 `invalid_input` saying what is offered","anyOf":[{"type":"integer","minimum":1,"maximum":3650},{"type":"null"}]},"include_spend":{"description":"Show prices, fees and charges (default false)","type":"boolean"}}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0rl001","object":"report_link","campaign_id":"cmf0cmp001","label":"Acme marketing team","url":"https://coboost.ai/reports/1f0c…","include_spend":false,"status":"active","expires_at":"2026-12-07T10:00:00.000Z","revoked_at":null,"view_count":3,"last_viewed_at":"2026-11-07T09:12:00.000Z","created_at":"2026-11-07T08:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-live-mode-only":"Report links are public pages.","x-mcp-tool":"create_report_link"}},"/v1/campaigns/{id}/report/links/{link_id}":{"delete":{"operationId":"campaigns.report_links.revoke","summary":"Revoke a report link","description":"Turns a report link off at once. Needs the `reports.share` permission.\n\nRequired scope: `campaigns:write`.","tags":["Campaigns"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"link_id","in":"path","required":true,"description":"Report link ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0rl001","object":"report_link","campaign_id":"cmf0cmp001","label":"Acme marketing team","url":null,"include_spend":false,"status":"revoked","expires_at":"2026-12-07T10:00:00.000Z","revoked_at":"2026-11-08T10:00:00.000Z","view_count":3,"last_viewed_at":"2026-11-07T09:12:00.000Z","created_at":"2026-11-07T08:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"revoke_report_link"}},"/v1/creatives":{"get":{"operationId":"creatives.list","summary":"List creatives","description":"Creatives in the library, most recently updated first. Archived creatives are excluded unless `status=archived` or `status=all`. Unique posts written per creator (`kind: variant`) are only listed with `kind=variant` or `kind=all`.\n\nRequired scope: `creatives:read`.","tags":["Creatives"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"status","in":"query","required":false,"description":"","schema":{"type":"string","enum":["draft","ready","archived","all"]}},{"name":"format","in":"query","required":false,"description":"Format key","schema":{"type":"string","maxLength":40}},{"name":"campaign_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"search","in":"query","required":false,"description":"Match on name or caption","schema":{"type":"string","maxLength":120}},{"name":"kind","in":"query","required":false,"description":"`standard` (default) = your library; `variant` = unique posts written per creator; `all`","schema":{"type":"string","enum":["standard","variant","all"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["ad","skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med001","url":"https://coboost.ai/uploads/ws/serum.mp4","display_url":"https://coboost.ai/uploads/ws/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21,"source":"upload","attribution":null}],"status":"ready","ai_generated":false,"version":2,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","status":"draft"},"persona":null,"placement_count":0}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"list_creatives"},"post":{"operationId":"creatives.create","summary":"Create a creative","description":"Creates a creative in the library, optionally attached to a campaign. Drafts can use `draft_only` formats; `ready` creatives must pass the format's caption, hashtag and media specs and can be sent to creators. An ad label that's a hashtag (such as `#ad`) opens the published caption, so it counts toward the hashtag limit.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"format":{"type":"string","minLength":1,"maxLength":40,"description":"Format key, e.g. `ig_reel` (see GET /v1/formats)"},"caption":{"type":"string","maxLength":5000},"hashtags":{"description":"With or without the leading #","maxItems":60,"type":"array","items":{"type":"string","maxLength":101}},"cta":{"description":"Call to action, e.g. `Shop now`","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"link_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"media":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"description":"Media library asset ID","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"url":{"type":"string","minLength":1,"maxLength":2000,"description":"https:// URL or a media library path. An https:// file must be reachable: it is copied into the media library when the creative becomes `ready`, and counts against storage. A library file's `source` and a stock photo's `display_url` and `attribution` come from the library."},"type":{"type":"string","enum":["image","video"]},"width":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"duration_sec":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["url","type"]}},"persona_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"template_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"campaign_id":{"description":"Attach to a campaign","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"ai_generated":{"description":"Disclose AI-generated content (some creators decline it). Creatives saved from an AI-assisted design and per-creator variants are always marked","type":"boolean"},"status":{"default":"draft","description":"`ready` validates against the format specs","type":"string","enum":["draft","ready"]}},"required":["name","format"]},"example":{"name":"Serum reel","format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"url":"https://cdn.example/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21}],"campaign_id":"cmf0cmp001","status":"ready"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["ad","skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med001","url":"https://coboost.ai/uploads/ws/serum.mp4","display_url":"https://coboost.ai/uploads/ws/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21,"source":"upload","attribution":null}],"status":"ready","ai_generated":false,"version":2,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","status":"draft"},"persona":null,"placement_count":0}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"create_creative"}},"/v1/creatives/{id}":{"get":{"operationId":"creatives.get","summary":"Get a creative","description":"Retrieve one creative. Each media item's `url` is the file that publishes. A stock photo from the media library (`source: stock`) also has `display_url`, Unsplash's own image, and `attribution`, the photographer's credit: show the photo from `display_url` with `attribution.text` linked to `photographer_url` and `source_url` wherever you show it. Both are set from the library file; anything sent for them is ignored.\n\nRequired scope: `creatives:read`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Creative ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["ad","skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med001","url":"https://coboost.ai/uploads/ws/serum.mp4","display_url":"https://coboost.ai/uploads/ws/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21,"source":"upload","attribution":null}],"status":"ready","ai_generated":false,"version":2,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","status":"draft"},"persona":null,"placement_count":0}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"get_creative"},"patch":{"operationId":"creatives.update","summary":"Update a creative","description":"Update fields; omitted fields keep their values. Content changes bump `version`. The format can't change once a placement is scheduled or published, and a unique post keeps its campaign and persona. Set `status` to `archived` to archive, or back to `draft` to restore.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Creative ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"format":{"type":"string","minLength":1,"maxLength":40,"description":"Format key, e.g. `ig_reel` (see GET /v1/formats)"},"caption":{"type":"string","maxLength":5000},"hashtags":{"description":"With or without the leading #","maxItems":60,"type":"array","items":{"type":"string","maxLength":101}},"cta":{"description":"Call to action, e.g. `Shop now`","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"link_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"media":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"description":"Media library asset ID","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"url":{"type":"string","minLength":1,"maxLength":2000,"description":"https:// URL or a media library path. An https:// file must be reachable: it is copied into the media library when the creative becomes `ready`, and counts against storage. A library file's `source` and a stock photo's `display_url` and `attribution` come from the library."},"type":{"type":"string","enum":["image","video"]},"width":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"duration_sec":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["url","type"]}},"persona_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"template_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"campaign_id":{"description":"Attach to a campaign","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"ai_generated":{"description":"Disclose AI-generated content (some creators decline it). Creatives saved from an AI-assisted design and per-creator variants are always marked","type":"boolean"},"status":{"type":"string","enum":["draft","ready","archived"],"description":"`ready` validates against the format specs; `archived` hides it"}}},"example":{"caption":"#ad Glow season is here.","status":"ready"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["ad","skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med001","url":"https://coboost.ai/uploads/ws/serum.mp4","display_url":"https://coboost.ai/uploads/ws/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21,"source":"upload","attribution":null}],"status":"ready","ai_generated":false,"version":3,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","status":"draft"},"persona":null,"placement_count":0}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"update_creative"},"delete":{"operationId":"creatives.delete","summary":"Delete a creative","description":"Permanently deletes a creative that has never been used in a placement. Archive it otherwise.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Creative ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt001","object":"creative","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"delete_creative"}},"/v1/creatives/{id}/duplicate":{"post":{"operationId":"creatives.duplicate","summary":"Duplicate a creative","description":"Copies a creative as a new draft, optionally into another campaign.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Creative ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"campaign_id":{"description":"Campaign for the copy (defaults to the original's)","anyOf":[{"type":"string","minLength":1},{"type":"null"}]}}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt002","object":"creative","name":"Serum reel (copy)","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["ad","skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med001","url":"https://coboost.ai/uploads/ws/serum.mp4","display_url":"https://coboost.ai/uploads/ws/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21,"source":"upload","attribution":null}],"status":"draft","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","status":"draft"},"persona":null,"placement_count":0}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"duplicate_creative"}},"/v1/campaigns/{id}/creatives":{"post":{"operationId":"campaigns.creatives.attach","summary":"Add a creative to a campaign","description":"Attaches a library creative to a campaign. An unassigned creative moves into the campaign and keeps its `id`. A creative that already belongs to another campaign is **not moved**: a copy with a **new `id`** is created in this campaign and the original stays where it was, so that campaign keeps its content (the copy stays `ready` if the original was and still validates). The response is the creative now in the campaign, which may be that copy: use the returned `id` (not the `creative_id` you sent) for later calls about this campaign's creative.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"creative_id":{"type":"string","minLength":1,"maxLength":64,"description":"Creative to add"}},"required":["creative_id"]},"example":{"creative_id":"cmf0crt001"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["ad","skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med001","url":"https://coboost.ai/uploads/ws/serum.mp4","display_url":"https://coboost.ai/uploads/ws/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21,"source":"upload","attribution":null}],"status":"ready","ai_generated":false,"version":2,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","status":"draft"},"persona":null,"placement_count":0}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"attach_creative_to_campaign"}},"/v1/campaigns/{id}/creatives/{creative_id}":{"delete":{"operationId":"campaigns.creatives.detach","summary":"Remove a creative from a campaign","description":"Moves a creative out of the campaign back to the library (it isn't deleted). Refused while the creative has open placements in the campaign.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"creative_id","in":"path","required":true,"description":"Creative ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":null,"template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["ad","skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med001","url":"https://coboost.ai/uploads/ws/serum.mp4","display_url":"https://coboost.ai/uploads/ws/serum.mp4","type":"video","width":1080,"height":1920,"duration_sec":21,"source":"upload","attribution":null}],"status":"ready","ai_generated":false,"version":2,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z","campaign":null,"persona":null,"placement_count":0}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"detach_creative_from_campaign"}},"/v1/creatives/render-template":{"post":{"operationId":"creatives.render_template","summary":"Render a template","description":"Fills a template's variables and returns the caption, hashtags and CTA to use in a creative. Nothing is saved.\n\nRequired scope: `creatives:write`.","tags":["Creatives"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"template_id":{"type":"string","minLength":1},"values":{"default":{},"description":"Template variable values, e.g. `{ \"product\": \"Glow serum\" }`","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":500}}},"required":["template_id"]},"example":{"template_id":"cmf0tpl001","values":{"product":"Glow serum","discount":"20%"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"rendered_template","template_id":"cmf0tpl001","format_key":"ig_carousel","caption":"Meet Glow serum: 20% off this week.","hashtags":["skincare"],"cta":"Shop now","media_guidance":"5 square slides, product first"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"render_template"}},"/v1/campaigns/{id}/variants":{"get":{"operationId":"variants.list","summary":"List a campaign's unique posts","description":"Every variant written for the campaign's creators with its placement, angle, design and uniqueness score, plus counts by `variant_status` and the placements whose post is still being written (`writing`).\n\nRequired scope: `campaigns:read`.","tags":["Unique posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"variant_list","campaign_id":"cmf0cmp001","enabled":true,"config":{"angles":["tutorial","routine"],"design_template_ids":["cmf0dt0002"],"caption_template_ids":[],"brief":"Glow serum: 10% niacinamide, fragrance-free, $34.","must_include":{"hashtags":["ad"],"mentions":[],"cta":null,"claims":[]},"avoid":[],"tailor_to_creator":true,"review":"review","fallback_to_base":true,"slide_count":5},"counts":{"awaiting_review":1,"approved":4,"writing":2},"writing":[{"placement_id":"cmf0plc007","account":{"id":"cmf0acc007","username":"techbyleo","avatar_url":null}}],"data":[{"id":"cmf0crt101","object":"variant","name":"Serum carousel for @maya.creates","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_carousel","caption":"I swapped my evening serum for two weeks. Here's what changed (and what didn't). Fragrance-free, which my skin needed. #ad #lumenglow @lumen.skincare","hashtags":["ad","lumenglow","skincareroutine"],"cta":"Shop the launch","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med101","url":"https://coboost.ai/uploads/ws/slide-1.png","type":"image","width":1080,"height":1350}],"status":"ready","ai_generated":true,"version":1,"kind":"variant","parent_id":"cmf0crt001","variant_for_account_id":"cmf0acc001","angle":"routine","design_template_id":"cmf0dt0002","caption_template_id":null,"variant_status":"awaiting_review","design_id":"cmf0dsn101","created_at":"2026-11-01T09:00:00.000Z","updated_at":"2026-11-01T09:00:00.000Z","placement":{"id":"cmf0plc001","status":"drafting","origin":"matched","price_cents":45000,"account":{"id":"cmf0acc001","username":"maya.creates","avatar_url":null,"followers":48200}},"design":{"id":"cmf0dsn101","name":"Autumn glow launch · @maya.creates","thumbnail_url":null},"generation":{"similarity":0.12,"threshold":0.35,"attempts":1,"credits":12,"model":"claude-opus-5-5","hook":"I swapped my evening serum for two weeks","error":null,"design_error":null,"render_error":null,"render_warnings":[]}}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"list_campaign_variants"}},"/v1/campaigns/{id}/variants/approve":{"post":{"operationId":"variants.approve_all","summary":"Approve all waiting posts","description":"Approves every variant of the campaign that is `awaiting_review`, skipping any that can't go yet (`skipped`), such as a post with banned words on its slides. Posts with a design get their images first; each placement then continues to the creator (or is scheduled for accepted open-campaign slots).\n\nRequired scope: `campaigns:write`.","tags":["Unique posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"variant_approval","campaign_id":"cmf0cmp001","approved":6}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"approve_all_variants"}},"/v1/variants/{id}/approve":{"post":{"operationId":"variants.approve","summary":"Approve a unique post","description":"Approves a variant that is `awaiting_review` (or a hand-fixed `failed` one). A post with a design moves to `rendering`: its design is frozen and its images made, then `creative.variant_rendered` fires. Its placement then continues to the creator's review, is scheduled for an accepted open-campaign slot, or goes back to a creator who asked for changes. Slides using a banned word are refused until the design is edited.\n\nRequired scope: `campaigns:write`.","tags":["Unique posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Variant (creative) ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt101","object":"variant","name":"Serum carousel for @maya.creates","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_carousel","caption":"I swapped my evening serum for two weeks. Here's what changed (and what didn't). Fragrance-free, which my skin needed. #ad #lumenglow @lumen.skincare","hashtags":["ad","lumenglow","skincareroutine"],"cta":"Shop the launch","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med101","url":"https://coboost.ai/uploads/ws/slide-1.png","type":"image","width":1080,"height":1350}],"status":"ready","ai_generated":true,"version":1,"kind":"variant","parent_id":"cmf0crt001","variant_for_account_id":"cmf0acc001","angle":"routine","design_template_id":"cmf0dt0002","caption_template_id":null,"variant_status":"approved","design_id":"cmf0dsn101","created_at":"2026-11-01T09:00:00.000Z","updated_at":"2026-11-01T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"approve_variant"}},"/v1/variants/{id}":{"patch":{"operationId":"variants.update","summary":"Edit a unique post","description":"Hand-edit a variant's caption, hashtags and CTA while it's awaiting review, failed, or when the creator requested changes. The caption must still pass the format's specs; the uniqueness score is recomputed. A failed variant moves back to `awaiting_review`.\n\nRequired scope: `campaigns:write`.","tags":["Unique posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Variant (creative) ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"caption":{"type":"string","minLength":1,"maxLength":2200},"hashtags":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":60},"description":"With or without the leading #"},"cta":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]}},"required":["caption","hashtags"]},"example":{"caption":"Two weeks with the Glow serum: my honest notes. #ad @lumen.skincare","hashtags":["ad","lumenglow"],"cta":"Shop the launch"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt101","object":"variant","name":"Serum carousel for @maya.creates","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_carousel","caption":"I swapped my evening serum for two weeks. Here's what changed (and what didn't). Fragrance-free, which my skin needed. #ad #lumenglow @lumen.skincare","hashtags":["ad","lumenglow","skincareroutine"],"cta":"Shop the launch","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med101","url":"https://coboost.ai/uploads/ws/slide-1.png","type":"image","width":1080,"height":1350}],"status":"ready","ai_generated":true,"version":2,"kind":"variant","parent_id":"cmf0crt001","variant_for_account_id":"cmf0acc001","angle":"routine","design_template_id":"cmf0dt0002","caption_template_id":null,"variant_status":"awaiting_review","design_id":"cmf0dsn101","created_at":"2026-11-01T09:00:00.000Z","updated_at":"2026-11-01T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"update_variant"}},"/v1/variants/{id}/regenerate":{"post":{"operationId":"variants.regenerate","summary":"Rewrite a unique post","description":"Queues a rewrite, optionally with another angle, design template or revision notes (the creator's change request is used when you send none). The current version is replaced when the new one is ready (`creative.variant_ready`); if the rewrite fails the current version is kept. Up to 5 rewrites per post per hour. Uses AI credits.\n\nRequired scope: `campaigns:write`.","tags":["Unique posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Variant (creative) ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"angle":{"description":"`creative_angle` key","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"design_template_id":{"description":"Design template for the visuals; null = keep the base creative's media","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"instructions":{"description":"Revision notes for the AI","anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]}}},"example":{"angle":"review","instructions":"Shorter, and mention it's fragrance-free."}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"example":{"object":"variant_regeneration","id":"cmf0crt101","variant_status":"generating","queued":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"regenerate_variant"}},"/v1/variants/{id}/use-base":{"post":{"operationId":"variants.use_base","summary":"Send the base creative instead","description":"Skips a variant that's waiting for review: the placement gets the campaign's base creative and continues to the creator. The variant is archived (`variant_status: replaced`).\n\nRequired scope: `campaigns:write`.","tags":["Unique posts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Variant (creative) ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0crt101","object":"variant","name":"Serum carousel for @maya.creates","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_carousel","caption":"I swapped my evening serum for two weeks. Here's what changed (and what didn't). Fragrance-free, which my skin needed. #ad #lumenglow @lumen.skincare","hashtags":["ad","lumenglow","skincareroutine"],"cta":"Shop the launch","link_url":"https://lumen.example/serum","media":[{"asset_id":"cmf0med101","url":"https://coboost.ai/uploads/ws/slide-1.png","type":"image","width":1080,"height":1350}],"status":"archived","ai_generated":true,"version":1,"kind":"variant","parent_id":"cmf0crt001","variant_for_account_id":"cmf0acc001","angle":"routine","design_template_id":"cmf0dt0002","caption_template_id":null,"variant_status":"replaced","design_id":"cmf0dsn101","created_at":"2026-11-01T09:00:00.000Z","updated_at":"2026-11-01T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"use_base_creative"}},"/v1/brand-kits":{"get":{"operationId":"brand_kits.list","summary":"List brand kits","description":"The workspace's brand kits, default first. Designs and unique-post visuals use a campaign's kit, otherwise the default.\n\nRequired scope: `creatives:read`.","tags":["Brand kits"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0bk0001","object":"brand_kit","name":"Lumen","is_default":true,"colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#d7f25c","accent_ink":"#14120f","secondary":"#8aa6c1"},"fonts":{"display":{"family":"Instrument Serif","source":"google"},"body":{"family":"Inter","source":"google"},"mono":{"family":"JetBrains Mono","source":"google"}},"logo_url":"https://coboost.ai/uploads/ws/lumen-logo.png","logo_dark_url":null,"mark_url":null,"handle":"lumen.skincare","website":"lumen.example","footer":null,"radius":24,"warnings":[],"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"list_brand_kits"},"post":{"operationId":"brand_kits.create","summary":"Create a brand kit","description":"Creates a brand kit. The first kit becomes the default. `colors` and `fonts` are optional, as is each color and font role: give just an `accent` (and maybe `dark`) and the rest is derived (`accent_ink` = whichever of dark / light reads on the accent, `secondary` = the accent, `display` and `body` share one font when only one is given), with the studio defaults for anything else. The response has the full colors and fonts used. Fonts must be in the Google font catalog or uploaded in the studio first. Limited by the plan's `brandKits`.\n\nRequired scope: `creatives:write`.","tags":["Brand kits"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"colors":{"description":"Any of the five colors; missing ones are filled in: `dark` #111110, `light` #f6f5f1, `accent` #d8f24a, `accent_ink` = whichever of dark / light reads better on the accent, `secondary` = the accent (#7c5cff when no accent is given)","type":"object","properties":{"dark":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"},"light":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"},"accent":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"},"accent_ink":{"description":"Text color on the accent","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"secondary":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"}}},"fonts":{"description":"Any of the three roles; missing ones are filled in: `display` = the body font (else Inter Tight), `body` = the display font (else Inter), `mono` Geist Mono (Google fonts)","type":"object","properties":{"display":{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":80,"description":"Font family name: letters, digits, spaces, dots, hyphens and underscores"},"source":{"type":"string","enum":["google","upload","system"],"description":"`google` (catalog font), `upload` (a font uploaded in the studio) or `system`"}},"required":["family","source"]},"body":{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":80,"description":"Font family name: letters, digits, spaces, dots, hyphens and underscores"},"source":{"type":"string","enum":["google","upload","system"],"description":"`google` (catalog font), `upload` (a font uploaded in the studio) or `system`"}},"required":["family","source"]},"mono":{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":80,"description":"Font family name: letters, digits, spaces, dots, hyphens and underscores"},"source":{"type":"string","enum":["google","upload","system"],"description":"`google` (catalog font), `upload` (a font uploaded in the studio) or `system`"}},"required":["family","source"]}}},"logo_url":{"description":"https:// URL or a media library path","anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"logo_dark_url":{"description":"Logo for dark backgrounds","anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"mark_url":{"description":"Square icon / avatar","anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"handle":{"description":"Instagram handle shown on slides","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"website":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"footer":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"radius":{"description":"Corner radius in px (default 24)","type":"integer","minimum":0,"maximum":80},"is_default":{"description":"Make this the workspace's default kit","type":"boolean"}},"required":["name"]},"example":{"name":"Lumen","colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#d7f25c","accent_ink":"#14120f","secondary":"#8aa6c1"},"fonts":{"display":{"family":"Instrument Serif","source":"google"},"body":{"family":"Inter","source":"google"},"mono":{"family":"JetBrains Mono","source":"google"}},"handle":"lumen.skincare","website":"lumen.example"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0bk0001","object":"brand_kit","name":"Lumen","is_default":true,"colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#d7f25c","accent_ink":"#14120f","secondary":"#8aa6c1"},"fonts":{"display":{"family":"Instrument Serif","source":"google"},"body":{"family":"Inter","source":"google"},"mono":{"family":"JetBrains Mono","source":"google"}},"logo_url":"https://coboost.ai/uploads/ws/lumen-logo.png","logo_dark_url":null,"mark_url":null,"handle":"lumen.skincare","website":"lumen.example","footer":null,"radius":24,"warnings":[],"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"create_brand_kit"}},"/v1/brand-kits/{id}":{"get":{"operationId":"brand_kits.get","summary":"Get a brand kit","description":"Retrieve one brand kit with contrast warnings for its colors.\n\nRequired scope: `creatives:read`.","tags":["Brand kits"],"parameters":[{"name":"id","in":"path","required":true,"description":"Brand kit ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0bk0001","object":"brand_kit","name":"Lumen","is_default":true,"colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#d7f25c","accent_ink":"#14120f","secondary":"#8aa6c1"},"fonts":{"display":{"family":"Instrument Serif","source":"google"},"body":{"family":"Inter","source":"google"},"mono":{"family":"JetBrains Mono","source":"google"}},"logo_url":"https://coboost.ai/uploads/ws/lumen-logo.png","logo_dark_url":null,"mark_url":null,"handle":"lumen.skincare","website":"lumen.example","footer":null,"radius":24,"warnings":[],"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"get_brand_kit"},"patch":{"operationId":"brand_kits.update","summary":"Update a brand kit","description":"Update fields; omitted fields keep their values (`colors` and `fonts` are replaced as a whole). Designs using the kit pick up the change on their next render.\n\nRequired scope: `creatives:write`.","tags":["Brand kits"],"parameters":[{"name":"id","in":"path","required":true,"description":"Brand kit ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"colors":{"type":"object","properties":{"dark":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"},"light":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"},"accent":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"},"accent_ink":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"Text color on the accent"},"secondary":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"6-digit hex, e.g. `#1a2b3c`"}},"required":["dark","light","accent","accent_ink","secondary"],"description":"Dark and light slide backgrounds, the accent, text on the accent and a second accent"},"fonts":{"type":"object","properties":{"display":{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":80,"description":"Font family name: letters, digits, spaces, dots, hyphens and underscores"},"source":{"type":"string","enum":["google","upload","system"],"description":"`google` (catalog font), `upload` (a font uploaded in the studio) or `system`"}},"required":["family","source"]},"body":{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":80,"description":"Font family name: letters, digits, spaces, dots, hyphens and underscores"},"source":{"type":"string","enum":["google","upload","system"],"description":"`google` (catalog font), `upload` (a font uploaded in the studio) or `system`"}},"required":["family","source"]},"mono":{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":80,"description":"Font family name: letters, digits, spaces, dots, hyphens and underscores"},"source":{"type":"string","enum":["google","upload","system"],"description":"`google` (catalog font), `upload` (a font uploaded in the studio) or `system`"}},"required":["family","source"]}},"required":["display","body","mono"],"description":"Font for headlines, body text and labels"},"logo_url":{"description":"https:// URL or a media library path","anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"logo_dark_url":{"description":"Logo for dark backgrounds","anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"mark_url":{"description":"Square icon / avatar","anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"handle":{"description":"Instagram handle shown on slides","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"website":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"footer":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"radius":{"description":"Corner radius in px (default 24)","type":"integer","minimum":0,"maximum":80},"is_default":{"description":"Make this the workspace's default kit","type":"boolean"}}},"example":{"colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#f2c94c","accent_ink":"#14120f","secondary":"#8aa6c1"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0bk0001","object":"brand_kit","name":"Lumen","is_default":true,"colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#d7f25c","accent_ink":"#14120f","secondary":"#8aa6c1"},"fonts":{"display":{"family":"Instrument Serif","source":"google"},"body":{"family":"Inter","source":"google"},"mono":{"family":"JetBrains Mono","source":"google"}},"logo_url":"https://coboost.ai/uploads/ws/lumen-logo.png","logo_dark_url":null,"mark_url":null,"handle":"lumen.skincare","website":"lumen.example","footer":null,"radius":24,"warnings":[],"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"update_brand_kit"},"delete":{"operationId":"brand_kits.delete","summary":"Delete a brand kit","description":"Deletes a brand kit. Designs and campaigns using it move to the workspace's next kit, which becomes the default if this one was.\n\nRequired scope: `creatives:write`.","tags":["Brand kits"],"parameters":[{"name":"id","in":"path","required":true,"description":"Brand kit ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0bk0002","object":"brand_kit","deleted":true,"moved_to":"cmf0bk0001","designs_moved":3,"campaigns_moved":1}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"delete_brand_kit"}},"/v1/brand-kits/{id}/default":{"post":{"operationId":"brand_kits.set_default","summary":"Set the default brand kit","description":"Makes this kit the workspace default. New designs and campaigns without a kit use it.\n\nRequired scope: `creatives:write`.","tags":["Brand kits"],"parameters":[{"name":"id","in":"path","required":true,"description":"Brand kit ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0bk0001","object":"brand_kit","name":"Lumen","is_default":true,"colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#d7f25c","accent_ink":"#14120f","secondary":"#8aa6c1"},"fonts":{"display":{"family":"Instrument Serif","source":"google"},"body":{"family":"Inter","source":"google"},"mono":{"family":"JetBrains Mono","source":"google"}},"logo_url":"https://coboost.ai/uploads/ws/lumen-logo.png","logo_dark_url":null,"mark_url":null,"handle":"lumen.skincare","website":"lumen.example","footer":null,"radius":24,"warnings":[],"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-21T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"set_default_brand_kit"}},"/v1/design-templates":{"get":{"operationId":"design_templates.list","summary":"List design templates","description":"The visual template gallery (system templates plus the workspace's custom ones) with availability after platform, plan and workspace controls. Locked templates (`available: false`, e.g. above your plan) are listed so you can see what an upgrade unlocks; hidden ones are omitted.\n\nRequired scope: `creatives:read`.","tags":["Design studio"],"parameters":[{"name":"category","in":"query","required":false,"description":"Category key, e.g. `carousel`, `product`, `promo`","schema":{"type":"string","maxLength":40}},{"name":"format","in":"query","required":false,"description":"Only templates that support this canvas, e.g. `story`","schema":{"type":"string","maxLength":20}},{"name":"source","in":"query","required":false,"description":"","schema":{"type":"string","enum":["system","custom"]}},{"name":"search","in":"query","required":false,"description":"Match on name, description and tags","schema":{"type":"string","maxLength":120}},{"name":"available_only","in":"query","required":false,"description":"Only templates you can use now","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0dt0001","object":"design_template","key":"myth-vs-fact","source":"system","name":"Myth vs fact","description":"Bust common misconceptions in your niche, one slide at a time.","category":"carousel","tags":["education","myths"],"formats":["portrait","square","story"],"default_format":"portrait","featured":true,"status":"active","available":true,"availability":"enabled","restricted_by":null,"reason":null,"min_plan":null,"slide_count":6,"usage_count":128}],"categories":[{"key":"carousel","label":"Educational carousels"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"list_design_templates"}},"/v1/design-templates/{id}":{"get":{"operationId":"design_templates.get","summary":"Get a design template","description":"One template with its definition (style, look, sample slides) and the layouts it offers. Locked templates return only their first slides (`definition.preview: true`).\n\nRequired scope: `creatives:read`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dt0001","object":"design_template","key":"myth-vs-fact","source":"system","name":"Myth vs fact","description":"Bust common misconceptions in your niche, one slide at a time.","category":"carousel","tags":["education","myths"],"formats":["portrait","square","story"],"default_format":"portrait","featured":true,"status":"active","available":true,"availability":"enabled","restricted_by":null,"reason":null,"min_plan":null,"slide_count":6,"usage_count":128,"definition":{"style":{"scheme":"dark","emphasis":"accent"},"look":{"colors":{"dark":"#14120f","light":"#f6f3ee","accent":"#d7f25c","accent_ink":"#14120f","secondary":"#8aa6c1"},"fonts":{"display":{"family":"Instrument Serif","source":"google"},"body":{"family":"Inter","source":"google"},"mono":{"family":"JetBrains Mono","source":"google"}}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"ai":{"min_slides":4,"max_slides":8},"preview":false},"layouts":[]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"get_design_template"},"patch":{"operationId":"design_templates.update","summary":"Update a custom design template","description":"Rename one of the workspace's own (custom) design templates or change its description, category or tags. Slides and style stay as saved. System templates can't be edited (404). Keys that can also read creatives get the full gallery entry back.\n\nRequired scope: `templates:write`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design template ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"description":"`null` or an empty string clears it","anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"category":{"description":"Category key from `categories` in `GET /v1/design-templates`, e.g. `carousel`, `product`, `promo`","type":"string","maxLength":40},"tags":{"description":"Replaces the tags (up to 10)","maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}}}},"example":{"name":"Lumen myth buster","description":"Our go-to education carousel","category":"carousel","tags":["education","skincare"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dt0001","object":"design_template","key":null,"source":"custom","name":"Lumen myth buster","description":"Our go-to education carousel","category":"carousel","tags":["education","skincare"],"formats":["portrait","square","story"],"default_format":"portrait","featured":false,"status":"active","available":true,"availability":"enabled","restricted_by":null,"reason":null,"min_plan":null,"slide_count":6,"usage_count":4}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["templates:write"],"x-mcp-tool":"update_design_template"}},"/v1/layouts":{"get":{"operationId":"layouts.list","summary":"List slide layouts","description":"Every slide layout with its variants and content fields (with soft character limits), plus the canvas formats. Use it to build or edit `slides` by hand.\n\nRequired scope: `creatives:read` or `templates:read`.","tags":["Design studio"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"key":"cover","object":"layout","name":"Cover","description":"Opening slide with a hook headline.","group":"Structure","variants":[{"key":"stack","label":"Stacked"}],"fields":[{"key":"headline","label":"Hook","type":"textarea","max_chars":60,"min_items":null,"max_items":null,"item_fields":null,"ai":true,"help":"Wrap words in *asterisks* to emphasize them.","options":null}],"ai_hint":"The hook."}],"formats":[{"key":"portrait","label":"Portrait","ratio":"4:5","width":1080,"height":1350}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read","templates:read"],"x-mcp-tool":"list_layouts"}},"/v1/designs":{"get":{"operationId":"designs.list","summary":"List designs","description":"Designs, most recently edited first. Archived designs are excluded unless `status=archived` or `status=all`.\n\nRequired scope: `creatives:read`.","tags":["Design studio"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"status","in":"query","required":false,"description":"","schema":{"type":"string","enum":["draft","ready","archived","all"]}},{"name":"campaign_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"template_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"brand_kit_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"search","in":"query","required":false,"description":"Match on name","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0dsn001","object":"design","name":"Myth vs fact: niacinamide","status":"draft","template_id":"cmf0dt0001","brand_kit_id":"cmf0bk0001","campaign_id":"cmf0cmp001","persona_id":null,"content_type":"education","team_id":null,"format":"portrait","style":{"brand":{"handle":"@lumen.skincare"}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"slide_count":2,"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"ai_assisted":true,"thumbnail_url":null,"last_exported_at":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:05:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"list_designs"},"post":{"operationId":"designs.create","summary":"Create a design","description":"Creates a design from a template (or blank) with the brand kit applied. Pass `brief` to have AI write the slides, caption and hashtags right away: the design is created either way, and `ai` reports whether the AI run succeeded. Locked templates return 402. Limited by the plan's `designs`.\n\nRequired scope: `creatives:write`.","tags":["Design studio"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"template_id":{"description":"Design template (see `GET /v1/design-templates`). Omitted = blank design","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"name":{"type":"string","maxLength":100},"format":{"description":"Canvas: portrait (4:5), square, story (9:16), landscape, wide or pin. Defaults to the template's","type":"string","enum":["portrait","square","story","landscape","wide","pin"]},"brand_kit_id":{"description":"Brand kit ID, or `template` for the template's own look. Omitted = the campaign's kit, then the workspace default","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"campaign_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":40,"description":"Content type key (see `GET /v1/reference/content_type`): sets caption length, hashtag count, structure, CTA and slide count"},{"type":"null"}]},"team_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"slides":{"description":"Start from these slides instead of the template's","minItems":1,"maxItems":20,"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"style":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Design-level style overrides (scheme, background, headlineFont, emphasis, align, counter, showLogo…). `brand` holds this design's own brand details (`name` ≤ 60, `handle` ≤ 40, `website` ≤ 80, `footer` ≤ 80, `logoUrl`: uploaded or HTTPS image). Each field wins over the brand kit, which wins over the workspace profile (name, Instagram username, website, logo); empty fields render nothing"},"caption":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"brief":{"description":"Write the slides, caption and hashtags with AI right after creating (needs the `ai:generate` scope; uses AI credits)","type":"string","minLength":3,"maxLength":4000},"ai":{"description":"Options for the AI run when `brief` is given","type":"object","properties":{"persona_id":{"description":"Voice (workspace or platform persona). Omitted = the design's persona, else the voice for the content type, else the workspace default; null = none","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"description":"Content type for this run (default: the design's). Saved to the design when the result is applied","anyOf":[{"type":"string","minLength":1,"maxLength":40,"description":"Content type key (see `GET /v1/reference/content_type`): sets caption length, hashtag count, structure, CTA and slide count"},{"type":"null"}]},"language":{"description":"Language code, e.g. `en`, `de`","type":"string","maxLength":10},"slide_count":{"type":"integer","minimum":1,"maximum":20},"extra_instructions":{"type":"string","maxLength":1000},"model":{"description":"AI model for this run: a `ref` from `GET /v1/ai/models`, e.g. `\"openrouter:anthropic/claude-sonnet-5.5\"`. Omitted = automatic routing. Credits use that model's multiplier","type":"string","minLength":3,"maxLength":240},"research":{"description":"Research before writing (default true): read the brand website, the campaign landing page and links in the brief, search the web when the AI provider can, then write only from the facts found (gaps become [placeholders]). Billed as a separate `research` generation (listed in `GET /v1/ai/generations`) at the model's `credits.research` in `GET /v1/ai/models`, refunded if the copy isn't written; the same brief researched again within 30 minutes isn't billed again. `false` writes from the brief and brand details only","type":"boolean"},"urls":{"description":"Extra pages to read while researching (public http(s) pages; links in the brief are found automatically)","maxItems":5,"type":"array","items":{"type":"string","minLength":4,"maxLength":500}}}}}},"example":{"template_id":"cmf0dt0001","campaign_id":"cmf0cmp001","format":"portrait","brief":"Three myths about niacinamide, for people new to skincare. Product: Lumen Glow serum."}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsn001","object":"design","name":"Myth vs fact: niacinamide","status":"draft","template_id":"cmf0dt0001","brand_kit_id":"cmf0bk0001","campaign_id":"cmf0cmp001","persona_id":null,"content_type":"education","team_id":null,"format":"portrait","style":{"brand":{"handle":"@lumen.skincare"}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"slide_count":2,"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"ai_assisted":true,"thumbnail_url":null,"last_exported_at":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:05:00.000Z","ai":{"ok":true,"generation_id":"cmf0gen001","provider":"openrouter","model":"anthropic/claude-sonnet-5.5","fallback_used":false,"credits_charged":8,"sandbox":false,"used_byok":false,"repaired":false,"content_type":"education","persona":{"id":"cmf0prs101","name":"Practical teacher","platform":true,"source":"platform_type"},"research":{"source":"new","generation_id":"cmf0gen000","credits_charged":2,"web_search":true,"summary":"Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.","facts":[{"claim":"Lumen Glow serum costs $34 for 30 ml.","topic":"offer","source":{"kind":"page","url":"https://lumen.example/glow","title":"Lumen Glow serum"}}],"gaps":["The launch discount's end date"],"pages":[{"url":"https://lumen.example/glow","title":"Lumen Glow serum","ok":true,"error":null,"origin":"link"}],"error":null,"created_at":"2026-10-28T10:04:50.000Z"}}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"create_design"}},"/v1/designs/{id}":{"get":{"operationId":"designs.get","summary":"Get a design","description":"Retrieve one design with its slides.\n\nRequired scope: `creatives:read`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsn001","object":"design","name":"Myth vs fact: niacinamide","status":"draft","template_id":"cmf0dt0001","brand_kit_id":"cmf0bk0001","campaign_id":"cmf0cmp001","persona_id":null,"content_type":"education","team_id":null,"format":"portrait","style":{"brand":{"handle":"@lumen.skincare"}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"slide_count":2,"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"ai_assisted":true,"thumbnail_url":null,"last_exported_at":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:05:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"get_design"},"patch":{"operationId":"designs.update","summary":"Update a design","description":"Update fields; omitted fields keep their values and `slides` replaces all slides. Send `expected_updated_at` to avoid overwriting someone else's edit (409 on conflict). Changing `format` must stay within the template's formats.\n\nRequired scope: `creatives:write`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"format":{"type":"string","enum":["portrait","square","story","landscape","wide","pin"],"description":"portrait | square | story | landscape | wide | pin"},"style":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Design-level style overrides (scheme, background, headlineFont, emphasis, align, counter, showLogo…). `brand` holds this design's own brand details (`name` ≤ 60, `handle` ≤ 40, `website` ≤ 80, `footer` ≤ 80, `logoUrl`: uploaded or HTTPS image). Each field wins over the brand kit, which wins over the workspace profile (name, Instagram username, website, logo); empty fields render nothing"},"slides":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"description":"Slides: `{ id, layout, variant?, content, style? }` (see `GET /v1/layouts` for each layout's content fields). Validated server-side"},"brand_kit_id":{"description":"Brand kit ID; null = the template's own look","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"campaign_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"persona_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":40,"description":"Content type key (see `GET /v1/reference/content_type`): sets caption length, hashtag count, structure, CTA and slide count"},{"type":"null"}]},"caption":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"status":{"description":"`archived` hides it and frees a saved-design slot","type":"string","enum":["draft","ready","archived"]},"ai_assisted":{"description":"Mark the copy as AI-written (e.g. you applied a caption from `/captions`). AI runs set it automatically; it is never cleared","type":"boolean","const":true},"expected_updated_at":{"type":"string","maxLength":40,"description":"ISO 8601 date-time: the design's `updated_at` you last read. The write fails with 409 if it changed since"}}},"example":{"caption":"Three niacinamide myths, busted. #ad","status":"ready","expected_updated_at":"2026-10-28T10:05:00.000Z"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsn001","object":"design","name":"Myth vs fact: niacinamide","status":"ready","template_id":"cmf0dt0001","brand_kit_id":"cmf0bk0001","campaign_id":"cmf0cmp001","persona_id":null,"content_type":"education","team_id":null,"format":"portrait","style":{"brand":{"handle":"@lumen.skincare"}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"slide_count":2,"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"ai_assisted":true,"thumbnail_url":null,"last_exported_at":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:05:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"update_design"},"delete":{"operationId":"designs.delete","summary":"Delete a design","description":"Permanently deletes a design and its export files. Media saved to the library and creatives made from it stay.\n\nRequired scope: `creatives:write`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsn001","object":"design","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"delete_design"}},"/v1/designs/{id}/duplicate":{"post":{"operationId":"designs.duplicate","summary":"Duplicate a design","description":"Copies a design as a new draft, optionally renamed or for another campaign.\n\nRequired scope: `creatives:write`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":100},"campaign_id":{"description":"Campaign for the copy (defaults to the original's)","anyOf":[{"type":"string","minLength":1},{"type":"null"}]}}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsn002","object":"design","name":"Myth vs fact: niacinamide (copy)","status":"draft","template_id":"cmf0dt0001","brand_kit_id":"cmf0bk0001","campaign_id":"cmf0cmp001","persona_id":null,"content_type":"education","team_id":null,"format":"portrait","style":{"brand":{"handle":"@lumen.skincare"}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"slide_count":2,"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"ai_assisted":true,"thumbnail_url":null,"last_exported_at":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:05:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"duplicate_design"}},"/v1/designs/{id}/generate":{"post":{"operationId":"designs.generate","summary":"Write a design with AI","description":"AI researches the brief first (the brand website, the campaign landing page, links in the brief and `urls`, plus a web search when the provider supports it; `research: false` skips it; the facts used come back in `research`), then writes the slides, caption and hashtags from it, using the template's guidance, the brand kit, the content type's rules (caption length, hashtags, structure, slide count), the persona's voice and the platform style guide. Output that breaks a rule gets one automatic repair; unusable output is refunded. With `apply` (default) the result is saved together with `content_type` (and an explicit `persona_id`); otherwise it's only returned. A design edited meanwhile returns 409 and is refunded. Needs the `ai:generate` scope as well and uses AI credits. Credits are checked before research runs: without enough for the copy the request fails with `insufficient_credits`, and with enough for the copy but not research too it's written from the brief (the research sheet's `error` says so).\n\nRequired scope: `creatives:write` and `ai:generate`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"brief":{"type":"string","minLength":3,"maxLength":4000,"description":"What the design should say"},"persona_id":{"description":"Voice (workspace or platform persona). Omitted = the design's persona, else the voice for the content type, else the workspace default; null = none","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"description":"Content type for this run (default: the design's). Saved to the design when the result is applied","anyOf":[{"type":"string","minLength":1,"maxLength":40,"description":"Content type key (see `GET /v1/reference/content_type`): sets caption length, hashtag count, structure, CTA and slide count"},{"type":"null"}]},"language":{"description":"Language code, e.g. `en`, `de`","type":"string","maxLength":10},"slide_count":{"type":"integer","minimum":1,"maximum":20},"extra_instructions":{"type":"string","maxLength":1000},"model":{"description":"AI model for this run: a `ref` from `GET /v1/ai/models`, e.g. `\"openrouter:anthropic/claude-sonnet-5.5\"`. Omitted = automatic routing. Credits use that model's multiplier","type":"string","minLength":3,"maxLength":240},"research":{"description":"Research before writing (default true): read the brand website, the campaign landing page and links in the brief, search the web when the AI provider can, then write only from the facts found (gaps become [placeholders]). Billed as a separate `research` generation (listed in `GET /v1/ai/generations`) at the model's `credits.research` in `GET /v1/ai/models`, refunded if the copy isn't written; the same brief researched again within 30 minutes isn't billed again. `false` writes from the brief and brand details only","type":"boolean"},"urls":{"description":"Extra pages to read while researching (public http(s) pages; links in the brief are found automatically)","maxItems":5,"type":"array","items":{"type":"string","minLength":4,"maxLength":500}},"apply":{"description":"Save into the design (default true)","type":"boolean"},"expected_updated_at":{"type":"string","maxLength":40,"description":"ISO 8601 date-time: the design's `updated_at` you last read. The write fails with 409 if it changed since"}},"required":["brief"]},"example":{"brief":"Three myths about niacinamide, for people new to skincare.","content_type":"education","slide_count":5,"apply":true}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"design_generation","design":{"id":"cmf0dsn001","object":"design","name":"Myth vs fact: niacinamide","status":"draft","template_id":"cmf0dt0001","brand_kit_id":"cmf0bk0001","campaign_id":"cmf0cmp001","persona_id":null,"content_type":"education","team_id":null,"format":"portrait","style":{"brand":{"handle":"@lumen.skincare"}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"slide_count":2,"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"ai_assisted":true,"thumbnail_url":null,"last_exported_at":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:05:00.000Z"},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"applied":true,"generation_id":"cmf0gen001","provider":"openrouter","model":"anthropic/claude-sonnet-5.5","fallback_used":false,"credits_charged":8,"sandbox":false,"used_byok":false,"repaired":false,"content_type":"education","persona":{"id":"cmf0prs101","name":"Practical teacher","platform":true,"source":"platform_type"},"research":{"source":"new","generation_id":"cmf0gen000","credits_charged":2,"web_search":true,"summary":"Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.","facts":[{"claim":"Lumen Glow serum costs $34 for 30 ml.","topic":"offer","source":{"kind":"page","url":"https://lumen.example/glow","title":"Lumen Glow serum"}}],"gaps":["The launch discount's end date"],"pages":[{"url":"https://lumen.example/glow","title":"Lumen Glow serum","ok":true,"error":null,"origin":"link"}],"error":null,"created_at":"2026-10-28T10:04:50.000Z"}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write","ai:generate"],"x-mcp-tool":"write_design_with_ai"}},"/v1/designs/{id}/rewrite":{"post":{"operationId":"designs.rewrite","summary":"Rewrite slides with AI","description":"Rewrites some slides in place (same layouts, images and style) with a quick `action` (`shorter`, `punchier`, `casual`, `fit` to fix overflowing text) and/or an `instruction`; `caption: true` rewrites the caption and hashtags too (default when every slide is rewritten). One slide is billed as a `design_edit`, several as `design`. With `apply` (default) the result is saved; 409 if the design changed meanwhile (refunded). Needs the `ai:generate` scope as well.\n\nRequired scope: `creatives:write` and `ai:generate`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slides":{"description":"0-based slide indexes (default all)","minItems":1,"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":19}},"action":{"description":"shorter | punchier | casual | fit","type":"string","enum":["shorter","punchier","casual","fit"]},"instruction":{"description":"What to change, e.g. \"Lead with the price\"","type":"string","maxLength":1000},"brief":{"description":"Facts the rewrite may use","type":"string","maxLength":4000},"caption":{"type":"boolean"},"persona_id":{"description":"Voice (workspace or platform persona). Omitted = the design's persona, else the voice for the content type, else the workspace default; null = none","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"description":"Content type for this run (default: the design's). Saved to the design when the result is applied","anyOf":[{"type":"string","minLength":1,"maxLength":40,"description":"Content type key (see `GET /v1/reference/content_type`): sets caption length, hashtag count, structure, CTA and slide count"},{"type":"null"}]},"language":{"description":"Language code, e.g. `en`, `de`","type":"string","maxLength":10},"model":{"description":"AI model for this run: a `ref` from `GET /v1/ai/models`, e.g. `\"openrouter:anthropic/claude-sonnet-5.5\"`. Omitted = automatic routing. Credits use that model's multiplier","type":"string","minLength":3,"maxLength":240},"apply":{"description":"Save into the design (default true)","type":"boolean"},"expected_updated_at":{"type":"string","maxLength":40,"description":"ISO 8601 date-time: the design's `updated_at` you last read. The write fails with 409 if it changed since"}}},"example":{"slides":[2],"action":"shorter"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"design_rewrite","design":{"id":"cmf0dsn001","object":"design","name":"Myth vs fact: niacinamide","status":"draft","template_id":"cmf0dt0001","brand_kit_id":"cmf0bk0001","campaign_id":"cmf0cmp001","persona_id":null,"content_type":"education","team_id":null,"format":"portrait","style":{"brand":{"handle":"@lumen.skincare"}},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"slide_count":2,"caption":"Three things niacinamide can (and can't) do. #ad","hashtags":["skincare","niacinamide"],"ai_assisted":true,"thumbnail_url":null,"last_exported_at":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:05:00.000Z"},"slides":[{"id":"a1b2c3d4e5","layout":"cover","variant":"stack","content":{"eyebrow":"Skincare myths","headline":"Niacinamide *myths*, busted","subhead":"Swipe before you buy another serum."}},{"id":"f6g7h8i9j0","layout":"list","content":{"headline":"What it actually does","items":[{"title":"Evens tone"},{"title":"Supports the barrier"}]}}],"rewritten":[1],"caption":null,"hashtags":null,"applied":true,"generation_id":"cmf0gen001","provider":"openrouter","model":"anthropic/claude-sonnet-5.5","fallback_used":false,"credits_charged":2,"sandbox":false,"used_byok":false,"repaired":false,"content_type":"education","persona":{"id":"cmf0prs101","name":"Practical teacher","platform":true,"source":"platform_type"},"research":{"source":"new","generation_id":"cmf0gen000","credits_charged":2,"web_search":true,"summary":"Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.","facts":[{"claim":"Lumen Glow serum costs $34 for 30 ml.","topic":"offer","source":{"kind":"page","url":"https://lumen.example/glow","title":"Lumen Glow serum"}}],"gaps":["The launch discount's end date"],"pages":[{"url":"https://lumen.example/glow","title":"Lumen Glow serum","ok":true,"error":null,"origin":"link"}],"error":null,"created_at":"2026-10-28T10:04:50.000Z"}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write","ai:generate"],"x-mcp-tool":"rewrite_design_slides"}},"/v1/designs/{id}/captions":{"post":{"operationId":"designs.captions","summary":"Caption options for a design","description":"AI writes caption options (default 3, each with hashtags) for the design's current slides, following its content type, persona and the style guide. Nothing is saved: pick one and `PATCH` it into the design. Billed as one `design_edit`. Needs the `ai:generate` scope as well.\n\nRequired scope: `creatives:write` and `ai:generate`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"count":{"description":"Default 3","type":"integer","minimum":1,"maximum":5},"brief":{"description":"Extra facts for the caption","type":"string","maxLength":4000},"instruction":{"type":"string","maxLength":1000},"persona_id":{"description":"Voice (workspace or platform persona). Omitted = the design's persona, else the voice for the content type, else the workspace default; null = none","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"description":"Content type for this run (default: the design's). Saved to the design when the result is applied","anyOf":[{"type":"string","minLength":1,"maxLength":40,"description":"Content type key (see `GET /v1/reference/content_type`): sets caption length, hashtag count, structure, CTA and slide count"},{"type":"null"}]},"language":{"description":"Language code, e.g. `en`, `de`","type":"string","maxLength":10},"model":{"description":"AI model for this run: a `ref` from `GET /v1/ai/models`, e.g. `\"openrouter:anthropic/claude-sonnet-5.5\"`. Omitted = automatic routing. Credits use that model's multiplier","type":"string","minLength":3,"maxLength":240}}},"example":{"count":3}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"design_captions","design_id":"cmf0dsn001","options":[{"caption":"Niacinamide won't fix everything. Here's what it does do.\n\nSave this before your next serum haul.","hashtags":["niacinamide","skincaretips"]},{"caption":"3 niacinamide myths we hear every week, and what the research says.\n\nSave it for later.","hashtags":["niacinamide","skincaremyths"]}],"generation_id":"cmf0gen001","provider":"openrouter","model":"anthropic/claude-sonnet-5.5","fallback_used":false,"credits_charged":2,"sandbox":false,"used_byok":false,"repaired":false,"content_type":"education","persona":{"id":"cmf0prs101","name":"Practical teacher","platform":true,"source":"platform_type"},"research":{"source":"new","generation_id":"cmf0gen000","credits_charged":2,"web_search":true,"summary":"Lumen Glow is a niacinamide serum for people new to skincare, sold on lumen.example.","facts":[{"claim":"Lumen Glow serum costs $34 for 30 ml.","topic":"offer","source":{"kind":"page","url":"https://lumen.example/glow","title":"Lumen Glow serum"}}],"gaps":["The launch discount's end date"],"pages":[{"url":"https://lumen.example/glow","title":"Lumen Glow serum","ok":true,"error":null,"origin":"link"}],"error":null,"created_at":"2026-10-28T10:04:50.000Z"}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write","ai:generate"],"x-mcp-tool":"design_caption_options"}},"/v1/designs/{id}/exports":{"post":{"operationId":"designs.export","summary":"Export a design","description":"Renders slides to PNG, JPG, a ZIP of images or a PDF. Rendering runs in the background, so expect `status: queued`: poll `GET /v1/designs/{id}/exports/{export_id}` or pass `wait: true`. An export that finishes within the request returns `status: done`. `save_to_library` also stores the images in the media library. Counts toward the plan's monthly `designExportsPerMonth`; designs from templates above your plan, or holding slide copy from one, export with a watermark. Files not saved to the library are deleted after the platform's retention period (`expires_at`), and count toward the plan's storage until then. With no storage left, an export with `save_to_library` fails with the storage error, and one that is only downloaded is still made but kept for a much shorter time: `expires_at` is sooner and `warnings` says so. An image that can't be loaded (a deleted file, a site that refuses the download or takes too long to send it) is left out of its slide, and the export's `warnings` name it and the slide. An export loads a limited number of images and amount of image data, each image counted at the size the slide shows it, and can't use images over a size limit in megapixels or very large SVG files: images past these limits are left out and `warnings` says so. A workspace can have only a few exports queued or rendering at once (503 `service_unavailable` past that: wait for one to finish), and after several that failed once rendering started within an hour, new ones return 429 `rate_limited` until the hour has passed. The design studio guide in these docs gives the current limits. Emits `design.exported`.\n\nRequired scope: `creatives:write`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"description":"Default `png`","type":"string","enum":["png","jpg","pdf","zip"]},"image_type":{"description":"Image type inside a zip","type":"string","enum":["png","jpg"]},"slides":{"description":"0-based slide indexes (default all)","maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"scale":{"description":"2 = double resolution","anyOf":[{"type":"number","const":1},{"type":"number","const":2}]},"save_to_library":{"type":"boolean"},"folder":{"description":"Media library folder for saved images","type":"string","minLength":1,"maxLength":60},"wait":{"description":"Wait up to 60 seconds for a queued export to finish","type":"boolean"}}},"example":{"kind":"png","scale":1,"save_to_library":true}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dex001","object":"design_export","design_id":"cmf0dsn001","status":"done","kind":"png","error":null,"warnings":[],"watermark":false,"slide_count":2,"download_url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png","files":[{"url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png","filename":"myth-vs-fact-1.png","mime_type":"image/png","byte_size":412331,"width":1080,"height":1350,"media_id":null},{"url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-2.png","filename":"myth-vs-fact-2.png","mime_type":"image/png","byte_size":398112,"width":1080,"height":1350,"media_id":null}],"media_ids":[],"created_at":"2026-10-28T10:06:00.000Z","finished_at":"2026-10-28T10:06:04.000Z","expires_at":"2026-11-04T10:06:04.000Z","creative":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"export_design"},"get":{"operationId":"designs.exports","summary":"List a design's exports","description":"The design's latest exports, newest first.\n\nRequired scope: `creatives:read`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"limit","in":"query","required":false,"description":"","schema":{"default":20,"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0dex001","object":"design_export","design_id":"cmf0dsn001","status":"done","kind":"png","error":null,"warnings":[],"watermark":false,"slide_count":2,"download_url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png","files":[{"url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png","filename":"myth-vs-fact-1.png","mime_type":"image/png","byte_size":412331,"width":1080,"height":1350,"media_id":null},{"url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-2.png","filename":"myth-vs-fact-2.png","mime_type":"image/png","byte_size":398112,"width":1080,"height":1350,"media_id":null}],"media_ids":[],"created_at":"2026-10-28T10:06:00.000Z","finished_at":"2026-10-28T10:06:04.000Z","expires_at":"2026-11-04T10:06:04.000Z","creative":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"list_design_exports"}},"/v1/designs/{id}/exports/{export_id}":{"get":{"operationId":"designs.export_status","summary":"Get an export","description":"Status of one export: `queued`, `rendering`, `done`, `failed` or `expired`. Files and URLs are present once it's `done`.\n\nRequired scope: `creatives:read`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"export_id","in":"path","required":true,"description":"Export ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dex001","object":"design_export","design_id":"cmf0dsn001","status":"done","kind":"png","error":null,"warnings":[],"watermark":false,"slide_count":2,"download_url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png","files":[{"url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-1.png","filename":"myth-vs-fact-1.png","mime_type":"image/png","byte_size":412331,"width":1080,"height":1350,"media_id":null},{"url":"https://coboost.ai/uploads/ws/design-cmf0dsn001-2.png","filename":"myth-vs-fact-2.png","mime_type":"image/png","byte_size":398112,"width":1080,"height":1350,"media_id":null}],"media_ids":[],"created_at":"2026-10-28T10:06:00.000Z","finished_at":"2026-10-28T10:06:04.000Z","expires_at":"2026-11-04T10:06:04.000Z","creative":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:read"],"x-mcp-tool":"get_design_export"}},"/v1/designs/{id}/creative":{"post":{"operationId":"designs.save_as_creative","summary":"Save a design as a creative","description":"Renders the slides into the media library (counts as one export) and creates a draft creative linked to the design, with its caption and hashtags. Story designs become `ig_story`, one-slide portrait or square designs `ig_feed_image`, several slides `ig_carousel`. Rendering runs in the background, so expect `status: queued` with `creative: null`, empty `media` and an `export_id`: poll `GET /v1/designs/{id}/exports/{export_id}` until its `creative.status` is `created` (`creative.id` is the new creative) or `failed` (`creative.error` says why), or listen for `creative.created`. A render that finishes within the request returns `status: created` with the `creative` and its `media`, so handle both. Asking again with the same options while one is queued returns that one; a different format, campaign or name, or an edit to the design, makes a new export. An image that can't be loaded, or that the server render's image limits leave out, fails the export and makes no creative, rather than leaving the photo out of the post.\n\nRequired scope: `creatives:write`.","tags":["Design studio"],"parameters":[{"name":"id","in":"path","required":true,"description":"Design ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"campaign_id":{"description":"Campaign for the creative (defaults to the design's)","anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"format":{"description":"Defaults from the design's canvas and slide count. `ig_feed_image` uses the first slide","type":"string","enum":["ig_feed_image","ig_carousel","ig_story"]},"name":{"type":"string","minLength":1,"maxLength":120}}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"design_creative","design_id":"cmf0dsn001","status":"queued","export_id":"cmf0dex001","creative":null,"media":[]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write"],"x-mcp-tool":"save_design_as_creative"}},"/v1/placements":{"get":{"operationId":"placements.list","summary":"List placements","description":"Placements are individual ad slots: one creative on one creator account for one campaign. Use `side=creator` for ad requests on your connected accounts and `side=advertiser` for placements of your campaigns. `side` defaults to the workspace's only side; **a workspace that runs both sides must pass it** (422 otherwise; `GET /v1/me` lists the workspace's `sides`). Newest first. Campaigns with unique posts start each placement in `drafting` while its post is written and reviewed (`pending_status` is the status it moves to next); creators see `creative: null` until it's ready. Fees depend on the side: `side=creator` has `platform_fee_cents` (the platform's fee, taken from your earning) and `net_payout_cents` (what you earn), both `null` unless the key can view earnings; `side=advertiser` has `advertiser_fee_cents` (your marketplace fee, charged on top of the price) and `total_cents` (the price plus that fee). Neither side sees the other's fee.\n\nRequired scope: `placements:read`.","tags":["Placements"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"side","in":"query","required":false,"description":"`creator` = requests on your accounts; `advertiser` = placements of your campaigns. Required when the workspace runs both sides; defaults to its only side otherwise","schema":{"type":"string","enum":["creator","advertiser"]}},{"name":"status","in":"query","required":false,"description":"Comma-separated statuses, e.g. `pending_approval,changes_requested`","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["drafting","pending_approval","pending_advertiser","changes_requested","approved","rejected","scheduled","publishing","published","disputed","completed","removed_early","failed","canceled","expired"]}},{"type":"string"}]}},{"name":"campaign_id","in":"query","required":false,"description":"Only placements of this campaign","schema":{"type":"string","maxLength":64}},{"name":"account_id","in":"query","required":false,"description":"Only placements on this account","schema":{"type":"string","maxLength":64}},{"name":"origin","in":"query","required":false,"description":"`matched` (campaign targeting), `open` (accepted open campaign) or `direct` (hand-picked request)","schema":{"type":"string","enum":["matched","open","direct"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0plc001","object":"placement","side":"creator","status":"pending_approval","origin":"matched","price_cents":45000,"platform_fee_cents":4500,"net_payout_cents":40500,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","content_digest":"5f0c9d2e7b41a8c36e2d9f0a1b7c4e85d3a6f9b2c1e0d7a4b8f3c6e9d2a5b1f0"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read"],"x-mcp-tool":"list_placements"}},"/v1/placements/{id}":{"get":{"operationId":"placements.get","summary":"Get a placement","description":"Retrieve a placement with its campaign, account and creative. Works from either side of the marketplace. Fees depend on the side: `side=creator` has `platform_fee_cents` (the platform's fee, taken from your earning) and `net_payout_cents` (what you earn), both `null` unless the key can view earnings; `side=advertiser` has `advertiser_fee_cents` (your marketplace fee, charged on top of the price) and `total_cents` (the price plus that fee). Neither side sees the other's fee.\n\nRequired scope: `placements:read`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"side","in":"query","required":false,"description":"Disambiguate when the workspace is on both sides","schema":{"type":"string","enum":["creator","advertiser"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"creator","status":"pending_approval","origin":"matched","price_cents":45000,"platform_fee_cents":4500,"net_payout_cents":40500,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","content_digest":"5f0c9d2e7b41a8c36e2d9f0a1b7c4e85d3a6f9b2c1e0d7a4b8f3c6e9d2a5b1f0"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read"],"x-mcp-tool":"get_placement"}},"/v1/placements/{id}/approve":{"post":{"operationId":"placements.approve","summary":"Approve a placement","description":"Creator side. Approves a `pending_approval` placement (including direct requests at the advertiser's current offer), reserves the advertiser's funds and schedules it in the next slot allowed by the account's pacing rules. If the advertiser's wallet is short, the placement stays `pending_approval` with `pending_status: \"awaiting_funds\"` and is scheduled automatically when they add funds. A post your approval rules booked (`scheduled`, still in its review window) is approved outright and keeps its slot. Approving approves the post as it is: pass the placement's `content_digest` as `expected_digest` (for a post in its review window, the content that booking covers) and an approval of a post the advertiser changed after you read it returns 409 instead.\n\nRequired scope: `placements:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_digest":{"description":"The placement's `content_digest` when you reviewed it: refused (409) if the post changed since","type":"string","minLength":1,"maxLength":128}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"creator","status":"scheduled","origin":"matched","price_cents":45000,"platform_fee_cents":4500,"net_payout_cents":40500,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":"https://coboost.ai/l/3f9a0c1d2b4e5f60","auto_approved":false,"decision_reason":null,"decided_at":"2026-10-28T11:00:00.000Z","failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","content_digest":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write"],"x-mcp-tool":"approve_placement"}},"/v1/placements/{id}/reject":{"post":{"operationId":"placements.reject","summary":"Reject a placement","description":"Creator side. Declines a pending placement; the reason is shared with the advertiser and any reserved funds are released.\n\nRequired scope: `placements:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":3,"maxLength":1000,"description":"Why you're declining (shown to the advertiser)"}},"required":["reason"]},"example":{"reason":"Not a fit for my audience"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"creator","status":"rejected","origin":"matched","price_cents":45000,"platform_fee_cents":4500,"net_payout_cents":40500,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":"Not a fit for my audience","decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","content_digest":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write"],"x-mcp-tool":"reject_placement"}},"/v1/placements/{id}/request-changes":{"post":{"operationId":"placements.request_changes","summary":"Request changes","description":"Creator side. Sends a `pending_approval` placement back to the advertiser with requested edits. The advertiser resubmits it after updating the creative.\n\nRequired scope: `placements:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":3,"maxLength":2000,"description":"What should change"}},"required":["message"]},"example":{"message":"Please add #ad at the start of the caption"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"creator","status":"changes_requested","origin":"matched","price_cents":45000,"platform_fee_cents":4500,"net_payout_cents":40500,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":"Please add #ad at the start of the caption","decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","content_digest":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write"],"x-mcp-tool":"request_placement_changes"}},"/v1/placements/{id}/edit-creative":{"post":{"operationId":"placements.edit_creative","summary":"Get the creative to edit","description":"Advertiser side. Before editing the creative of a `changes_requested` placement, call this to give the placement a creative of its own and get it back in `creative`. A creative other placements also use is copied first (`kind: variant`, for this creator only) and the placement switched to the copy, so the edit doesn't change other creators' posts or send their approved posts back for approval. A creative only this placement uses is returned as it is, so calling it again returns the same one. Then edit `creative.id` with `PATCH /v1/creatives/{id}` and send it back with `POST /v1/placements/{id}/resubmit`. A creative that is already the placement's own (`kind: variant`: a unique post, or a copy made earlier) can also be edited with `PATCH /v1/variants/{id}`, which needs only `campaigns:write`. `actions.edit_creative` on `GET /v1/requests/{id}` says when the creator is waiting on an edit.\n\nRequired scope: `creatives:write` and `campaigns:read`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"changes_requested","origin":"matched","price_cents":45000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt002","object":"creative","name":"Serum reel · @maya.creates","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"variant","parent_id":"cmf0crt001","variant_for_account_id":"cmf0acc001","angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write","campaigns:read"],"x-mcp-tool":"edit_placement_creative"}},"/v1/placements/{id}/resubmit":{"post":{"operationId":"placements.resubmit","summary":"Resubmit a placement","description":"Advertiser side. After updating the creative, send a `changes_requested` placement back to the creator for review.\n\nRequired scope: `campaigns:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"description":"Optional note to the creator","type":"string","maxLength":2000}}},"example":{"note":"Moved #ad to the first line."}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"pending_approval","origin":"matched","price_cents":45000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"resubmit_placement"}},"/v1/placements/{id}/cancel":{"post":{"operationId":"placements.cancel","summary":"Cancel a placement","description":"Advertiser side. Cancels a placement that hasn't been published yet and releases its reserved funds. Inside the creator's cutoff before publishing, and on a post your pause or a later start date held past its time (until it publishes, however far it was rescheduled), part of the slot price is paid to the creator as a late cancellation fee: check `GET /v1/placements/{id}/cancel-preview` and send the fee as `accept_late_fee_cents`, or the call is refused with a 409 whose `error.code` is `conflict` and `error.details.code` is `late_cancel_fee_required`, and nothing changes.\n\nRequired scope: `campaigns:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accept_late_fee_cents":{"description":"The late cancellation fee you agree to pay, from the cancel preview. Required when one is due.","type":"integer","minimum":0,"maximum":9007199254740991}}},"example":{"accept_late_fee_cents":22500}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"canceled","origin":"matched","price_cents":45000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":22500,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"cancel_placement"}},"/v1/placements/{id}/cancel-preview":{"get":{"operationId":"placements.cancel_preview","summary":"Preview canceling a placement","description":"Advertiser side. What canceling this placement now would cost. `late_cancel_fee_cents` is due inside the creator's cutoff before publishing, and on a post your pause or a later start date held past its time, until it publishes, however far it was rescheduled after that (a new time you and the creator agree included). It is 0 on any other post, and also soon after booking, when the creator can't publish the post, or when the post publishes a caption the creator rewrote before approving it that you never accepted (a post you booked by accepting the creator's counter-offer or application owes the fee). `refund_to_escrow_cents` is the part of `refund_cents` that returns to a running open campaign's escrow; the rest returns to the wallet.\n\nRequired scope: `campaigns:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"placement_cancel_preview","cancelable":true,"late_cancel_fee_cents":22500,"refund_cents":27000,"refund_to_escrow_cents":0,"fee_percent":50,"cutoff_hours":24,"currency":"USD"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"get_placement_cancel_preview"}},"/v1/placements/{id}/messages":{"get":{"operationId":"placements.messages.list","summary":"List placement messages","description":"The conversation between creator and advertiser on a placement, oldest first. System messages record approvals and scheduling. `body` is what was written and is empty for a message that only carries files; `display_body` always has something to show (\"Sent a file\"). Each file in `attachments` has a `url` you can fetch without the API key until `url_expires_at`; list again for a new one. The links are private to this deal, so don't publish them.\n\nRequired scope: `placements:read`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0msg001","object":"placement_message","placement_id":"cmf0plc001","side":"system","author":null,"body":"Approved. Scheduled for 2026-11-02T15:00:00.000Z.","display_body":"Approved. Scheduled for 2026-11-02T15:00:00.000Z.","attachments":[],"created_at":"2026-10-28T11:00:00.000Z"},{"id":"cmf0msg002","object":"placement_message","placement_id":"cmf0plc001","side":"creator","author":"Maya Chen","body":"Here's the brief.","display_body":"Here's the brief.","attachments":[{"id":"cmf0att001","object":"placement_attachment","filename":"brief.pdf","mime_type":"application/pdf","size_bytes":182044,"url":"https://coboost.ai/api/deal-files/attachment.cmf0plc001.cmf0att001.…","url_expires_at":"2026-10-28T11:20:00.000Z"}],"created_at":"2026-10-28T11:05:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read"],"x-mcp-tool":"list_placement_messages"},"post":{"operationId":"placements.messages.create","summary":"Send a placement message","description":"Post a message to the other side of a placement, with text, files or both. Requires `placements:write` on the creator side or `campaigns:write` on the advertiser side. To send files, upload each with `POST /v1/placements/{id}/attachments` and pass the returned ids as `attachment_ids`. If any of them can't be sent (another deal's file, another person's, or one already sent), nothing is sent.\n\nRequired scope: `placements:write` or `campaigns:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"description":"Message text, up to 2,000 characters. Required unless `attachment_ids` has files","type":"string","maxLength":2000},"attachment_ids":{"description":"Unsent files of yours on this placement to send with the message. The number per message is set by the platform","type":"array","items":{"type":"string","minLength":1,"maxLength":64}}}},"example":{"body":"Here's the brief.","attachment_ids":["cmf0att001"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0msg002","object":"placement_message","placement_id":"cmf0plc001","side":"creator","author":"Maya Chen","body":"Here's the brief.","display_body":"Here's the brief.","attachments":[{"id":"cmf0att001","object":"placement_attachment","filename":"brief.pdf","mime_type":"application/pdf","size_bytes":182044,"url":"https://coboost.ai/api/deal-files/attachment.cmf0plc001.cmf0att001.…","url_expires_at":"2026-10-28T11:20:00.000Z"}],"created_at":"2026-10-28T11:05:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write","campaigns:write"],"x-mcp-tool":"send_placement_message"}},"/v1/placements/{id}/counter":{"post":{"operationId":"placements.counter","summary":"Counter a direct request","description":"Creator side. Answer a `pending_approval` direct request (`origin: direct`) with your own price. The placement moves to `pending_advertiser` until the advertiser accepts, declines or counters back. Counters on both sides are limited per request (`negotiation.rounds`); approve to accept the current offer instead. A counter approves the post as it is (an advertiser who accepts your price books it as you saw it): pass the placement's `content_digest` as `expected_digest` and a counter on a post the advertiser changed after you read it returns 409 instead.\n\nRequired scope: `placements:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"price_cents":{"type":"integer","minimum":100,"maximum":100000000,"description":"Your total for this post, in cents, including any usage rights add-on (at least the platform minimum offer plus that add-on)"},"message":{"description":"Optional note to the advertiser","type":"string","maxLength":1000},"expected_digest":{"description":"The placement's `content_digest` when you reviewed it: refused (409) if the post changed since","type":"string","minLength":1,"maxLength":128}},"required":["price_cents"]},"example":{"price_cents":60000,"message":"Happy to do this as a Reel at my usual rate.","expected_digest":"5f0c9d2e7b41a8c36e2d9f0a1b7c4e85d3a6f9b2c1e0d7a4b8f3c6e9d2a5b1f0"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"creator","status":"pending_advertiser","origin":"direct","price_cents":45000,"platform_fee_cents":4500,"net_payout_cents":40500,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":45000,"counter_price_cents":60000,"rounds":1},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","content_digest":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write"],"x-mcp-tool":"counter_direct_request"}},"/v1/placements/{id}/attachments":{"post":{"operationId":"placements.attachments.create","summary":"Upload a message attachment","description":"Adds a file for the next message on this placement. Send it with `POST /v1/placements/{id}/messages` and its id in `attachment_ids`; until then only you can see it, it counts toward the files one message can carry, and it's deleted if it's never sent. Pass the file as `content_base64` with a `filename`, or as a public `url` to download from. Over MCP a request is limited to 1 MB, so use `url` for files over about 700 KB. The type is read from the file's bytes, and the accepted types and largest size are set by the platform; a refused file's error says what's accepted.\n\nRequired scope: `placements:write` or `campaigns:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"filename":{"description":"Name to show for the file. Required with `content_base64`; with `url` it defaults to the URL's last path segment. The extension is always replaced by the one the file's bytes prove","type":"string","minLength":1,"maxLength":200},"content_base64":{"description":"The file, base64 encoded. Send this or `url`","type":"string","minLength":1},"url":{"description":"Public https:// URL of the file. Send this or `content_base64`","type":"string","maxLength":2000,"format":"uri"}}},"example":{"filename":"brief.pdf","content_base64":"JVBERi0xLjcK…"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0att001","object":"placement_attachment","filename":"brief.pdf","mime_type":"application/pdf","size_bytes":182044,"url":null,"url_expires_at":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write","campaigns:write"],"x-mcp-tool":"upload_placement_attachment"},"get":{"operationId":"placements.attachments.list","summary":"List your unsent attachments","description":"Your files on this placement that haven't gone out with a message yet, oldest first. Files already sent are on `GET /v1/placements/{id}/messages`.\n\nRequired scope: `placements:read` or `campaigns:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0att001","object":"placement_attachment","filename":"brief.pdf","mime_type":"application/pdf","size_bytes":182044,"url":null,"url_expires_at":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read","campaigns:write"],"x-mcp-tool":"list_placement_attachments"}},"/v1/placements/{id}/attachments/{attachment_id}":{"delete":{"operationId":"placements.attachments.delete","summary":"Remove an unsent attachment","description":"Deletes one of your files on this placement that hasn't been sent. A file that's been sent can't be removed.\n\nRequired scope: `placements:write` or `campaigns:write`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"attachment_id","in":"path","required":true,"description":"Attachment ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0att001","object":"placement_attachment","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write","campaigns:write"],"x-mcp-tool":"remove_placement_attachment"}},"/v1/placements/{id}/deal-summaries":{"post":{"operationId":"placements.deal_summaries.create","summary":"Request a deal summary PDF","description":"Renders a PDF of a booked deal: the approved post, price and usage rights. Rendering runs in the background, so expect `status: queued`: poll `GET /v1/placements/{id}/deal-summaries/{export_id}` or pass `wait: true`, and download from `download_url` once it's `ready`. Either side can request its own copy. Only one is prepared per deal and side at a time, so asking again meanwhile returns the same one. Workspaces have a daily limit. Booked deals only (409 otherwise).\n\nRequired scope: `placements:write` or `campaigns:write` and `placements:read`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wait":{"description":"Wait up to 60 seconds for a queued PDF to finish","type":"boolean"}}},"example":{"wait":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsm001","object":"deal_summary","placement_id":"cmf0plc001","status":"queued","error":null,"download_url":null,"download_url_expires_at":null,"created_at":"2026-10-28T11:00:00.000Z","completed_at":null,"expires_at":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write","campaigns:write","placements:read"],"x-mcp-tool":"request_deal_summary"}},"/v1/placements/{id}/deal-summaries/{export_id}":{"get":{"operationId":"placements.deal_summaries.get","summary":"Get a deal summary PDF","description":"Status of one deal summary: `queued`, `rendering`, `ready`, `failed` or `expired`. While it's `ready`, `download_url` fetches the PDF without the API key until `download_url_expires_at`; get the summary again for a new link. The PDF itself is deleted at `expires_at`, or as soon as what it prints no longer stands: the deal goes back to the creator for approval, a failed post is booked again, both sides agree a new publish time, or a post whose slot passed while its campaign was paused moves to a new one. Only the side that requested it can read it.\n\nRequired scope: `placements:read`.","tags":["Placements"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"export_id","in":"path","required":true,"description":"Deal summary ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsm001","object":"deal_summary","placement_id":"cmf0plc001","status":"ready","error":null,"download_url":"https://coboost.ai/api/deal-files/deal_summary.cmf0plc001.cmf0dsm001.…","download_url_expires_at":"2026-10-28T11:16:00.000Z","created_at":"2026-10-28T11:00:00.000Z","completed_at":"2026-10-28T11:01:00.000Z","expires_at":"2026-11-04T11:01:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read"],"x-mcp-tool":"get_deal_summary"}},"/v1/opportunities":{"get":{"operationId":"opportunities.list","summary":"List opportunities","description":"Creator side. Live open campaigns your connected accounts can accept, listed in the marketplace or not: the advertiser's price per post, your earning after the platform fee, requirements, creatives, remaining slots and a per-account fit: `blockers` are what stops the account (the advertiser's requirements, an exclusion, or its place in the marketplace), `warnings` are your own policy and rates, and `price_blocker` says your own usage rights prices stop the account (the campaign stays listed with `can_accept: false`): they come to more than the platform allows on one deal, so lower them, or the campaign asks for usage rights and the account has no usage rights prices (`needs_usage_rights_prices: true`), so set one or choose `no_extra_cost` with `PUT /v1/accounts/{id}/usage-rights-prices`. `total_cents` is the offer plus your add-on, `total_earning_cents` is what you'd earn on it (`null` without permission to view earnings), `over_budget` means that total is more than the campaign has left (you can still apply, but the advertiser has to raise the budget to approve it) and `usage_period_unpriced` means the campaign sets no usage period, so your per-day price isn't charged. `excluded: true` means the advertiser excluded that account from the campaign: it can't book or apply until they lift that, and the reason is in `blockers`. `already_posted: true` means the account already posted on the campaign (its post completed, was removed early or is disputed): an account takes an open campaign once, so it can't book or apply to it again, and the reason is in `blockers` (`placement` is its latest placement on the campaign). `marketplace_block` says the account can't take any open campaign: `removed_from_marketplace` when an admin removed it from the marketplace (contact support to have it reviewed), `needs_marketplace_terms` when you haven't agreed to the current marketplace terms for it (agree on the account's page in the app); the reason is in `blockers`. An account you unlisted yourself can still take open campaigns. The campaign stays listed with `can_accept: false` when an exclusion or `marketplace_block` is all that keeps the account from it. By default only campaigns that pass your policy are listed; set `matching_only=false` to see the rest.\n\nRequired scope: `accounts:read` or `placements:read`.","tags":["Opportunities"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"account_id","in":"query","required":false,"description":"Only evaluate this account","schema":{"type":"string","maxLength":40}},{"name":"category","in":"query","required":false,"description":"Content category key","schema":{"type":"string","maxLength":40}},{"name":"format","in":"query","required":false,"description":"Only campaigns with a creative in this format","schema":{"type":"string","maxLength":40}},{"name":"min_price_cents","in":"query","required":false,"description":"","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"matching_only","in":"query","required":false,"description":"Only campaigns that pass your policy and rates (default true)","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"sort","in":"query","required":false,"description":"","schema":{"type":"string","enum":["newest","price","ending"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0cmp002","name":"Glow Ambassadors","description":"Show your morning routine with our vitamin C serum.","category":"beauty","objective":"awareness","status":"active","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","logo_url":null,"verified":true,"website":"https://lumen.example"},"price_cents":30000,"earning_cents":27000,"currency":"USD","acceptance_mode":"instant","collab":true,"collab_handles":["lumen.skincare"],"usage_rights":{"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"start_date":null,"end_date":"2026-12-15T07:59:59.999Z","time_zone":"America/Los_Angeles","slots_left":12,"requirements":{"categories":["beauty","lifestyle"],"countries":["US","GB"],"min_followers":10000,"max_followers":null,"min_engagement":2},"landing_url":"https://lumen.example/serum","creatives":[{"id":"cmf0crt002","name":"Serum reel","format_key":"ig_reel","caption":"My 5-step morning routine #ad","hashtags":["#ad"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"ai_generated":false,"digest":"8b3e1f6a0c9d2e5b7a4f1c8e3d6b9a2f5c0e7d4a1b8f3e6c9d2a5b0f7e4c1a8d"}],"accounts":[{"account_id":"cmf0acc001","username":"maya.creates","avatar_url":null,"followers":48200,"creative_ids":["cmf0crt002"],"blockers":[],"warnings":[],"can_accept":true,"placement":null,"already_posted":false,"excluded":false,"marketplace_block":null,"usage_rights_price":null,"price_blocker":null,"needs_usage_rights_prices":false,"usage_period_unpriced":false,"total_cents":30000,"total_earning_cents":27000,"over_budget":false}],"launched_at":"2026-10-20T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read","placements:read"],"x-mcp-tool":"list_opportunities"}},"/v1/opportunities/{id}":{"get":{"operationId":"opportunities.get","summary":"Get an opportunity","description":"Creator side. One open campaign with per-account fit, as in `GET /v1/opportunities`: an account with `marketplace_block` or `already_posted: true` can't take it, with the reason in `blockers`. Campaigns that closed are still returned when one of your accounts joined them (`live: false`).\n\nRequired scope: `accounts:read` or `placements:read`.","tags":["Opportunities"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0cmp002","name":"Glow Ambassadors","description":"Show your morning routine with our vitamin C serum.","category":"beauty","objective":"awareness","status":"active","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","logo_url":null,"verified":true,"website":"https://lumen.example"},"price_cents":30000,"earning_cents":27000,"currency":"USD","acceptance_mode":"instant","collab":true,"collab_handles":["lumen.skincare"],"usage_rights":{"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"start_date":null,"end_date":"2026-12-15T07:59:59.999Z","time_zone":"America/Los_Angeles","slots_left":12,"requirements":{"categories":["beauty","lifestyle"],"countries":["US","GB"],"min_followers":10000,"max_followers":null,"min_engagement":2},"landing_url":"https://lumen.example/serum","creatives":[{"id":"cmf0crt002","name":"Serum reel","format_key":"ig_reel","caption":"My 5-step morning routine #ad","hashtags":["#ad"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"ai_generated":false,"digest":"8b3e1f6a0c9d2e5b7a4f1c8e3d6b9a2f5c0e7d4a1b8f3e6c9d2a5b0f7e4c1a8d"}],"accounts":[{"account_id":"cmf0acc001","username":"maya.creates","avatar_url":null,"followers":48200,"creative_ids":["cmf0crt002"],"blockers":[],"warnings":[],"can_accept":true,"placement":null,"already_posted":false,"excluded":false,"marketplace_block":null,"usage_rights_price":null,"price_blocker":null,"needs_usage_rights_prices":false,"usage_period_unpriced":false,"total_cents":30000,"total_earning_cents":27000,"over_budget":false}],"launched_at":"2026-10-20T10:00:00.000Z","live":true,"can_act":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read","placements:read"],"x-mcp-tool":"get_opportunity"}},"/v1/opportunities/{id}/accept":{"post":{"operationId":"opportunities.accept","summary":"Accept an opportunity","description":"Creator side. Accept an open campaign with one of your accounts and one of the campaign's creatives. `instant` campaigns book the slot right away (funds move from the campaign's escrow and the post is scheduled); `review` campaigns create an application (`pending_advertiser`) the advertiser approves or declines. If you charge for the campaign's usage rights, your add-on goes on top of the offer and the acceptance is always an application, so the advertiser sees the total first (`accounts[].usage_rights_price`, `total_cents`): check `accounts[].over_budget`, because an application the budget can't cover can't be approved until the advertiser raises it. While the platform requires a price before usage rights can be taken, a campaign that asks for them returns 409 with `needs_usage_rights_prices` for an account that has none: set one, or choose `no_extra_cost`, with `PUT /v1/accounts/{id}/usage-rights-prices` first. An account the advertiser excluded from the campaign (`accounts[].excluded`) returns 409 with `excluded_by_advertiser`. An account that already posted on the campaign (`accounts[].already_posted`: its post completed, was removed early or is disputed) returns 409 with `already_posted` in `details`, with that post's `placement_id` and `placement_status`: each account takes an open campaign once. An account an admin removed from the marketplace returns 409 with `removed_from_marketplace` (contact support to have it reviewed), and one you haven't agreed to the current marketplace terms for returns 409 with `needs_marketplace_terms` (agree on the account's page in the app): `accounts[].marketplace_block` says so before you try. An account you unlisted yourself can still accept. Bookings already made aren't affected, but the advertiser can't approve an application still waiting on them once an admin has removed the account from the marketplace (they can decline it, or it expires); one whose agreement to the terms lapsed after applying can still be approved. Accepting approves the creative as it is: pass its `digest` from the opportunity as `expected_digest` and an acceptance of a creative the advertiser changed after you read it returns 409 instead.\n\nRequired scope: `placements:write`.","tags":["Opportunities"],"parameters":[{"name":"id","in":"path","required":true,"description":"Campaign ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":40,"description":"Your connected account"},"creative_id":{"type":"string","minLength":1,"maxLength":40,"description":"One of the campaign's creatives"},"message":{"description":"Optional note to the advertiser","type":"string","maxLength":1000},"expected_digest":{"description":"The creative's `digest` from `GET /v1/opportunities/{id}` when you reviewed it: refused (409) if the advertiser changed it since","type":"string","minLength":1,"maxLength":128}},"required":["account_id","creative_id"]},"example":{"account_id":"cmf0acc001","creative_id":"cmf0crt002","expected_digest":"8b3e1f6a0c9d2e5b7a4f1c8e3d6b9a2f5c0e7d4a1b8f3e6c9d2a5b0f7e4c1a8d"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"opportunity_acceptance","placement_id":"cmf0plc009","status":"scheduled","scheduled_at":"2026-11-02T15:00:00.000Z","placement":{"id":"cmf0plc009","object":"placement","side":"creator","status":"scheduled","origin":"open","price_cents":45000,"platform_fee_cents":4500,"net_payout_cents":40500,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":true,"collab_handles":["lumen.skincare"],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":"https://coboost.ai/l/9b1e4d7a20c35f86","auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","content_digest":null}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write"],"x-mcp-tool":"accept_opportunity"}},"/v1/requests/preview":{"get":{"operationId":"requests.preview","summary":"Preview a direct request","description":"Advertiser side. Before sending a request: whether the creator takes direct requests (`mode`), their public rates (with collab add-ons), what they'd ask for this creative (`asking_cents`, before usage rights), what the usage rights you pass would add (`usage_rights.quote`, null when you pass none; lines the creator hasn't priced are at no extra cost), the deal's total (`total_cents`) and public-safe warnings for your campaign, creative and price. `usage_rights.error` says why terms can't be sent: over the platform's limit, no usage period for a creator who charges by the day, or a creator who hasn't set usage rights prices yet (`usage_rights.prices.unpriced`, known before you pass any terms), who can't take usage rights until they do. Send `usage_rights.quote.price_cents` as `usage_rights_price_cents` when you create the request. Nothing is sent. `can_send_without_usage_rights` says whether the request could be sent without its usage rights: when it's false, something else blocks it too.\n\nRequired scope: `marketplace:read`.","tags":["Requests"],"parameters":[{"name":"account_id","in":"query","required":true,"description":"Creator account ID from the marketplace","schema":{"type":"string","minLength":1,"maxLength":40}},{"name":"campaign_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":40}},{"name":"creative_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":40}},{"name":"price_cents","in":"query","required":false,"description":"Your offer before any usage rights add-on; defaults to the creator's rate","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"collab","in":"query","required":false,"description":"Request a collab post","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"usage_duration_days","in":"query","required":false,"description":"Usage rights to quote: days from publishing","schema":{"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"usage_channels","in":"query","required":false,"description":"Usage rights to quote: comma-separated keys from `GET /v1/reference/usage_channel`","schema":{"type":"string","maxLength":1000}},{"name":"usage_paid_amplification","in":"query","required":false,"description":"Usage rights to quote: may run as paid ads","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"usage_exclusivity_days","in":"query","required":false,"description":"Usage rights to quote: days of exclusivity","schema":{"type":"integer","minimum":1,"maximum":9007199254740991}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"account":{"id":"cmf0acc003","username":"techbyleo","display_name":"Leo","avatar_url":null,"followers":182000},"mode":"anyone","rates":[{"format_key":"ig_reel","price_cents":90000,"collab_enabled":true,"collab_price_cents":18000}],"approval_sla_hours":48,"can_send":true,"can_send_without_usage_rights":true,"warnings":["Below their rate for this format"],"asking_cents":108000,"total_cents":113000,"usage_rights":{"prices":{"channels":{"website":5000},"paid_amplification_cents":null,"exclusivity_day_cents":null,"extra_day_cents":null,"no_extra_cost":false,"included_days":30,"from_cents":5000,"from_per_day":false,"unpriced":false},"quote":{"price_cents":5000,"lines":[{"label":"Brand website","cents":5000}]},"error":null}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["marketplace:read"],"x-mcp-tool":"preview_direct_request"}},"/v1/requests/campaigns":{"get":{"operationId":"requests.campaigns","summary":"List requestable campaigns","description":"Advertiser side. Running targeted and direct campaigns a request can be attached to, with their ready creatives and remaining budget (budget minus committed and pending requests). Each creative's `thumbnail` is its first file as it publishes. Show it from `thumbnail_display_url`, which for a stock photo is Unsplash's own image, with `thumbnail_attribution` (the photographer's credit, as a creative's media `attribution`) wherever you show it; it's null for other files.\n\nRequired scope: `campaigns:read`.","tags":["Requests"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0cmp003","name":"Creator Spotlights","type":"direct","status":"active","collab":false,"collab_handles":[],"end_date":"2026-12-31T00:00:00.000Z","remaining_cents":250000,"creatives":[{"id":"cmf0crt003","name":"Spotlight reel","format_key":"ig_reel","thumbnail":"https://coboost.ai/uploads/ws/spotlight.mp4","thumbnail_display_url":"https://coboost.ai/uploads/ws/spotlight.mp4","thumbnail_attribution":null},{"id":"cmf0crt004","name":"Sunlit serum","format_key":"ig_feed_image","thumbnail":"https://coboost.ai/uploads/ws/unsplash-ph1.jpg","thumbnail_display_url":"https://images.unsplash.com/photo-ph1?w=1080","thumbnail_attribution":{"provider":"unsplash","photographer_name":"Anna Lee","photographer_url":"https://unsplash.com/@annaphoto?utm_source=coboost&utm_medium=referral","source_name":"Unsplash","source_url":"https://unsplash.com/?utm_source=coboost&utm_medium=referral","text":"Photo by Anna Lee on Unsplash"}}]}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"list_requestable_campaigns"}},"/v1/requests":{"post":{"operationId":"requests.create","summary":"Send a direct request","description":"Advertiser side. Send a hand-picked creator a request for one creative of a running targeted or direct campaign, at your price. The price, plus anything the creator charges for the usage rights, is reserved from your wallet; the creator approves, declines or counters (`placement.countered` webhook). When the creator charges for the usage rights, send the add-on you were quoted as `usage_rights_price_cents`: without it, or if it has changed, the call returns 409 with the current amount. Terms that allow reuse need a usage period if the creator charges by the day. While the platform requires a price before usage rights can be taken, they can't be sent to a creator who hasn't set any: the call returns 409 with `needs_usage_rights_prices`, so send the request without them. Requires direct requests on your plan (and collab posts for `collab: true`).\n\nRequired scope: `campaigns:write`.","tags":["Requests"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":40,"description":"Creator account ID"},"campaign_id":{"type":"string","minLength":1,"maxLength":40},"creative_id":{"type":"string","minLength":1,"maxLength":40,"description":"A ready creative of the campaign"},"price_cents":{"type":"integer","minimum":100,"maximum":100000000,"description":"Your offer for the post (at least the platform minimum), before any usage rights add-on. The placement's `price_cents` is the total."},"collab":{"description":"Ask for a collab post with your brand as collaborator","type":"boolean"},"brief":{"description":"Note to the creator","type":"string","maxLength":2000},"requested_publish_at":{"description":"Preferred publish time (ISO 8601), before the campaign's end_date","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"usage_rights":{"description":"Usage rights for this deal. What the creator charges for them is added to the total. Channels are keys from `GET /v1/reference/usage_channel`.","anyOf":[{"type":"object","properties":{"duration_days":{"description":"Days from publishing the advertiser may reuse the post","anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]},"channels":{"description":"Where it may be reused: keys from `GET /v1/reference/usage_channel`","maxItems":50,"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"}},"paid_amplification":{"description":"Whether the post may run as paid ads","type":"boolean"},"exclusivity_days":{"description":"Days the creator won't work with competing brands","anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"null"}]}}},{"type":"null"}]},"usage_rights_price_cents":{"description":"The add-on you were quoted by `GET /v1/requests/preview`. Required when the creator charges for these usage rights; a different amount returns 409 with the current one, so nothing is charged that you haven't seen.","type":"integer","minimum":0,"maximum":100000000}},"required":["account_id","campaign_id","creative_id","price_cents"]},"example":{"account_id":"cmf0acc003","campaign_id":"cmf0cmp003","creative_id":"cmf0crt003","price_cents":90000,"brief":"Unboxing in your usual style.","requested_publish_at":"2026-11-05T17:00:00Z","usage_rights":{"duration_days":90,"channels":["website"],"paid_amplification":false,"exclusivity_days":30}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"pending_approval","origin":"direct","price_cents":45000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":"Show the serum in your morning routine; mention the 20% launch code.","requested_publish_at":"2026-11-05T17:00:00.000Z","negotiation":{"offer_price_cents":45000,"counter_price_cents":null,"rounds":0},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"send_direct_request"},"get":{"operationId":"requests.list","summary":"List sent requests","description":"Advertiser side. Direct requests you sent and applications to your open campaigns, newest first. `status` groups: `action` (a counter-offer or application waiting on you), `waiting` (on the creator), `booked`, `issues` (disputed or removed early), `closed`. `marketplace_block` is `removed_from_marketplace` on an application waiting on you whose account an admin removed from the marketplace: it can't be approved, only declined. It's `null` on every other request, including an application whose creator's agreement to the marketplace terms lapsed after it applied, which can still be approved. Each request carries your marketplace fee (`advertiser_fee_cents`, on top of `price_cents`) and the total you pay (`total_cents`).\n\nRequired scope: `campaigns:read`.","tags":["Requests"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"status","in":"query","required":false,"description":"action | waiting | booked | issues | closed","schema":{"type":"string","enum":["action","waiting","booked","issues","closed"]}},{"name":"origin","in":"query","required":false,"description":"`direct` requests or `open`-campaign applications","schema":{"type":"string","enum":["direct","open"]}},{"name":"campaign_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"pending_advertiser","origin":"direct","price_cents":45000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":"Show the serum in your morning routine; mention the 20% launch code.","requested_publish_at":"2026-11-05T17:00:00.000Z","negotiation":{"offer_price_cents":45000,"counter_price_cents":60000,"rounds":1},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250,"marketplace_block":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"list_sent_requests"}},"/v1/requests/{id}":{"get":{"operationId":"requests.get","summary":"Get a sent request","description":"Advertiser side. One direct request or application with its negotiation state, the actions you can take now, and the message thread. While a counter-offer or application waits on you, `approval_outcome` says what accepting or approving it does now: `book` books the post, `unique_post` has a unique post written for the creator first (an open campaign that writes one per creator; with the campaign's `variant_config.review` at `review`, the default, it waits for you to approve it with `POST /v1/variants/{id}/approve` before it goes to the creator), and `creator_approval` sends the post back to the creator to approve first, because it changed since they agreed to it. In the last two cases the post is booked only once the creator approves it. `null` when nothing waits on you. `marketplace_block` is `removed_from_marketplace` when the application waiting on you comes from an account an admin removed from the marketplace: it can't be approved (`actions.approve_application` is false and approving returns 409), only declined, and it still expires if you leave it. An application whose creator's agreement to the marketplace terms lapsed after it applied can still be approved. `null` otherwise.\n\nRequired scope: `campaigns:read`.","tags":["Requests"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"pending_advertiser","origin":"direct","price_cents":45000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":"Show the serum in your morning routine; mention the 20% launch code.","requested_publish_at":"2026-11-05T17:00:00.000Z","negotiation":{"offer_price_cents":45000,"counter_price_cents":60000,"rounds":1,"max_rounds":4},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250,"actions":{"accept_counter":true,"counter":true,"decline_counter":true,"approve_application":false,"decline_application":false,"withdraw":true,"edit_creative":false,"resubmit":false,"message":true},"approval_outcome":"book","marketplace_block":null,"messages":[{"id":"cmf0msg003","object":"placement_message","placement_id":"cmf0plc001","side":"system","author":null,"body":"@techbyleo countered with $600.00 (offer was $450.00).","display_body":"@techbyleo countered with $600.00 (offer was $450.00).","attachments":[],"created_at":"2026-10-28T12:00:00.000Z"}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:read"],"x-mcp-tool":"get_sent_request"}},"/v1/requests/{id}/respond":{"post":{"operationId":"requests.respond","summary":"Respond to a counter-offer","description":"Advertiser side. Answer a creator's counter-offer on a direct request (`pending_advertiser`). `accept` agrees to the counter price and books the post (`scheduled`), reserving the price plus the marketplace fee from your wallet, unless the post changed since the creator countered: then it goes back to them to approve first (`pending_approval`), and it's booked and the money reserved only once they do. `approval_outcome` on `GET /v1/requests/{id}` says which beforehand, and the returned `status` says which happened. `counter` sends a new price back, `decline` closes the request.\n\nRequired scope: `campaigns:write`.","tags":["Requests"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["accept","counter","decline"]},"price_cents":{"description":"Required for `counter`. The deal's total, including any usage rights add-on","type":"integer","minimum":100,"maximum":100000000},"message":{"description":"Optional note to the creator","type":"string","maxLength":1000}},"required":["action"]},"example":{"action":"counter","price_cents":52000,"message":"We can meet in the middle."}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"pending_approval","origin":"direct","price_cents":52000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":"Show the serum in your morning routine; mention the 20% launch code.","requested_publish_at":"2026-11-05T17:00:00.000Z","negotiation":{"offer_price_cents":52000,"counter_price_cents":60000,"rounds":2},"scheduled_at":null,"published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":null,"auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"respond_to_counter_offer"}},"/v1/requests/{id}/review":{"post":{"operationId":"requests.review","summary":"Review an application","description":"Advertiser side. Approve or decline a creator's application to an open campaign (`origin: open`, `pending_advertiser`). Applications come from `review` campaigns and from any acceptance with a usage rights add-on, on `instant` campaigns too, so check `price_cents` and `usage_rights.price_cents` first. Approving books the post at that total (`scheduled`), with two exceptions: on a campaign that writes each creator a unique post it starts writing theirs (`drafting`), and a post that changed since the creator applied goes back to them to approve first (`pending_approval`). Either way it's booked only once the creator approves the post. `approval_outcome` on `GET /v1/requests/{id}` says which beforehand, and the returned `status` says which happened. If the budget can't cover the total the call returns 409 with `budget_shortfall_cents`. Approving an application from an account an admin removed from the marketplace returns 409 with `removed_from_marketplace` in `details` (`marketplace_block` on `GET /v1/requests/{id}` says so beforehand): decline it instead. One whose creator's agreement to the marketplace terms lapsed after it applied can still be approved. Declining shares the reason with the creator, who can still apply again: to stop that, exclude the account with `POST /v1/campaigns/{id}/excluded-creators`.\n\nRequired scope: `campaigns:write`.","tags":["Requests"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"decision":{"type":"string","enum":["approve","decline"]},"reason":{"description":"Shared with the creator when declining","type":"string","maxLength":500}},"required":["decision"]},"example":{"decision":"approve"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0plc001","object":"placement","side":"advertiser","status":"scheduled","origin":"open","price_cents":45000,"currency":"USD","campaign":{"id":"cmf0cmp001","name":"Autumn glow launch","type":"targeted","objective":"launch","category":"beauty","advertiser":{"id":"cmf0ws0001","name":"Lumen Skincare","verified":true},"start_date":"2026-11-01T00:00:00.000Z","end_date":"2026-11-30T00:00:00.000Z"},"pending_status":null,"account":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US"},"creative":{"id":"cmf0crt001","object":"creative","name":"Serum reel","campaign_id":"cmf0cmp001","template_id":null,"persona_id":null,"format":"ig_reel","caption":"Glow season is here. #ad","hashtags":["#ad","#skincare"],"cta":"Shop now","link_url":"https://lumen.example/serum","media":[],"status":"ready","ai_generated":false,"version":1,"kind":"standard","parent_id":null,"variant_for_account_id":null,"angle":null,"design_template_id":null,"caption_template_id":null,"variant_status":null,"design_id":null,"created_at":"2026-10-20T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z"},"creator_caption":null,"is_collab":false,"collab_handles":[],"collab_price_cents":0,"usage_rights":{"price_cents":0,"price_lines":[],"duration_days":90,"channels":[{"key":"website","label":"Brand website"}],"paid_amplification":false,"exclusivity_days":null},"brief":null,"requested_publish_at":null,"negotiation":{"offer_price_cents":null,"counter_price_cents":null,"rounds":0},"scheduled_at":"2026-11-02T15:00:00.000Z","published_at":null,"completed_at":null,"expires_at":"2026-10-30T10:00:00.000Z","permalink":null,"tracked_link":"https://coboost.ai/l/9b1e4d7a20c35f86","auto_approved":false,"decision_reason":null,"decided_at":null,"failure_reason":null,"late_cancel_fee_cents":null,"created_at":"2026-10-28T10:00:00.000Z","updated_at":"2026-10-28T10:00:00.000Z","advertiser_fee_cents":2250,"total_cents":47250}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write"],"x-mcp-tool":"review_application"}},"/v1/reference/{list}":{"get":{"operationId":"reference.list","summary":"List reference values","description":"Valid keys for admin-managed lists: `content_category` (creator niches, campaign targeting), `ad_category` (what a campaign promotes; creator policies allow or block these; `tier` is the platform rule: `standard`, `restricted` (admin review before launch, creator opt-in) or `prohibited` (can't be booked)), `country`, `campaign_objective`, `decline_reason` `creative_angle` (messaging angles for unique posts per creator: `hook`, `guidance`, `suited_categories`, `blocked_ad_categories`, `default_selected`), `content_type` (kinds of posts for AI writing and caption template categories: `goal`, `persona_key`, `caption_min`/`caption_max` characters, `hashtag_min`/`hashtag_max`, `emoji`, `structure`, `cta`, `slide_min`/`slide_max`), `persona_tone` (tones for personas) and `report_share_expiry` (the expiries a report link can be given: `days`, where 0 means it never expires). Keys are stable; retired values keep resolving but can't be used for new writes. Any API key can read these.","tags":["Reference data"],"parameters":[{"name":"list","in":"path","required":true,"description":"content_category | ad_category | country | language | campaign_objective | decline_reason | creative_angle | content_type | persona_tone | persona_language | persona_emoji_usage | persona_hashtag_style | payout_method | dispute_reason | report_reason | cta | design_template_category | disclosure_label | help_category | tax_id_type | tax_entity_type | tax_form | usage_channel | deposit_preset | api_key_expiry | key_roll_grace | report_share_expiry","schema":{"type":"string","enum":["content_category","ad_category","country","language","campaign_objective","decline_reason","creative_angle","content_type","persona_tone","persona_language","persona_emoji_usage","persona_hashtag_style","payout_method","dispute_reason","report_reason","cta","design_template_category","disclosure_label","help_category","tax_id_type","tax_entity_type","tax_form","usage_channel","deposit_preset","api_key_expiry","key_roll_grace","report_share_expiry"]}},{"name":"include_retired","in":"query","required":false,"description":"Include retired values (to label stored data)","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"reference_list","list":"ad_category","label":"Ad categories","data":[{"key":"beauty","label":"Beauty & skincare","description":null,"active":true,"metadata":{"tier":"standard","default_blocked":false}},{"key":"gambling","label":"Gambling & Betting","description":"Licensed operators only, adult audiences where online gambling is legal.","active":true,"metadata":{"tier":"restricted","default_blocked":false}}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":[],"x-mcp-tool":"get_reference_data"}},"/v1/accounts":{"get":{"operationId":"accounts.list","summary":"List connected accounts","description":"Instagram accounts connected to this workspace (creator side), largest first, with approval mode and pending request counts. `status_message` says why an account isn't `connected`, in the words the app shows the creator (for example that Instagram access expired, that Instagram refused a permission the account needs to publish, or that Instagram stopped sharing the account). It's `null` while the account works. Instagram's own error text isn't included.\n\nRequired scope: `accounts:read`.","tags":["Accounts"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"status","in":"query","required":false,"description":"","schema":{"type":"string","enum":["connected","expired","error","disconnected"]}},{"name":"purpose","in":"query","required":false,"description":"`monetize` = hosts ads; `brand` = advertiser's own account","schema":{"type":"string","enum":["monetize","brand"]}},{"name":"team_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"q","in":"query","required":false,"description":"Match on username or display name","schema":{"type":"string","maxLength":60}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US","country_source":"manual","bio":"Skincare & slow mornings","account_type":"creator","purpose":"monetize","following":512,"media_count":840,"avg_reach":21000,"categories":["beauty","lifestyle"],"audience":{"countries":{"US":0.62},"age_ranges":{"25-34":0.41},"gender":{"female":0.78}},"audience_updated_at":"2026-10-28T06:00:00.000Z","language":"en","language_source":"manual","status":"connected","status_message":null,"is_listed":true,"description":"Skincare routines and slow-morning rituals for women in their late twenties.","categories_source":"auto","analysis_status":"ready","analyzed_at":"2026-10-28T06:00:00.000Z","team_id":null,"last_synced_at":"2026-10-28T06:00:00.000Z","created_at":"2026-09-01T10:00:00.000Z","approval_mode":"manual","accepting_campaigns":true,"pending_requests":2}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read"],"x-mcp-tool":"list_accounts"}},"/v1/accounts/{id}":{"get":{"operationId":"accounts.get","summary":"Get an account","description":"One connected account with its ad policy and rate cards. `engagement_rate` is the median likes and comments per post as a percent of followers; `avg_reach` is the median accounts reached per post, null until the account's analysis has measured it from Instagram's post insights. `status_message` says why an account isn't `connected`, in the words the app shows the creator (for example that Instagram access expired, that Instagram refused a permission the account needs to publish, or that Instagram stopped sharing the account). It's `null` while the account works. Instagram's own error text isn't included.\n\nRequired scope: `accounts:read`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US","country_source":"manual","bio":"Skincare & slow mornings","account_type":"creator","purpose":"monetize","following":512,"media_count":840,"avg_reach":21000,"categories":["beauty","lifestyle"],"audience":{"countries":{"US":0.62},"age_ranges":{"25-34":0.41},"gender":{"female":0.78}},"audience_updated_at":"2026-10-28T06:00:00.000Z","language":"en","language_source":"manual","status":"connected","status_message":null,"is_listed":true,"description":"Skincare routines and slow-morning rituals for women in their late twenties.","categories_source":"auto","analysis_status":"ready","analyzed_at":"2026-10-28T06:00:00.000Z","team_id":null,"last_synced_at":"2026-10-28T06:00:00.000Z","created_at":"2026-09-01T10:00:00.000Z","team":null,"policy":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"manual","auto_approve_rules":null,"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"},"rate_cards":[{"id":"cmf0rc0001","object":"rate_card","account_id":"cmf0acc001","format":"ig_reel","price_cents":45000,"currency":"USD","pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"min_duration_hours":72,"active":true,"updated_at":"2026-10-28T10:00:00.000Z"}],"usage_rights_prices":{"object":"usage_rights_prices","account_id":"cmf0acc001","channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"needs_prices":false,"saved":{"channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false}}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read"],"x-mcp-tool":"get_account"},"patch":{"operationId":"accounts.update","summary":"Update account settings","description":"Marketplace listing, purpose and team assignment. Listing an account (`is_listed: true`) returns 402 `plan_limit` while the workspace has more connected accounts than its plan allows and that many are already listed: unlist another one or upgrade. Switching `purpose` to `monetize` returns 409 `conflict` while another workspace hosts ads with the same Instagram account, or while one it was connected to has an unpaid balance. Switching it to `brand` returns 409 `conflict` while the account has open requests or bookings. A brand account is never listed: `is_listed: true` on one, or sent with `purpose: \"brand\"`, returns 422 `invalid_input`.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"is_listed":{"description":"Visible in the advertiser marketplace","type":"boolean"},"purpose":{"type":"string","enum":["monetize","brand"]},"team_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}}},"example":{"is_listed":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US","country_source":"manual","bio":"Skincare & slow mornings","account_type":"creator","purpose":"monetize","following":512,"media_count":840,"avg_reach":21000,"categories":["beauty","lifestyle"],"audience":{"countries":{"US":0.62},"age_ranges":{"25-34":0.41},"gender":{"female":0.78}},"audience_updated_at":"2026-10-28T06:00:00.000Z","language":"en","language_source":"manual","status":"connected","status_message":null,"is_listed":false,"description":"Skincare routines and slow-morning rituals for women in their late twenties.","categories_source":"auto","analysis_status":"ready","analyzed_at":"2026-10-28T06:00:00.000Z","team_id":null,"last_synced_at":"2026-10-28T06:00:00.000Z","created_at":"2026-09-01T10:00:00.000Z","team":null,"policy":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"manual","auto_approve_rules":null,"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"},"rate_cards":[{"id":"cmf0rc0001","object":"rate_card","account_id":"cmf0acc001","format":"ig_reel","price_cents":45000,"currency":"USD","pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"min_duration_hours":72,"active":true,"updated_at":"2026-10-28T10:00:00.000Z"}],"usage_rights_prices":{"object":"usage_rights_prices","account_id":"cmf0acc001","channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"needs_prices":false,"saved":{"channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false}}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"update_account_settings"}},"/v1/accounts/{id}/policy":{"get":{"operationId":"accounts.policy.get","summary":"Get the ad policy","description":"The account's ad policy. Content rules and minimum requirements are checked before a campaign request is sent; pacing and posting windows set when an approved post is scheduled; direct requests are checked as `direct_requests` says. Also holds the approval settings. `null` until the policy is first saved.\n\nRequired scope: `accounts:read`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"manual","auto_approve_rules":null,"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read"],"x-mcp-tool":"get_account_policy"},"patch":{"operationId":"accounts.policy.update","summary":"Update content policy","description":"Which ads the account accepts: categories, keywords, advertisers, formats, disclosure and AI content. Omitted fields keep their current values.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accepting_campaigns":{"description":"Pause all new ad requests when false","type":"boolean"},"allowed_categories":{"description":"Empty = every category not blocked","maxItems":50,"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"}},"blocked_categories":{"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"}},"blocked_keywords":{"description":"Requests whose copy contains these are declined","maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"blocked_advertiser_ids":{"description":"Advertiser workspace IDs","maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"allowed_formats":{"description":"Empty = every enabled format","maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"require_disclosure":{"description":"Always true: every sponsored post is disclosed and this can't be turned off","type":"boolean","const":true},"disclosure_text":{"description":"Ad label put at the start of every caption, one of the platform's disclosure labels (e.g. `#ad`, `Ad`); null uses the platform default","anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"allow_ai_generated":{"type":"boolean"},"allow_caption_edits":{"description":"Let the creator rewrite a request's caption in their own voice before approving it (never a unique post's). Off unless turned on. The advertiser sees both versions and can cancel such a post without the late cancellation fee, unless it booked the post by accepting the creator's counter-offer or application.","type":"boolean"},"content_guidelines":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}},"example":{"blocked_categories":["gambling","politics","crypto"],"blocked_keywords":["diet pill"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"manual","auto_approve_rules":null,"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"update_account_policy"}},"/v1/accounts/{id}/requirements":{"patch":{"operationId":"accounts.requirements.update","summary":"Update requirements & pacing","description":"Minimum price and budget, lead time, advertiser checks, ad frequency caps, approval SLA and posting windows. Posting window days and times are in the workspace's time zone (`timezone` on `GET /v1/workspace`), not UTC. Omitted fields keep their current values.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"min_price_cents":{"type":"integer","minimum":0,"maximum":9007199254740991},"min_budget_cents":{"type":"integer","minimum":0,"maximum":9007199254740991},"min_lead_time_hours":{"type":"integer","minimum":0,"maximum":720},"min_campaign_days":{"type":"integer","minimum":1,"maximum":365},"min_advertiser_age_days":{"type":"integer","minimum":0,"maximum":3650},"require_verified_advertiser":{"type":"boolean"},"max_ads_per_day":{"type":"integer","minimum":1,"maximum":20},"max_ads_per_week":{"type":"integer","minimum":1,"maximum":100},"min_hours_between_ads":{"type":"integer","minimum":0,"maximum":168},"approval_sla_hours":{"description":"Requests expire if not decided in time","type":"integer","minimum":1,"maximum":336},"posting_windows":{"description":"When ads may publish, as local times in the workspace's time zone; empty = any time","maxItems":168,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6,"description":"Day of the week in the workspace's time zone, 0 = Sunday"},"start":{"type":"string","description":"HH:MM, 24-hour, in the workspace's time zone (`timezone` on `GET /v1/workspace`), not UTC"},"end":{"type":"string","description":"HH:MM, 24-hour, in the workspace's time zone (`timezone` on `GET /v1/workspace`), not UTC"}},"required":["day","start","end"]}}}},"example":{"min_price_cents":20000,"max_ads_per_week":2,"posting_windows":[{"day":2,"start":"17:00","end":"21:00"}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"manual","auto_approve_rules":null,"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"update_account_requirements"}},"/v1/accounts/{id}/approval-settings":{"put":{"operationId":"accounts.approval.update","summary":"Set approval settings","description":"How requests are approved: `manual` (every request waits for review), `rules` (auto-approve when rules match) or `auto` (approve everything that meets the policy). Rules replace the current rules when provided. `direct_requests` controls who may send hand-picked requests.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"approval_mode":{"type":"string","enum":["manual","rules","auto"],"description":"Switching to `rules`, or changing the rules, requires auto-approval rules on your plan. An account already on `rules` keeps it"},"direct_requests":{"description":"Who may send hand-picked direct requests: `anyone` (ones outside your policy wait for your answer; ones that match it follow `approval_mode`), `eligible_only` (must pass your policy and minimum price) or `off`. Platform category rules and blocked advertisers apply in every mode. Omit to keep the current setting.","type":"string","enum":["anyone","eligible_only","off"]},"auto_approve_rules":{"type":"object","properties":{"min_price_cents":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"categories":{"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"}},"verified_advertisers_only":{"type":"boolean"},"trusted_workspace_ids":{"maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"require_no_ai_content":{"type":"boolean"},"max_placements_per_campaign":{"anyOf":[{"type":"integer","minimum":1,"maximum":100},{"type":"null"}]}}}},"required":["approval_mode"]},"example":{"approval_mode":"rules","auto_approve_rules":{"min_price_cents":30000,"categories":["beauty"],"verified_advertisers_only":true},"direct_requests":"eligible_only"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"rules","auto_approve_rules":{"min_price_cents":30000,"categories":["beauty"],"verified_advertisers_only":true,"trusted_workspace_ids":[],"require_no_ai_content":false,"max_placements_per_campaign":null},"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"update_approval_settings"}},"/v1/accounts/{id}/rate-cards":{"get":{"operationId":"accounts.rate_cards.list","summary":"List rate cards","description":"Price per post for each format on this account.\n\nRequired scope: `accounts:read`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0rc0001","object":"rate_card","account_id":"cmf0acc001","format":"ig_reel","price_cents":45000,"currency":"USD","pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"min_duration_hours":72,"active":true,"updated_at":"2026-10-28T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read"],"x-mcp-tool":"list_rate_cards"},"put":{"operationId":"accounts.rate_cards.update","summary":"Set rate cards","description":"Create or update prices per format. `pricing_mode: auto` follows the suggested price from account analysis (and moves when the account or the pricing model changes); `manual` keeps your price. Enable collab posts per format with an automatic or manual add-on. Formats not included are left unchanged; set `active: false` to stop offering one.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"rate_cards":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"format":{"type":"string","minLength":1,"maxLength":40,"description":"Format key"},"pricing_mode":{"description":"`auto` follows the platform's suggested price (refreshed on every analysis); `manual` keeps `price_cents`. Defaults to the current mode; for new rows `manual` when `price_cents` is given, otherwise `auto`.","type":"string","enum":["auto","manual"]},"price_cents":{"description":"Minimum price per post. A manual price on an active rate must be at least the platform's minimum offer price (422 `invalid_input` names it); a saved rate below it stays until it is changed. Required for manual rows that don't exist yet; ignored when `pricing_mode` is `auto`.","type":"integer","minimum":1,"maximum":100000000},"min_duration_hours":{"description":"How long the post stays live; defaults by format. The platform sets the longest live period; more than that is refused with `invalid_input`. At most 24 for ig_story, which Instagram removes on its own after that.","type":"integer","minimum":1,"maximum":8760},"active":{"description":"Defaults to true for new rows","type":"boolean"},"collab_enabled":{"description":"Accept collab posts (the brand is invited as an Instagram collaborator). Only for formats that support collabs.","type":"boolean"},"collab_pricing_mode":{"description":"`auto` uses the suggested collab add-on; `manual` keeps `collab_price_cents`. Defaults like `pricing_mode`.","type":"string","enum":["auto","manual"]},"collab_price_cents":{"description":"Collab add-on charged on top of the price. A manual add-on must be at least the platform's minimum collab add-on (422 `invalid_input` names it)","type":"integer","minimum":0,"maximum":100000000}},"required":["format"]},"description":"Upserted by format; formats not listed are left unchanged. Omitted fields keep their current values."}},"required":["rate_cards"]},"example":{"rate_cards":[{"format":"ig_reel","pricing_mode":"auto","collab_enabled":true,"collab_pricing_mode":"auto"},{"format":"ig_story","pricing_mode":"manual","price_cents":12000,"min_duration_hours":24}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0rc0001","object":"rate_card","account_id":"cmf0acc001","format":"ig_reel","price_cents":45000,"currency":"USD","pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"min_duration_hours":72,"active":true,"updated_at":"2026-10-28T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"update_rate_cards"}},"/v1/accounts/{id}/usage-rights-prices":{"get":{"operationId":"accounts.usage_rights_prices.get","summary":"Get usage rights prices","description":"What this account adds to a new deal for usage rights: a flat price per channel, a flat price for paid amplification, a price per day of exclusivity and a price per usage day past `included_days`. Once one price is set, anything left unset is at no extra cost. With no price at all, what happens is the platform's choice, and `needs_prices` reports it: `true` means the account can't book an open campaign or receive a direct request that asks for usage rights until it sets a price or chooses `no_extra_cost`, `false` means they're included at no extra cost. The prices at the top are what new deals charge. `saved` is what the account entered: it's only higher when an admin has since lowered a cap, and it applies again if the cap goes back up.\n\nRequired scope: `accounts:read`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"usage_rights_prices","account_id":"cmf0acc001","channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"needs_prices":false,"saved":{"channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read"],"x-mcp-tool":"get_usage_rights_prices"},"put":{"operationId":"accounts.usage_rights_prices.update","summary":"Set usage rights prices","description":"Replace everything this account charges for usage rights, within the platform's limits. Not a partial update: a price left out, `null` or zero means no extra cost for that term, so send every price you want to keep. While the platform requires a price before usage rights can be taken, an account with no price at all can't take deals that ask for them until it sets one, or sends `no_extra_cost: true` (with no prices) to include them at no extra cost on purpose; `needs_prices` in the response says whether that applies. New deals use these prices and show them to the advertiser; a deal already made keeps the add-on it was quoted.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channels":{"description":"Flat price per channel, by key from `GET /v1/reference/usage_channel`","type":"object","propertyNames":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"},"additionalProperties":{"anyOf":[{"type":"integer","minimum":0,"maximum":100000000},{"type":"null"}]}},"paid_amplification_cents":{"description":"Flat price for letting the post run as paid ads","anyOf":[{"type":"integer","minimum":0,"maximum":100000000},{"type":"null"}]},"exclusivity_day_cents":{"description":"Price per day of exclusivity","anyOf":[{"type":"integer","minimum":0,"maximum":100000000},{"type":"null"}]},"extra_day_cents":{"description":"Price per usage day past the included days (`included_days` in the response)","anyOf":[{"type":"integer","minimum":0,"maximum":100000000},{"type":"null"}]},"no_extra_cost":{"description":"Include usage rights at no extra cost, on purpose. Send it with no prices: an account with no price and without this can't take deals that ask for usage rights. Leaving it out turns it off.","type":"boolean"}}},"example":{"channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"usage_rights_prices","account_id":"cmf0acc001","channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"needs_prices":false,"saved":{"channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"update_usage_rights_prices"}},"/v1/accounts/{id}/insights":{"get":{"operationId":"accounts.insights.get","summary":"Get account insights","description":"What account analysis found: content categories (effective and suggested, with `auto`/`manual` source), the advertiser-facing description, content stats from recent posts, analysis status, and suggested prices per format with the full pricing breakdown.\n\nRequired scope: `accounts:read`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"account_insights","account_id":"cmf0acc001","categories":["beauty","lifestyle"],"categories_source":"auto","suggested_categories":[{"key":"beauty","confidence":0.82},{"key":"lifestyle","confidence":0.41}],"description":"Skincare routines and slow-morning rituals for women in their late twenties.","description_source":"auto","suggested_description":"Skincare routines and slow-morning rituals for women in their late twenties.","country":"US","country_source":"auto","audience_country":"US","audience_updated_at":"2026-10-28T06:00:00.000Z","language":"en","language_source":"auto","analysis":{"status":"ready","error":null,"model":"claude-opus-5-5","analyzed_at":"2026-10-28T06:00:00.000Z"},"stats":{"posts_analyzed":15,"period_days":34,"posts_per_week":3.1,"last_post_at":"2026-10-26T08:00:00.000Z","format_mix":{"image":4,"carousel":3,"reel":8},"avg_likes":1840,"avg_comments":96,"engagement_rate":4,"medians":{"feed":{"median":14200,"samples":7},"reel":{"median":21800,"samples":8}},"reach_rate":0.36,"top_hashtags":["#skincare","#morningroutine"]},"recent_posts":[{"id":"cmf0med001","media_type":"video","product_type":"reels","caption":"Morning routine, 5 steps","permalink":"https://instagram.com/p/abc","thumbnail_url":null,"posted_at":"2026-10-26T08:00:00.000Z","likes":2210,"comments":104,"reach":23100,"views":31800,"saves":310,"shares":42}],"pricing":[{"format":"ig_reel","format_name":"Reel","price_cents":45000,"pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"breakdown":{"format":"reel","expected_impressions":19800,"impressions_source":"blended","samples":6,"cpm_cents":2500,"factors":{"size":1.02,"engagement":1.21,"niche":1.1,"geo":0.92,"activity":1.05},"raw_cents":44310,"price_cents":45000,"floor_applied":false,"collab_percent":20,"collab_cents":9000,"model_version":1}}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read"],"x-mcp-tool":"get_account_insights"}},"/v1/accounts/{id}/profile":{"patch":{"operationId":"accounts.profile.update","summary":"Update the account profile","description":"Override the categories or description found by analysis, and set the account's home country and posting language. Edited categories and descriptions become `manual` and are kept on re-analysis; `reset_categories` / `reset_description` go back to the analysis results. A country set here wins over the top audience country from Instagram until it's set to `null`. Category and country changes reprice auto-priced rate cards.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"categories":{"description":"Content category keys (see `GET /v1/reference/content_category`). Marks categories as manual: re-analysis won't overwrite them.","minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"description":{"description":"Short summary shown to advertisers. Marks the description as manual.","type":"string","minLength":10,"maxLength":500},"reset_categories":{"description":"Go back to the categories found by analysis","type":"boolean"},"reset_description":{"description":"Go back to the description written by analysis","type":"boolean"},"country":{"description":"Home country, an ISO 3166-1 alpha-2 code (see `GET /v1/reference/country`). Marks it manual: syncs won't replace it. `null` goes back to the top audience country from Instagram.","anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}]},"language":{"description":"Language the account posts in, an ISO 639-1 code (see `GET /v1/reference/language`). Marks it manual: analysis won't replace it, and campaigns that ask for another language leave the account out. `null` goes back to detecting it from the account's posts; a detected language never excludes an account from a campaign.","anyOf":[{"type":"string","minLength":2,"maxLength":3},{"type":"null"}]}}},"example":{"categories":["beauty","wellness"],"reset_description":true,"country":"GB","language":"en"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"account_insights","account_id":"cmf0acc001","categories":["beauty","wellness"],"categories_source":"manual","suggested_categories":[{"key":"beauty","confidence":0.82},{"key":"lifestyle","confidence":0.41}],"description":"Skincare routines and slow-morning rituals for women in their late twenties.","description_source":"auto","suggested_description":"Skincare routines and slow-morning rituals for women in their late twenties.","country":"GB","country_source":"manual","audience_country":"US","audience_updated_at":"2026-10-28T06:00:00.000Z","language":"en","language_source":"auto","analysis":{"status":"ready","error":null,"model":"claude-opus-5-5","analyzed_at":"2026-10-28T06:00:00.000Z"},"stats":{"posts_analyzed":15,"period_days":34,"posts_per_week":3.1,"last_post_at":"2026-10-26T08:00:00.000Z","format_mix":{"image":4,"carousel":3,"reel":8},"avg_likes":1840,"avg_comments":96,"engagement_rate":4,"medians":{"feed":{"median":14200,"samples":7},"reel":{"median":21800,"samples":8}},"reach_rate":0.36,"top_hashtags":["#skincare","#morningroutine"]},"recent_posts":[{"id":"cmf0med001","media_type":"video","product_type":"reels","caption":"Morning routine, 5 steps","permalink":"https://instagram.com/p/abc","thumbnail_url":null,"posted_at":"2026-10-26T08:00:00.000Z","likes":2210,"comments":104,"reach":23100,"views":31800,"saves":310,"shares":42}],"pricing":[{"format":"ig_reel","format_name":"Reel","price_cents":45000,"pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"breakdown":{"format":"reel","expected_impressions":19800,"impressions_source":"blended","samples":6,"cpm_cents":2500,"factors":{"size":1.02,"engagement":1.21,"niche":1.1,"geo":0.92,"activity":1.05},"raw_cents":44310,"price_cents":45000,"floor_applied":false,"collab_percent":20,"collab_cents":9000,"model_version":1}}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"update_account_profile"}},"/v1/accounts/{id}/analyze":{"post":{"operationId":"accounts.analyze","summary":"Re-analyze an account","description":"Queue a fresh analysis of the account's recent posts (categories, description, stats and suggested prices). Runs in the background; poll `/insights` or subscribe to the `account.analyzed` webhook. Limited to 3 requests per account per hour.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"202":{"description":"Success","content":{"application/json":{"example":{"object":"account_analysis","account_id":"cmf0acc001","queued":true,"status":"pending"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-mcp-tool":"analyze_account"}},"/v1/accounts/{id}/sync":{"post":{"operationId":"accounts.sync","summary":"Sync an account","description":"Refresh the account's profile, followers and engagement from Instagram now (accounts also sync daily). Auto-priced rate cards follow the new numbers.\n\nRequired scope: `connections:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US","country_source":"manual","bio":"Skincare & slow mornings","account_type":"creator","purpose":"monetize","following":512,"media_count":840,"avg_reach":21000,"categories":["beauty","lifestyle"],"audience":{"countries":{"US":0.62},"age_ranges":{"25-34":0.41},"gender":{"female":0.78}},"audience_updated_at":"2026-10-28T06:00:00.000Z","language":"en","language_source":"manual","status":"connected","status_message":null,"is_listed":true,"description":"Skincare routines and slow-morning rituals for women in their late twenties.","categories_source":"auto","analysis_status":"ready","analyzed_at":"2026-10-28T06:00:00.000Z","team_id":null,"last_synced_at":"2026-10-28T06:00:00.000Z","created_at":"2026-09-01T10:00:00.000Z","team":null,"policy":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"manual","auto_approve_rules":null,"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"},"rate_cards":[{"id":"cmf0rc0001","object":"rate_card","account_id":"cmf0acc001","format":"ig_reel","price_cents":45000,"currency":"USD","pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"min_duration_hours":72,"active":true,"updated_at":"2026-10-28T10:00:00.000Z"}],"usage_rights_prices":{"object":"usage_rights_prices","account_id":"cmf0acc001","channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"needs_prices":false,"saved":{"channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false}}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["connections:write"],"x-mcp-tool":"sync_account"}},"/v1/accounts/{id}/disconnect":{"post":{"operationId":"accounts.disconnect","summary":"Disconnect an account","description":"Disconnects the account from the platform: its token is removed, it leaves the marketplace, and open requests on it are closed (scheduled posts are canceled and advertisers are refunded). Reconnect it from the app.\n\nRequired scope: `connections:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0acc001","object":"account","platform":"instagram","username":"maya.creates","display_name":"Maya","avatar_url":null,"followers":48200,"engagement_rate":4.1,"country":"US","country_source":"manual","bio":"Skincare & slow mornings","account_type":"creator","purpose":"monetize","following":512,"media_count":840,"avg_reach":21000,"categories":["beauty","lifestyle"],"audience":{"countries":{"US":0.62},"age_ranges":{"25-34":0.41},"gender":{"female":0.78}},"audience_updated_at":"2026-10-28T06:00:00.000Z","language":"en","language_source":"manual","status":"disconnected","status_message":null,"is_listed":false,"description":"Skincare routines and slow-morning rituals for women in their late twenties.","categories_source":"auto","analysis_status":"ready","analyzed_at":"2026-10-28T06:00:00.000Z","team_id":null,"last_synced_at":"2026-10-28T06:00:00.000Z","created_at":"2026-09-01T10:00:00.000Z","team":null,"policy":{"object":"ad_policy","account_id":"cmf0acc001","accepting_campaigns":true,"approval_mode":"manual","auto_approve_rules":null,"allowed_categories":[],"blocked_categories":["gambling","politics"],"blocked_keywords":[],"blocked_advertiser_ids":[],"allowed_formats":[],"require_disclosure":true,"disclosure_text":null,"allow_ai_generated":true,"allow_caption_edits":false,"min_budget_cents":0,"min_price_cents":15000,"min_lead_time_hours":24,"min_campaign_days":1,"min_advertiser_age_days":0,"require_verified_advertiser":false,"max_ads_per_day":1,"max_ads_per_week":3,"min_hours_between_ads":12,"posting_windows":[{"day":1,"start":"09:00","end":"21:00"}],"approval_sla_hours":48,"direct_requests":"anyone","content_guidelines":null,"updated_at":"2026-10-28T10:00:00.000Z"},"rate_cards":[{"id":"cmf0rc0001","object":"rate_card","account_id":"cmf0acc001","format":"ig_reel","price_cents":45000,"currency":"USD","pricing_mode":"auto","suggested_price_cents":45000,"collab_enabled":true,"collab_price_cents":9000,"collab_pricing_mode":"auto","suggested_collab_cents":9000,"min_duration_hours":72,"active":true,"updated_at":"2026-10-28T10:00:00.000Z"}],"usage_rights_prices":{"object":"usage_rights_prices","account_id":"cmf0acc001","channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"needs_prices":false,"saved":{"channels":{"website":5000,"email":2500},"paid_amplification_cents":20000,"exclusivity_day_cents":1000,"extra_day_cents":300,"no_extra_cost":false}}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["connections:write"],"x-mcp-tool":"disconnect_account"}},"/v1/accounts/{id}/media-kit":{"get":{"operationId":"accounts.media_kit.get","summary":"Get the media kit","description":"The account's public media kit: an opt-in page at `url` that shows only what the creator wrote or picked (headline, about, categories, country, languages) and, when switched on, the rate card and Instagram stats. `live` says whether it's public right now and `offline_reason` why not. Before the first save, the values are the defaults the app's form starts from: about and categories only when the creator wrote or picked them for the account, never the AI summary or detected categories. `url` is the account's current Instagram username and follows renames. `locked` is true while the platform team has the page taken down, on this connection of the Instagram account or any other workspace's (`locked_reason` says why): it can't be published again until they allow it.\n\nRequired scope: `accounts:read`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"media_kit","account_id":"cmf0acc001","url":"https://coboost.ai/c/maya.creates","enabled":true,"live":true,"offline_reason":null,"headline":"Slow skincare and morning routines","about":"Skincare educator posting Reels about simple routines. I work with brands I'd use myself.","categories":["beauty","wellness"],"country":"US","languages":"English, Spanish","show_rates":true,"show_stats":true,"stats_consent":true,"indexable":false,"locked":false,"locked_reason":null,"published_at":"2026-11-01T10:00:00.000Z","updated_at":"2026-11-03T09:30:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:read"],"x-mcp-tool":"get_media_kit"},"patch":{"operationId":"accounts.media_kit.update","summary":"Update the media kit","description":"Publish, unpublish or edit the account's public media kit. Omitted fields keep their values. Publishing needs a connected account that hosts ads and fails with 409 when the platform has media kits off, an admin took the page down, or the same username is already published from another workspace.\n\nRequired scope: `accounts:write`.","tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"description":"Publish the public page (anyone with the link can see it)","type":"boolean"},"headline":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"about":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}]},"categories":{"description":"Content category keys (GET /v1/reference/content_category), up to the platform's per-account limit","maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"country":{"description":"ISO 3166-1 alpha-2 code from GET /v1/reference/country; null hides it","anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}]},"languages":{"description":"Free text, e.g. `English, Spanish`","anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"show_rates":{"description":"Show the active rate card","type":"boolean"},"show_stats":{"description":"Show the profile photo, followers, engagement rate and average reach. They stay hidden while the account lacks the current marketplace consent (`stats_consent`)","type":"boolean"},"indexable":{"description":"Let search engines list the page","type":"boolean"}}},"example":{"enabled":true,"headline":"Slow skincare and morning routines","show_rates":true}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"media_kit","account_id":"cmf0acc001","url":"https://coboost.ai/c/maya.creates","enabled":true,"live":true,"offline_reason":null,"headline":"Slow skincare and morning routines","about":"Skincare educator posting Reels about simple routines. I work with brands I'd use myself.","categories":["beauty","wellness"],"country":"US","languages":"English, Spanish","show_rates":true,"show_stats":true,"stats_consent":true,"indexable":false,"locked":false,"locked_reason":null,"published_at":"2026-11-01T10:00:00.000Z","updated_at":"2026-11-03T09:30:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["accounts:write"],"x-live-mode-only":"Media kits are public pages.","x-mcp-tool":"update_media_kit"}},"/v1/ai/generate":{"post":{"operationId":"ai.generate","summary":"Generate content","description":"Generate captions, hashtags, ideas, scripts, rewrites or image prompts. `content_type` (see `GET /v1/reference/content_type`) sets the caption length, hashtag count, structure and call to action; a template's category is used when it's omitted. Without `persona_id` the voice is picked automatically: the workspace's voice for the content type, else the platform voice for it, else the workspace default (see `GET /v1/personas/voices`); `persona_id: null` writes without a persona. Every generation uses the brand's saved details (brand kit, then the workspace profile: name, Instagram username, website, description, industry); `campaign_id` adds that campaign's objective, category, landing page and description. The response says which voice wrote it (`persona.source`) and whether a rule-fixing pass ran (`repaired`). Uses the workspace's BYOK key when set (no credits), otherwise AI credits per variation at the platform's current rates (`credits_charged`).\n\nRequired scope: `ai:generate`.","tags":["AI"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["caption","hashtags","ideas","script","rewrite","image_prompt"],"description":"caption | hashtags | ideas | script | rewrite | image_prompt"},"brief":{"default":"","description":"What you want, in a sentence or two","type":"string","maxLength":4000},"content_type":{"description":"Content type key, e.g. `education`, `promo`, `ugc`","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"persona_id":{"description":"Persona or platform voice ID. Omit for Auto (voice for the content type); null for no persona","type":["string","null"]},"template_id":{"description":"Start from a template; `brief` may then be empty","type":["string","null"]},"format":{"description":"Target format key, e.g. `ig_reel`","type":["string","null"]},"campaign_id":{"description":"Campaign the copy is for: its objective, category, landing page and description are added to the prompt (404 when outside your workspace or team)","anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"variables":{"description":"Template variables. Only the ones the template names are used; a request with more than the platform allows is refused (422)","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":500}},"variations":{"default":1,"description":"How many alternatives to write. Credits are charged for the ones returned","type":"integer","minimum":1,"maximum":5},"provider":{"description":"Force a provider (see `GET /v1/ai/providers`); your key for it when you have one, else the platform's","type":"string","maxLength":40},"model":{"description":"A specific model: `\"provider:model\"` (e.g. `\"openrouter:anthropic/claude-haiku-5.5\"`) or `{ provider, model }`. Must be listed by `GET /v1/ai/models`; credits use that model's multiplier","anyOf":[{"type":"string","minLength":3,"maxLength":240},{"type":"object","properties":{"provider":{"type":"string","minLength":1,"maxLength":40},"model":{"type":"string","minLength":1,"maxLength":200}},"required":["provider","model"]}]}},"required":["kind"]},"example":{"kind":"caption","brief":"Launch post for our vitamin C serum, 20% off this week","content_type":"product_launch","format":"ig_reel","variations":2,"model":"openrouter:anthropic/claude-haiku-5.5"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"ai_generation_result","id":"cmf0gen001","outputs":[{"text":"Glow season starts now. Our vitamin C serum is 20% off this week.","hashtags":["skincare","vitaminc"],"cta":"Shop now"}],"provider":"anthropic","model":"claude-sonnet-5-5","used_byok":false,"credits_charged":2,"persona":{"id":"cmf0prs101","name":"Launch insider","source":"platform_type"},"content_type":"product_launch","repaired":false,"fallback_used":false}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate"],"x-mcp-tool":"generate_content"}},"/v1/ai/images":{"post":{"operationId":"ai.images.generate","summary":"Generate images","description":"Generate images from a prompt and save them to the media library (`source: \"ai\"`). Routes like text generations: when your plan includes bring your own key and you have an active key for a provider that makes images, it runs on that key with no credits (`used_byok: true`, `credits_charged: 0`) and the provider bills you; otherwise it runs on the platform's image models, paid with AI credits per image saved at the model's credit multiplier. A key whose provider has no enabled image model is refused (403 `feature_unavailable`, nothing charged) unless the workspace allows platform credits when its key fails. When fewer images come back than asked for, only those are charged. Pass a `ref` from `images` in `GET /v1/ai/models` as `model` to pick one; a model not allowed for your plan or workspace is refused. A provider's safety system can refuse a prompt (422, nothing charged). Designs and creatives that use these images are marked AI-generated. Needs the `ai:generate` and `creatives:write` scopes. Returns 403 `feature_unavailable` when image generation is turned off for the platform.\n\nRequired scope: `ai:generate` and `creatives:write`.","tags":["AI"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":3,"maxLength":1000,"description":"What the image shows, its style and mood"},"count":{"default":1,"description":"Images to make (the platform may allow fewer)","type":"integer","minimum":1,"maximum":4},"aspect_ratio":{"default":"1:1","description":"1:1 | 4:5 | 2:3 | 9:16 | 16:9","type":"string","enum":["1:1","4:5","2:3","9:16","16:9"]},"folder":{"description":"Media library folder","anyOf":[{"type":"string","minLength":1,"maxLength":60},{"type":"null"}]},"model":{"description":"An image model as \"provider:modelId\" (`images` in GET /v1/ai/models). Default: your own key, else the platform's order","type":"string","minLength":3,"maxLength":240}},"required":["prompt"]},"example":{"prompt":"A glass serum bottle on a linen cloth in soft morning light, minimal, warm tones","count":2,"aspect_ratio":"4:5"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"ai_image_result","id":"cmf0gen009","images":[{"id":"cmf0med003","object":"media","url":"https://coboost.ai/uploads/ws/ai-a-glass-serum-bottle-1.png","display_url":"https://coboost.ai/uploads/ws/ai-a-glass-serum-bottle-1.png","filename":"ai-a-glass-serum-bottle-on-a-linen-cloth-1.png","type":"image","mime_type":"image/png","size_bytes":248120,"width":2160,"height":2700,"duration_sec":null,"folder":null,"source":"ai","attribution":{"provider":"openrouter","model":"google/gemini-2.5-flash-image","generation_id":"cmf0gen009","prompt":"A glass serum bottle on a linen cloth in soft morning light, minimal, warm tones","text":"Generated with AI"},"created_at":"2026-10-20T10:00:00.000Z"}],"requested":2,"credits_charged":10,"provider":"openrouter","model":"google/gemini-2.5-flash-image","fallback_used":false,"used_byok":false}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate","creatives:write"],"x-mcp-tool":"generate_image"}},"/v1/ai/models":{"get":{"operationId":"ai.models.list","summary":"List AI models","description":"Models this workspace can generate with. `platform` models are paid with AI credits: `credits` is what one generation of each kind costs with that model (the kind's credits × the model's multiplier); `available: false` means the model is visible but not included in your plan. `byok` lists models reachable through your own provider keys (no credits). Pass a model's `ref` as `model` to `POST /v1/ai/generate`. `current` is where generations go when no model is given. `images` lists the image models for `POST /v1/ai/images` the same way, with `credits_per_image`; it's null while image generation is turned off.\n\nRequired scope: `ai:generate`.","tags":["AI"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"object":"ai_model","ref":"openrouter:anthropic/claude-haiku-5.5","provider":"openrouter","provider_name":"OpenRouter","model":"anthropic/claude-haiku-5.5","label":"Claude Haiku 5.5","description":"Anthropic via OpenRouter. Fast and inexpensive.","tier":"standard","context_length":1000000,"credit_multiplier":1,"credits":{"caption":1,"design":8,"research":8},"available":true,"reason":null,"billing":"credits"}],"byok":[{"key_id":"cmf0key001","key_label":"Our OpenAI key","provider":"openai","provider_name":"OpenAI","is_default":true,"default_model":"gpt-5.6-terra","models":[{"ref":"openai:gpt-5.6-terra","model":"gpt-5.6-terra","label":"GPT-5.6 Terra","tier":"standard"}]}],"current":{"mode":"platform","provider":"openrouter","model":"anthropic/claude-haiku-5.5","label":"Claude Haiku 5.5"},"images":{"data":[{"object":"ai_image_model","ref":"openrouter:google/gemini-2.5-flash-image","provider":"openrouter","provider_name":"OpenRouter","model":"google/gemini-2.5-flash-image","label":"Gemini 2.5 Flash Image","description":"Google via OpenRouter. Fast, follows the aspect ratio.","credit_multiplier":1,"credits_per_image":5,"available":true,"reason":null,"billing":"credits"}],"byok":[]}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate"],"x-mcp-tool":"list_ai_models"}},"/v1/ai/providers":{"get":{"operationId":"ai.providers.list","summary":"List AI providers","description":"Providers you can bring your own key for (Settings → AI provider keys), with where to create a key, the key format and the models offered. `requires_base_url` providers (Azure OpenAI) also need your resource URL; `free_text_models` providers accept any model id their model list contains (checked when the key is saved). `images` says whether a key from that provider also makes images. `byok_enabled` says whether your plan includes your own keys.\n\nRequired scope: `ai:generate`.","tags":["AI"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","byok_enabled":true,"data":[{"object":"ai_provider","key":"openrouter","name":"OpenRouter","description":"One key for hundreds of models from Anthropic, OpenAI, Google, Meta and more.","key_prefix":"sk-or-","key_placeholder":"sk-or-v1-…","docs_url":"https://openrouter.ai/docs/quickstart","dashboard_url":"https://openrouter.ai/settings/keys","requires_base_url":false,"supports_model_list":true,"free_text_models":true,"default_model":"anthropic/claude-haiku-5.5","images":true,"models":[{"id":"anthropic/claude-haiku-5.5","label":"Claude Haiku 5.5","tier":"standard"}]}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate"],"x-mcp-tool":"list_ai_providers"}},"/v1/ai/generations":{"get":{"operationId":"ai.generations.list","summary":"List generations","description":"AI generation history for the workspace, newest first.\n\nRequired scope: `ai:generate`.","tags":["AI"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"kind","in":"query","required":false,"description":"","schema":{"type":"string","enum":["caption","hashtags","ideas","script","rewrite","image_prompt","variant","design","design_edit","research","content_plan","image"]}},{"name":"persona_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"content_type","in":"query","required":false,"description":"Content type key (see `GET /v1/reference/content_type`)","schema":{"type":"string","maxLength":40}},{"name":"status","in":"query","required":false,"description":"","schema":{"type":"string","enum":["succeeded","failed"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0gen001","object":"ai_generation","kind":"caption","status":"succeeded","error":null,"persona":{"id":"cmf0prs001","name":"Lumen voice"},"content_type":"promo","template_id":null,"outputs":[{"text":"Glow season starts now.","hashtags":["skincare"],"cta":"Shop now"}],"provider":"anthropic","model":"claude-sonnet-5-5","used_byok":false,"credits_charged":1,"source":"api","created_at":"2026-10-28T10:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate"],"x-mcp-tool":"list_generations"}},"/v1/ai/generations/{id}":{"get":{"operationId":"ai.generations.get","summary":"Get a generation","description":"One AI generation with its outputs.\n\nRequired scope: `ai:generate`.","tags":["AI"],"parameters":[{"name":"id","in":"path","required":true,"description":"Generation ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0gen001","object":"ai_generation","kind":"caption","status":"succeeded","error":null,"persona":null,"content_type":null,"template_id":null,"outputs":[],"provider":"anthropic","model":"claude-sonnet-5-5","used_byok":false,"credits_charged":1,"source":"api","created_at":"2026-10-28T10:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate"]}},"/v1/marketplace/creators":{"get":{"operationId":"marketplace.search","summary":"Search creators","description":"Listed creator accounts (your own accounts are excluded), including ones not currently accepting campaigns so you can still send them a direct request; accounts open to campaigns sort first. `direct_requests` on each card says whether the creator takes hand-picked requests. `require_verified_advertiser` means the creator works only with verified advertisers: until your workspace is verified, your targeted and open campaigns won't reach them and an `eligible_only` creator refuses your direct requests. `usage_rights_prices.unpriced` means the creator hasn't set usage rights prices yet, so they can't take an open campaign or direct request that asks for usage rights; `no_extra_cost` means they include usage rights at no extra cost. Prices are cents; `min_price`/`max_price` filters are in dollars. Cards carry aggregate stats only: `engagement_rate` is the median likes and comments per post as a percent of followers, and `avg_reach` is the median accounts reached per post, null until Instagram's post insights have measured it. Use creator data only to evaluate and book creators on the platform: don't store it beyond that or resell it (see the Terms).\n\nRequired scope: `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"q","in":"query","required":false,"description":"Username, name or niche","schema":{"type":"string","maxLength":80}},{"name":"niches","in":"query","required":false,"description":"Comma-separated niches","schema":{"type":"string","maxLength":400}},{"name":"country","in":"query","required":false,"description":"","schema":{"type":"string","minLength":2,"maxLength":2}},{"name":"min_followers","in":"query","required":false,"description":"","schema":{"type":"number","minimum":0}},{"name":"max_followers","in":"query","required":false,"description":"","schema":{"type":"number","minimum":0}},{"name":"min_er","in":"query","required":false,"description":"Minimum engagement rate, percent","schema":{"type":"number","minimum":0}},{"name":"format","in":"query","required":false,"description":"Only creators with a rate for this format","schema":{"type":"string","maxLength":40}},{"name":"min_price","in":"query","required":false,"description":"Dollars","schema":{"type":"number","minimum":0}},{"name":"max_price","in":"query","required":false,"description":"Dollars","schema":{"type":"number","minimum":0}},{"name":"approval","in":"query","required":false,"description":"`instant` = rules or auto","schema":{"type":"string","enum":["manual","rules","auto","instant"]}},{"name":"category","in":"query","required":false,"description":"Only creators who accept this ad category","schema":{"type":"string","maxLength":40}},{"name":"available","in":"query","required":false,"description":"Only creators currently accepting campaigns","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"collab","in":"query","required":false,"description":"Only creators who offer collab posts","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"languages","in":"query","required":false,"description":"Comma-separated language codes (e.g. `en,es`)","schema":{"type":"string","maxLength":200}},{"name":"audience_ages","in":"query","required":false,"description":"Comma-separated audience age ranges: 13-17, 18-24, 25-34, 35-44, 45+","schema":{"type":"string","maxLength":100}},{"name":"sort","in":"query","required":false,"description":"","schema":{"type":"string","enum":["relevance","followers","engagement","rating","price_asc","price_desc"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","total_listed":40,"total":1,"data":[{"id":"cmf0acc001","username":"maya.creates","display_name":"Maya","avatar_url":null,"country":"US","niches":["beauty","lifestyle"],"followers":48200,"engagement_rate":4.1,"avg_reach":21000,"from_price_cents":12000,"formats":["ig_story","ig_reel"],"approval_mode":"rules","accepting_campaigns":true,"description":"Skincare routines and slow-morning rituals for women in their late twenties.","offers_collab":true,"direct_requests":"anyone","require_verified_advertiser":false,"usage_rights_prices":{"channels":{"website":5000},"paid_amplification_cents":20000,"exclusivity_day_cents":null,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"from_cents":5000,"from_per_day":false,"unpriced":false},"rating":{"average":4.8,"count":9},"price_for_filter_cents":12000}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["marketplace:read"],"x-mcp-tool":"search_creators"}},"/v1/marketplace/creators/{id}":{"get":{"operationId":"marketplace.creator","summary":"Get a creator profile","description":"A listed creator's public profile for buying decisions: aggregate stats (followers, engagement, average reach, content stats), categories, description, rate card, track record, advertisers' average rating after completed deals (`rating`: 1–5 average and count; null average when there are none) and a summary of the ad policy you'll be matched against. Creators agreed to share these aggregates with API clients. Recent posts, captions, thumbnails and follower history aren't returned; fields the platform doesn't share are omitted. Use creator data only to evaluate and book creators on the platform: don't store it beyond that or resell it (see the Terms).\n\nRequired scope: `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0acc001","username":"maya.creates","display_name":"Maya","avatar_url":null,"country":"US","niches":["beauty","lifestyle"],"followers":48200,"engagement_rate":4.1,"avg_reach":21000,"from_price_cents":12000,"formats":["ig_story","ig_reel"],"approval_mode":"rules","accepting_campaigns":true,"description":"Skincare routines and slow-morning rituals for women in their late twenties.","offers_collab":true,"direct_requests":"anyone","require_verified_advertiser":false,"usage_rights_prices":{"channels":{"website":5000},"paid_amplification_cents":20000,"exclusivity_day_cents":null,"extra_day_cents":300,"no_extra_cost":false,"included_days":30,"from_cents":5000,"from_per_day":false,"unpriced":false},"rating":{"average":4.8,"count":9},"following":512,"media_count":840,"language":"en","account_type":"creator","content_stats":{"posts_per_week":3.5,"format_mix":{"reel":6,"image":5,"carousel":4},"engagement_rate":3.9,"avg_likes":1820,"avg_comments":64},"rate_card":[{"format_key":"ig_reel","price_cents":45000,"currency":"USD","min_duration_hours":72,"format_name":"Reel"}],"track":{"completed":14,"approval_rate":0.82},"policy":{"accepting_campaigns":true,"approval_mode":"rules","approval_sla_hours":48,"min_price_cents":12000,"disclosure_text":"#ad"},"fit":{"verified_required_but_missing":false}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["marketplace:read"],"x-mcp-tool":"get_creator_profile"}},"/v1/analytics":{"get":{"operationId":"analytics.summary","summary":"Get analytics","description":"Performance over the last 7, 30 or 90 days, or a custom range (`from` and `to`, UTC days), with deltas against the previous period of the same length and a daily series. `campaign_id` narrows the advertiser side to one campaign. `side=advertiser`: spend, impressions, reach, engagements, clicks, CTR, cost per click, top accounts and per-campaign KPIs. Clicks count people who opened the short links creators share (once per person per day, bots and link previews excluded); they're null only when no post in the period had a link. `side=creator`: earnings, approvals and per-account / per-advertiser breakdowns. `side` defaults to the workspace's only side; **a workspace that runs both sides must pass it** (422 otherwise; `GET /v1/me` lists the workspace's `sides`).\n\nRequired scope: `analytics:read`.","tags":["Analytics"],"parameters":[{"name":"side","in":"query","required":false,"description":"Which side of the marketplace to report on. Required when the workspace runs both sides; defaults to its only side otherwise","schema":{"type":"string","enum":["advertiser","creator"]}},{"name":"days","in":"query","required":false,"description":"","schema":{"default":30,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},{"name":"from","in":"query","required":false,"description":"Custom range start (YYYY-MM-DD, UTC), with `to`. Overrides `days`","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"to","in":"query","required":false,"description":"Custom range end, included (YYYY-MM-DD, UTC), with `from`","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"campaign_id","in":"query","required":false,"description":"Advertiser side: report on this one campaign","schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"analytics","side":"advertiser","days":30,"from":"2026-09-29","to":"2026-10-28","campaign_id":null,"totals":{"spend_cents":310000,"impressions":402000,"reach":288000,"engagements":21400,"clicks":3100,"ctr":0.77,"cpc_cents":100,"cpm_cents":771,"cpe_cents":1449,"engagement_rate":7.43,"video_views":96000},"deltas":{"spend_cents":12.4,"impressions":8.1,"reach":5.6,"engagements":-2.3,"clicks":14},"series":[{"date":"2026-10-27","spend_cents":12000,"impressions":14800,"reach":10200,"engagements":790,"clicks":104}],"top_accounts":[],"per_campaign":[]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["analytics:read"],"x-mcp-tool":"get_analytics"}},"/v1/shortlists":{"get":{"operationId":"shortlists.list","summary":"List shortlists","description":"The workspace's shortlists (named lists of saved marketplace creators), most recently changed first.\n\nRequired scope: `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0sl001","object":"shortlist","name":"Spring launch, skincare","description":"Micro-creators for the serum drop","creator_count":12,"created_at":"2026-11-01T10:00:00.000Z","updated_at":"2026-11-06T14:30:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["marketplace:read"],"x-mcp-tool":"list_shortlists"},"post":{"operationId":"shortlists.create","summary":"Create a shortlist","description":"Creates a shortlist, optionally with creators (marketplace account IDs) on it. Names are unique per workspace. Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"description":{"anyOf":[{"type":"string","maxLength":280},{"type":"null"}]},"account_ids":{"description":"Marketplace account IDs to save right away","maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}},"required":["name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0sl001","object":"shortlist","name":"Spring launch, skincare","description":"Micro-creators for the serum drop","creator_count":12,"created_at":"2026-11-01T10:00:00.000Z","updated_at":"2026-11-06T14:30:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"create_shortlist"}},"/v1/shortlists/{id}":{"get":{"operationId":"shortlists.get","summary":"Get a shortlist","description":"A shortlist with its creators, newest first. Creators still in the marketplace come with their card (aggregate stats, rates, availability); ones that left it have `in_marketplace: false` and `creator: null`. Use creator data only to evaluate and book creators on the platform.\n\nRequired scope: `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Shortlist ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0sl001","object":"shortlist","name":"Spring launch, skincare","description":"Micro-creators for the serum drop","creator_count":12,"created_at":"2026-11-01T10:00:00.000Z","updated_at":"2026-11-06T14:30:00.000Z","creators":[{"account_id":"cmf0acc001","username":"maya.creates","note":"Ask about Reels","added_at":"2026-11-06T14:30:00.000Z","in_marketplace":true,"creator":{"id":"cmf0acc001","username":"maya.creates","followers":48200,"engagement_rate":4.1,"from_price_cents":12000}}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["marketplace:read"],"x-mcp-tool":"get_shortlist"},"patch":{"operationId":"shortlists.update","summary":"Update a shortlist","description":"Renames a shortlist or changes its description. Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Shortlist ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"description":{"anyOf":[{"type":"string","maxLength":280},{"type":"null"}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0sl001","object":"shortlist","name":"Spring launch, skincare","description":"Micro-creators for the serum drop","creator_count":12,"created_at":"2026-11-01T10:00:00.000Z","updated_at":"2026-11-06T14:30:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"update_shortlist"},"delete":{"operationId":"shortlists.delete","summary":"Delete a shortlist","description":"Deletes a shortlist and its notes. Campaigns and requests aren't affected. Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Shortlist ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0sl001","object":"shortlist","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"delete_shortlist"}},"/v1/shortlists/{id}/creators":{"post":{"operationId":"shortlists.add_creator","summary":"Save a creator to a shortlist","description":"Saves a marketplace creator to the shortlist (idempotent: saving one that's already there keeps it and updates the note when given). Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Shortlist ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","minLength":1,"maxLength":64,"description":"Marketplace account ID"},"note":{"description":"Visible to the workspace only","anyOf":[{"type":"string","maxLength":280},{"type":"null"}]}},"required":["account_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"shortlist_creator","shortlist_id":"cmf0sl001","account_id":"cmf0acc001","added":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"add_to_shortlist"}},"/v1/shortlists/{id}/creators/{account_id}":{"delete":{"operationId":"shortlists.remove_creator","summary":"Remove a creator from a shortlist","description":"Removes a creator (also one no longer in the marketplace) from the shortlist. Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Shortlist ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"account_id","in":"path","required":true,"description":"Account ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"shortlist_creator","shortlist_id":"cmf0sl001","account_id":"cmf0acc001","removed":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"remove_from_shortlist"}},"/v1/shortlists/{id}/add-to-campaign":{"post":{"operationId":"shortlists.add_to_campaign","summary":"Add a shortlist to a campaign","description":"Pins every creator on the shortlist who is still in the marketplace into a draft or paused targeted campaign's hand-picked creators (`targeting.include_account_ids`, plan feature advanced targeting). Creators already in it are counted, not added twice. Launching the campaign sends them requests. Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Shortlist ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"campaign_id":{"type":"string","minLength":1,"maxLength":64,"description":"A draft or paused targeted campaign"}},"required":["campaign_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"shortlist_campaign_add","shortlist_id":"cmf0sl001","campaign_id":"cmf0cmp001","added":9,"already":2,"skipped":1}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"add_shortlist_to_campaign"}},"/v1/saved-searches":{"get":{"operationId":"saved_searches.list","summary":"List saved searches","description":"Marketplace searches saved in the app. `filters` uses the app's URL filter names (`minFollowers`, `formatKey`, `ages`…); `GET /v1/marketplace/creators` takes the same values in snake_case (`min_followers`, `format`, `audience_ages`).\n\nRequired scope: `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0ss001","object":"saved_search","name":"US beauty, 10K+","filters":{"niches":"beauty","country":"US","minFollowers":"10000","sort":"engagement"},"query":"?niches=beauty&country=US&minFollowers=10000&sort=engagement","notify_new_matches":false,"created_at":"2026-11-02T09:00:00.000Z","updated_at":"2026-11-02T09:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["marketplace:read"],"x-mcp-tool":"list_saved_searches"},"post":{"operationId":"saved_searches.create","summary":"Save a search","description":"Saves marketplace filters under a name, for the team to reopen in the app. Filter keys: `q`, `niches`, `country`, `languages`, `ages`, `minFollowers`, `maxFollowers`, `minEr`, `formatKey`, `minPrice`, `maxPrice`, `approval`, `available`, `collab`, `sort`; values are strings as in the app's URL (lists comma-separated). Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"filters":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":400},"description":"Filter name → value, e.g. `{ \"niches\": \"beauty\", \"minFollowers\": \"10000\" }`"},"notify_new_matches":{"description":"Periodically notify the workspace about creators who newly match. Off by default","type":"boolean"}},"required":["name","filters"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0ss001","object":"saved_search","name":"US beauty, 10K+","filters":{"niches":"beauty","country":"US","minFollowers":"10000","sort":"engagement"},"query":"?niches=beauty&country=US&minFollowers=10000&sort=engagement","notify_new_matches":false,"created_at":"2026-11-02T09:00:00.000Z","updated_at":"2026-11-02T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"save_search"}},"/v1/saved-searches/{id}":{"patch":{"operationId":"saved_searches.update","summary":"Update a saved search","description":"Renames a saved search, replaces its filters (same keys as when saving) and/or turns its new-match notifications on or off. Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Saved search ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"filters":{"description":"Replaces every filter of the search","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":400}},"notify_new_matches":{"description":"Turn new-match notifications on or off","type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0ss001","object":"saved_search","name":"US beauty, 10K+","filters":{"niches":"beauty","country":"US","minFollowers":"10000","sort":"engagement"},"query":"?niches=beauty&country=US&minFollowers=10000&sort=engagement","notify_new_matches":false,"created_at":"2026-11-02T09:00:00.000Z","updated_at":"2026-11-02T09:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"update_saved_search"},"delete":{"operationId":"saved_searches.delete","summary":"Delete a saved search","description":"Deletes a saved search for everyone in the workspace. Needs a key with `campaigns:write` and `marketplace:read`.\n\nRequired scope: `campaigns:write` and `marketplace:read`.","tags":["Marketplace"],"parameters":[{"name":"id","in":"path","required":true,"description":"Saved search ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0ss001","object":"saved_search","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["campaigns:write","marketplace:read"],"x-mcp-tool":"delete_saved_search"}},"/v1/ai/plans":{"post":{"operationId":"ai.plans.create","summary":"Plan content","description":"Turns a brief into 3–6 distinct Instagram post concepts grounded in facts. With `research` (default true) it first reads the brand's website, the campaign's landing page and `urls`, and searches the web when the routed model supports it; every concept cites the facts it uses (`fact_ids`, indices into `research.facts`) and uses [placeholders] for anything research couldn't confirm. Concepts carry a format (`carousel` or `single`), a content type, a hook, a slide outline, a caption, hashtags and a CTA. Open one as a design with `POST /v1/ai/plans/{id}/concepts/{index}/design`. Uses the workspace's BYOK key when set, otherwise AI credits for the research and for the plan (a model's `credits.research` and `credits.content_plan` in `GET /v1/ai/models`). Credits are checked before research runs: without enough for the plan the request fails with `insufficient_credits`, and with enough for the plan but not research too the plan is written without research (`research.status` `failed` with a message).\n\nRequired scope: `ai:generate`.","tags":["AI"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"brief":{"type":"string","minLength":3,"maxLength":4000,"description":"What you're promoting: product, offer, audience, anything that must be said"},"campaign_id":{"description":"Plan for this campaign's objective, landing page and brand kit","anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"urls":{"description":"Pages to read besides the brand's website and links in the brief (up to 5)","maxItems":5,"type":"array","items":{"type":"string","maxLength":500}},"posts":{"default":4,"description":"How many concepts","type":"integer","minimum":3,"maximum":6},"content_type":{"description":"Content type every concept uses (see `GET /v1/reference/content_type`); omit for a mix","anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"persona_id":{"description":"Persona or platform voice ID. Omit for Auto; null for no persona","type":["string","null"]},"research":{"default":true,"description":"Research the brand's pages and the web first; false = the brief and saved brand details only","type":"boolean"},"model":{"description":"A specific model: `\"provider:model\"` or `{ provider, model }` (see `GET /v1/ai/models`)","anyOf":[{"type":"string","minLength":3,"maxLength":240},{"type":"object","properties":{"provider":{"type":"string","minLength":1,"maxLength":40},"model":{"type":"string","minLength":1,"maxLength":200}},"required":["provider","model"]}]}},"required":["brief"]},"example":{"brief":"Launch posts for Barrier Repair Serum, $34, 20% off with BARRIER20 until Nov 15.","posts":4,"research":true}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"content_plan","id":"cmf0gen009","created_at":"2026-11-05T10:00:00.000Z","brief":"Launch posts for Barrier Repair Serum, $34, 20% off with BARRIER20 until Nov 15.","summary":"Four launch posts: the benefit, a routine, the offer and how it's made.","concepts":[{"title":"Barrier reset in four steps","angle":"Education","format":"carousel","content_type":"education","hook":"Your skin barrier needs a reset after summer","slides":[{"headline":"Your skin barrier needs a reset","body":""},{"headline":"Cleanse gently","body":"Skip foaming cleansers for a week."},{"headline":"Layer niacinamide and ceramides","body":"Barrier Repair Serum, on damp skin."},{"headline":"Save this routine","body":"lumen.example/serum"}],"caption":"Your skin barrier needs a reset after summer. Four steps, one serum, no fragrance...","hashtags":["skinbarrier","niacinamide","sensitiveskin"],"cta":"Save this routine","fact_ids":[0,2],"why":"A useful routine earns saves, which suits a launch that needs reach."}],"research":{"status":"ok","credits_charged":2,"summary":"Lumen sells Barrier Repair Serum, a fragrance-free niacinamide and ceramide serum.","facts":[{"claim":"Barrier Repair Serum costs $34 for 30 ml.","topic":"product","source":{"kind":"page","url":"https://lumen.example/serum","title":"Barrier Repair Serum"}}],"gaps":["Customer reviews"],"pages":[{"url":"https://lumen.example/serum","title":"Barrier Repair Serum","ok":true}],"web_search":true},"campaign_id":null,"content_type":null,"persona":{"id":"cmf0prs101","name":"Practical teacher","source":"platform_type"},"provider":"anthropic","model":"claude-sonnet-5-5","used_byok":false,"credits_charged":4,"designs":{}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate"],"x-mcp-tool":"plan_content"}},"/v1/ai/plans/{id}":{"get":{"operationId":"ai.plans.get","summary":"Get a content plan","description":"A content plan with its concepts, the research it used and the designs already created from it (`designs`: concept index → design ID).\n\nRequired scope: `ai:generate`.","tags":["AI"],"parameters":[{"name":"id","in":"path","required":true,"description":"Content plan (generation) ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"content_plan","id":"cmf0gen009","created_at":"2026-11-05T10:00:00.000Z","brief":"Launch posts for Barrier Repair Serum, $34, 20% off with BARRIER20 until Nov 15.","summary":"Four launch posts: the benefit, a routine, the offer and how it's made.","concepts":[{"title":"Barrier reset in four steps","angle":"Education","format":"carousel","content_type":"education","hook":"Your skin barrier needs a reset after summer","slides":[{"headline":"Your skin barrier needs a reset","body":""},{"headline":"Cleanse gently","body":"Skip foaming cleansers for a week."},{"headline":"Layer niacinamide and ceramides","body":"Barrier Repair Serum, on damp skin."},{"headline":"Save this routine","body":"lumen.example/serum"}],"caption":"Your skin barrier needs a reset after summer. Four steps, one serum, no fragrance...","hashtags":["skinbarrier","niacinamide","sensitiveskin"],"cta":"Save this routine","fact_ids":[0,2],"why":"A useful routine earns saves, which suits a launch that needs reach."}],"research":{"status":"ok","credits_charged":2,"summary":"Lumen sells Barrier Repair Serum, a fragrance-free niacinamide and ceramide serum.","facts":[{"claim":"Barrier Repair Serum costs $34 for 30 ml.","topic":"product","source":{"kind":"page","url":"https://lumen.example/serum","title":"Barrier Repair Serum"}}],"gaps":["Customer reviews"],"pages":[{"url":"https://lumen.example/serum","title":"Barrier Repair Serum","ok":true}],"web_search":true},"campaign_id":null,"content_type":null,"persona":{"id":"cmf0prs101","name":"Practical teacher","source":"platform_type"},"provider":"anthropic","model":"claude-sonnet-5-5","used_byok":false,"credits_charged":4,"designs":{}}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["ai:generate"],"x-mcp-tool":"get_content_plan"}},"/v1/ai/plans/{id}/concepts/{index}/design":{"post":{"operationId":"ai.plans.design","summary":"Create a design from a concept","description":"Opens one concept of a content plan as a design: a template recommended for its content type and format (blank when none fits), the concept's hook, slide outline, caption direction and CTA as the brief, the plan's voice and campaign, and the plan's research (not researched or charged again). AI writes the slides, caption and hashtags; uses the design-copy credits unless it runs on your own key. Limited by the plan's `designs`.\n\nRequired scope: `creatives:write` and `ai:generate`.","tags":["AI"],"parameters":[{"name":"id","in":"path","required":true,"description":"Content plan (generation) ID","schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"index","in":"path","required":true,"description":"Concept index (0-based)","schema":{"type":"integer","minimum":0,"maximum":5}}],"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"design_from_concept","plan_id":"cmf0gen009","index":0,"design_id":"cmf0dsn001","template_id":"cmf0dt0001","credits_charged":8,"used_byok":false,"provider":"anthropic","model":"claude-sonnet-5-5"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["creatives:write","ai:generate"],"x-mcp-tool":"create_design_from_concept"}},"/v1/personas":{"get":{"operationId":"personas.list","summary":"List personas","description":"Voices used by AI generation: the workspace's personas (default first), then the platform voices (`platform: true`, admin-managed and read-only, one per content type). Any of them can be passed as `persona_id` to `POST /v1/ai/generate`.\n\nRequired scope: `personas:read`.","tags":["Personas"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"status","in":"query","required":false,"description":"Filters the workspace's personas; platform voices are always active","schema":{"default":"active","type":"string","enum":["active","archived","all"]}},{"name":"team_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"include_platform","in":"query","required":false,"description":"Include platform voices (default true; ignored for `status=archived`)","schema":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":true,"status":"active","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:read"],"x-mcp-tool":"list_personas"},"post":{"operationId":"personas.create","summary":"Create a persona","description":"Creates a brand voice. The first active persona becomes the default. Counts toward the plan's persona limit.\n\nRequired scope: `personas:write`.","tags":["Personas"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":60},"tagline":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"avatar_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"team_id":{"description":"Team that owns the persona. With no team, every member of the workspace sees it, so a key limited to teams can't create one without a team: a key limited to one team defaults to it, a key limited to several must name one (400 otherwise), and none can clear the team of a persona that has one (403).","type":["string","null"]},"tone":{"description":"Up to 6 `persona_tone` keys (see `GET /v1/reference/persona_tone`), e.g. warm, practical","maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"formality":{"description":"0 = casual, 100 = formal","type":"integer","minimum":0,"maximum":100},"emoji_usage":{"description":"A `persona_emoji_usage` key (see `GET /v1/reference/persona_emoji_usage`), e.g. light. Left out on create, the list's default item is used.","type":"string","minLength":1,"maxLength":40},"language":{"description":"Language code, e.g. `en` (see `GET /v1/reference/persona_language`). Left out on create, the first active language is used.","type":"string","minLength":2,"maxLength":10},"audience":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"values":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"do_list":{"description":"Things the voice always does","maxItems":15,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"dont_list":{"description":"Things the voice never does","maxItems":15,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"banned_words":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"sample_posts":{"description":"Example captions in this voice","maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":2200}},"hashtag_style":{"description":"A `persona_hashtag_style` key (see `GET /v1/reference/persona_hashtag_style`), e.g. moderate. Left out on create, the list's default item is used.","type":"string","minLength":1,"maxLength":40},"cta_style":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}},"required":["name"]},"example":{"name":"Lumen voice","tone":["warm","expert"],"formality":40,"emoji_usage":"light","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"hashtag_style":"minimal"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":true,"status":"active","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"create_persona"}},"/v1/personas/{id}":{"get":{"operationId":"personas.get","summary":"Get a persona","description":"Retrieve one persona: a workspace persona or a platform voice (`platform: true`).\n\nRequired scope: `personas:read`.","tags":["Personas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Persona ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":true,"status":"active","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:read"],"x-mcp-tool":"get_persona"},"patch":{"operationId":"personas.update","summary":"Update a persona","description":"Update fields; omitted fields keep their values. Platform voices are read-only (403): duplicate one to edit it.\n\nRequired scope: `personas:write`.","tags":["Personas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Persona ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":60},"tagline":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"avatar_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"team_id":{"description":"Team that owns the persona. With no team, every member of the workspace sees it, so a key limited to teams can't create one without a team: a key limited to one team defaults to it, a key limited to several must name one (400 otherwise), and none can clear the team of a persona that has one (403).","type":["string","null"]},"tone":{"description":"Up to 6 `persona_tone` keys (see `GET /v1/reference/persona_tone`), e.g. warm, practical","maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"formality":{"description":"0 = casual, 100 = formal","type":"integer","minimum":0,"maximum":100},"emoji_usage":{"description":"A `persona_emoji_usage` key (see `GET /v1/reference/persona_emoji_usage`), e.g. light. Left out on create, the list's default item is used.","type":"string","minLength":1,"maxLength":40},"language":{"description":"Language code, e.g. `en` (see `GET /v1/reference/persona_language`). Left out on create, the first active language is used.","type":"string","minLength":2,"maxLength":10},"audience":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"values":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"do_list":{"description":"Things the voice always does","maxItems":15,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"dont_list":{"description":"Things the voice never does","maxItems":15,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"banned_words":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"sample_posts":{"description":"Example captions in this voice","maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":2200}},"hashtag_style":{"description":"A `persona_hashtag_style` key (see `GET /v1/reference/persona_hashtag_style`), e.g. moderate. Left out on create, the list's default item is used.","type":"string","minLength":1,"maxLength":40},"cta_style":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}}},"example":{"formality":55,"banned_words":["miracle","flawless"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":true,"status":"active","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"update_persona"},"delete":{"operationId":"personas.delete","summary":"Delete a persona","description":"Permanently deletes an archived workspace persona. Creatives and campaigns that used it keep their content; their persona link is cleared.\n\nRequired scope: `personas:write`.","tags":["Personas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Persona ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","deleted":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"delete_persona"}},"/v1/personas/{id}/duplicate":{"post":{"operationId":"personas.duplicate","summary":"Duplicate a persona","description":"Copy a workspace persona or a platform voice into the workspace as an editable persona. Counts toward the plan's persona limit.\n\nRequired scope: `personas:write`.","tags":["Personas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Persona ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":true,"status":"active","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"duplicate_persona"}},"/v1/personas/{id}/archive":{"post":{"operationId":"personas.archive","summary":"Archive a persona","description":"Hides a workspace persona from pickers and AI generation. If it was the default, the workspace has no default until you set one. Archived personas can be restored or deleted.\n\nRequired scope: `personas:write`.","tags":["Personas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Persona ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":false,"status":"archived","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"archive_persona"}},"/v1/personas/{id}/restore":{"post":{"operationId":"personas.restore","summary":"Restore a persona","description":"Makes an archived persona active again. Counts toward the plan's persona limit.\n\nRequired scope: `personas:write`.","tags":["Personas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Persona ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":false,"status":"active","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"restore_persona"}},"/v1/personas/{id}/default":{"post":{"operationId":"personas.set_default","summary":"Make a persona the default","description":"The default persona writes AI content when no persona is chosen and no voice is set for the content type. One per workspace; the persona must be active.\n\nRequired scope: `personas:write`.","tags":["Personas"],"parameters":[{"name":"id","in":"path","required":true,"description":"Persona ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0prs001","object":"persona","name":"Lumen voice","avatar_url":null,"tagline":"Calm, clinical, kind","description":"Science-backed skincare without the jargon.","tone":["warm","expert"],"formality":40,"emoji_usage":"light","language":"en","audience":"Women 25–40 who read ingredient lists","values":"Honesty over hype","do_list":["Name the key ingredient"],"dont_list":["Promise overnight results"],"banned_words":["miracle"],"sample_posts":[],"hashtag_style":"minimal","cta_style":"Soft invitation","is_default":true,"status":"active","team_id":null,"created_at":"2026-10-01T10:00:00.000Z","updated_at":"2026-10-20T10:00:00.000Z","platform":false,"key":null,"content_type":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"set_default_persona"}},"/v1/personas/voices":{"get":{"operationId":"personas.voices.get","summary":"Voices by content type","description":"For every content type (see `GET /v1/reference/content_type`): the workspace's chosen voice, the platform default, and `auto_voice`, the persona `POST /v1/ai/generate` uses when `persona_id` is omitted (`source`: workspace_type | platform_type | workspace_default).\n\nRequired scope: `personas:read`.","tags":["Personas"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"content_type_voices","data":[{"content_type":"education","label":"How-to & tips","goal":"saves","workspace_voice":null,"platform_voice":{"id":"cmf0prs101","name":"Practical teacher"},"auto_voice":{"id":"cmf0prs101","name":"Practical teacher","platform":true,"source":"platform_type"}},{"content_type":"promo","label":"Offer & promo","goal":"clicks","workspace_voice":{"id":"cmf0prs001","name":"Lumen voice","platform":false},"platform_voice":{"id":"cmf0prs102","name":"Straight shooter"},"auto_voice":{"id":"cmf0prs001","name":"Lumen voice","platform":false,"source":"workspace_type"}}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:read"],"x-mcp-tool":"get_content_type_voices"},"put":{"operationId":"personas.voices.update","summary":"Set voices by content type","description":"Choose the voice for one or more content types: `{ \"voices\": { \"education\": \"<persona id>\", \"promo\": null } }`. Any workspace persona or platform voice works; `null` goes back to the platform default. Types you leave out are unchanged.\n\nRequired scope: `personas:write`.","tags":["Personas"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"voices":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":40},"additionalProperties":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"description":"content_type key → persona id, or null for the platform default"}},"required":["voices"]},"example":{"voices":{"education":"cmf0prs001","promo":null}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"content_type_voices","data":[{"content_type":"education","label":"How-to & tips","goal":"saves","workspace_voice":null,"platform_voice":{"id":"cmf0prs101","name":"Practical teacher"},"auto_voice":{"id":"cmf0prs101","name":"Practical teacher","platform":true,"source":"platform_type"}},{"content_type":"promo","label":"Offer & promo","goal":"clicks","workspace_voice":{"id":"cmf0prs001","name":"Lumen voice","platform":false},"platform_voice":{"id":"cmf0prs102","name":"Straight shooter"},"auto_voice":{"id":"cmf0prs001","name":"Lumen voice","platform":false,"source":"workspace_type"}}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["personas:write"],"x-mcp-tool":"set_content_type_voices"}},"/v1/wallet":{"get":{"operationId":"wallet.get","summary":"Get wallet balances","description":"Balances in the platform currency (cents). Advertisers: `spendable_cents` funds new placements (`available_cents` less earnings still clearing or under dispute), `reserved` is held for approved placements and open-campaign escrow (marketplace fee included). Creators: `pending_earnings` settle when placements complete; `withdrawable_cents` (settled earnings not yet paid out or spent) can be paid out; `clearing_cents` is settled money that can't be yet because its advertiser had a recent card deposit, and `next_clears_at` is when the next part of it can. Deposits are never withdrawable. Each side's figures need that side's access, as in the app: the advertiser's (`spendable_cents`, `reserved_cents` and the lifetime spend, deposits and fees) `billing.read` or `wallet.manage`, the creator's (withdrawable, clearing, pending and lifetime earnings, pending payouts) `earnings.read` or `payouts.manage`. A key whose creator's role has neither side's tools sees only the workspace balance with `billing.read`, as the app's Wallet page shows it to them: `available_cents` and `spendable_cents`, and every other figure `null`. A side the key can't see, or the workspace doesn't run, comes back `null` (hidden, not zero); a key with neither gets 403.\n\nRequired scope: `wallet:read`.","tags":["Wallet"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"wallet","currency":"USD","available_cents":1250000,"spendable_cents":1250000,"withdrawable_cents":0,"clearing_cents":0,"next_clears_at":null,"reserved_cents":90000,"pending_payouts_cents":0,"pending_earnings_cents":0,"lifetime_earnings_cents":0,"lifetime_spend_cents":310000,"lifetime_deposits_cents":1650000}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["wallet:read"],"x-mcp-tool":"get_wallet"}},"/v1/wallet/transactions":{"get":{"operationId":"wallet.transactions.list","summary":"List wallet transactions","description":"The wallet ledger, newest first. Amounts are signed cents: holds and charges are negative, deposits and earnings positive. Like the app's Wallet page it lists the movements of the sides the key can see: the advertiser's (deposits, escrow, holds, charges, marketplace fees, refunds and corrections) with `billing.read` or `wallet.manage`, the creator's (earnings, adjustments and payouts) with `earnings.read` or `payouts.manage`, and every side's with `billing.read` for a key whose creator's role has neither side's tools. A `type` of a side the key can't see matches nothing.\n\nRequired scope: `wallet:read`.","tags":["Wallet"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"type","in":"query","required":false,"description":"Comma-separated transaction types","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["deposit","reserve","hold","release","charge","earning","platform_fee","payout","refund","adjustment","correction"]}},{"type":"string"}]}},{"name":"status","in":"query","required":false,"description":"Comma-separated statuses","schema":{"anyOf":[{"type":"array","items":{"type":"string","enum":["pending","settled","failed","reversed"]}},{"type":"string"}]}},{"name":"campaign_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}},{"name":"placement_id","in":"query","required":false,"description":"","schema":{"type":"string","maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0txn001","object":"wallet_transaction","type":"hold","amount_cents":-45000,"currency":"USD","status":"pending","campaign_id":"cmf0cmp001","placement_id":"cmf0plc001","payout_id":null,"description":"Hold for @maya.creates","created_at":"2026-10-28T11:00:00.000Z"}],"has_more":true,"next_cursor":"cmf0txn001"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["wallet:read"],"x-mcp-tool":"list_wallet_transactions"}},"/v1/wallet/statements/{period}/pdf":{"post":{"operationId":"wallet.statements.pdf.create","summary":"Create an earnings statement PDF","description":"Starts a PDF of one earnings statement, for a month (`2026-11`) or a year (`2026`). `status` is `queued` until it has rendered: poll `GET /v1/wallet/statements/{period}/pdf/{export_id}` until it's `ready` (or `failed`), then fetch `download_url` with the same API key. Asking again while one is being prepared returns that one. Workspaces have a daily limit, which every PDF started counts toward, so this needs `payouts:write` as well as `wallet:read`. The legal name and tax ID on file are printed only when the key's owner has `payouts.manage`. Files expire after a few days; create a new one any time.\n\nRequired scope: `payouts:write` and `wallet:read`.","tags":["Wallet"],"parameters":[{"name":"period","in":"path","required":true,"description":"A month (YYYY-MM) or a year (YYYY), in the workspace's time zone","schema":{"type":"string"}}],"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0stm001","object":"statement_pdf","period":"2026-10","status":"queued","size_bytes":null,"error":null,"created_at":"2026-11-02T09:00:00.000Z","completed_at":null,"expires_at":null,"download_url":null,"download_url_expires_at":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["payouts:write","wallet:read"],"x-mcp-tool":"create_statement_pdf"}},"/v1/wallet/statements/{period}/pdf/{export_id}":{"get":{"operationId":"wallet.statements.pdf.get","summary":"Get an earnings statement PDF","description":"Where a statement PDF stands. `download_url` is set once it's `ready` and until it expires; it needs the same API key, and `download_url_expires_at` is `null`. Over MCP, `download_url` is a signed link that needs no API key or header and stops working at `download_url_expires_at`: get the statement PDF again for a new one.\n\nRequired scope: `wallet:read`.","tags":["Wallet"],"parameters":[{"name":"period","in":"path","required":true,"description":"A month (YYYY-MM) or a year (YYYY), in the workspace's time zone","schema":{"type":"string"}},{"name":"export_id","in":"path","required":true,"description":"Statement PDF ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0stm001","object":"statement_pdf","period":"2026-10","status":"ready","size_bytes":48210,"error":null,"created_at":"2026-11-02T09:00:00.000Z","completed_at":"2026-11-02T09:00:06.000Z","expires_at":"2026-11-09T09:00:06.000Z","download_url":"https://coboost.ai/api/v1/wallet/statements/2026-10/pdf/cmf0stm001/download","download_url_expires_at":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["wallet:read"],"x-mcp-tool":"get_statement_pdf"}},"/v1/wallet/statements/{period}/pdf/{export_id}/download":{"get":{"operationId":"wallet.statements.pdf.download","summary":"Download an earnings statement PDF","description":"The PDF file itself (`application/pdf`), while it's `ready` and hasn't expired. 409 while it's still being prepared, 404 once it has expired.\n\nRequired scope: `wallet:read`.","tags":["Wallet"],"parameters":[{"name":"period","in":"path","required":true,"description":"A month (YYYY-MM) or a year (YYYY), in the workspace's time zone","schema":{"type":"string"}},{"name":"export_id","in":"path","required":true,"description":"Statement PDF ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["wallet:read"]}},"/v1/payouts":{"get":{"operationId":"payouts.list","summary":"List payouts","description":"The workspace's payout requests, newest first. `status`: pending (waiting for review; `hold_reason` when held), processing (approved, being sent), paid, failed (amount returned to the balance) or canceled. An approved payout whose saved destination was removed before it was sent stays `processing` with `hold_reason` set and isn't sent there: the platform team checks with the workspace's owners, then releases it (it's sent and marked paid) or cancels it (`canceled`, with the reason in `failure_reason`, and the amount returned to the balance). `held_at` is when an admin's hold or a removed destination's hold began, null otherwise.\n\nRequired scope: `wallet:read`.","tags":["Payouts"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0pay001","object":"payout","amount_cents":25000,"currency":"USD","method":"paypal","destination_id":"cmf0pdst01","destination":"ma****@ex*****.com","status":"pending","hold_reason":null,"held_at":null,"failure_reason":null,"external_ref":null,"requested_at":"2026-10-28T11:00:00.000Z","processed_at":null,"paid_at":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["wallet:read"],"x-mcp-tool":"list_payouts"},"post":{"operationId":"payouts.create","summary":"Request a payout","description":"Withdraw settled earnings. `amount_cents` must be at least the platform minimum and at most `withdrawable_cents` from `GET /v1/wallet`. `method` is a key from `GET /v1/payouts/methods`. Manual methods pay one of the workspace's saved destinations: send its `destination_id` from `GET /v1/payouts/destinations` (a `destination` matching a saved one's full value works too). A destination that isn't saved returns 409 with `payout_destination_not_saved`, and one added recently returns 409 with `payout_destination_cooling_off` and its `usable_at` in `details`. The Stripe method returns the same 409 while a Stripe payout account approved recently is in its waiting period. Destinations can't be added, and Stripe payouts can't be set up, through the API. While payments are being switched to live mode it returns 409 with a `Retry-After` header and nothing is requested; a retry with the same `Idempotency-Key` after that runs the request.\n\nRequired scope: `payouts:write`.","tags":["Payouts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount_cents":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"method":{"type":"string","minLength":1,"maxLength":40},"destination_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"destination":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}]}},"required":["amount_cents","method"]},"example":{"amount_cents":25000,"method":"paypal","destination_id":"cmf0pdst01"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0pay001","object":"payout","amount_cents":25000,"currency":"USD","method":"paypal","destination_id":"cmf0pdst01","destination":"ma****@ex*****.com","status":"pending","hold_reason":null,"held_at":null,"failure_reason":null,"external_ref":null,"requested_at":"2026-10-28T11:00:00.000Z","processed_at":null,"paid_at":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["payouts:write"],"x-live-mode-only":"Payouts move real money.","x-mcp-tool":"request_payout"}},"/v1/payouts/methods":{"get":{"operationId":"payouts.methods","summary":"List payout methods","description":"Payout methods creators can choose (admin-managed), with what kind of destination each pays to and the usual processing time. Automatic methods (Stripe) need a connected Stripe account; the others pay a saved destination (`GET /v1/payouts/destinations`).\n\nRequired scope: `wallet:read`.","tags":["Payouts"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"key":"paypal","label":"PayPal","automatic":false,"destination_label":"PayPal email","destination_hint":"The email of your PayPal account.","processing_time":"1–3 business days"}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["wallet:read"],"x-mcp-tool":"list_payout_methods"}},"/v1/payouts/destinations":{"get":{"operationId":"payouts.destinations.list","summary":"List payout destinations","description":"The workspace's saved destinations for manual payout methods (PayPal, bank transfer), oldest first, partly hidden. A payout on a manual method goes only to one of these: pass its `id` as `destination_id` to `POST /v1/payouts`. Destinations are added and removed only in the app, by someone who confirms it's them; every owner is emailed, and `status` is `cooling_off` until `usable_at`, when payouts can first go to it.\n\nRequired scope: `wallet:read`.","tags":["Payouts"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0pdst01","object":"payout_destination","method":"paypal","destination":"ma****@ex*****.com","status":"ready","usable_at":"2026-10-25T09:00:00.000Z","created_at":"2026-10-22T09:00:00.000Z"}]}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["wallet:read"],"x-mcp-tool":"list_payout_destinations"}},"/v1/payouts/{id}/cancel":{"post":{"operationId":"payouts.cancel","summary":"Cancel a payout","description":"Cancel a payout that is still `pending` (not yet approved). The amount returns to the withdrawable balance.\n\nRequired scope: `payouts:write`.","tags":["Payouts"],"parameters":[{"name":"id","in":"path","required":true,"description":"Payout ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0pay001","object":"payout","amount_cents":25000,"currency":"USD","method":"paypal","destination_id":"cmf0pdst01","destination":"ma****@ex*****.com","status":"canceled","hold_reason":null,"held_at":null,"failure_reason":null,"external_ref":null,"requested_at":"2026-10-28T11:00:00.000Z","processed_at":null,"paid_at":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["payouts:write"],"x-mcp-tool":"cancel_payout"}},"/v1/placements/{id}/disputes":{"post":{"operationId":"placements.dispute","summary":"Report a problem with a post","description":"Open a dispute on a published, completed or early-removed placement, from either side, within the platform's dispute window. The placement becomes `disputed`: completion and the creator's earning are frozen until the platform team resolves it. `reason` is a key of the `dispute_reason` reference list (`GET /v1/reference/dispute_reason`).\n\nRequired scope: `placements:write` or `campaigns:write`.","tags":["Disputes"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":40},"details":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["reason"]},"example":{"reason":"removed_early","details":"The post was deleted after 6 hours."}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"id":"cmf0dsp001","object":"dispute","placement_id":"cmf0plc001","opened_by":"advertiser","reason":"removed_early","details":"The post was deleted after 6 hours.","status":"open","resolution":null,"creator_share_cents":null,"resolution_note":null,"decision_due_at":"2026-11-11T11:00:00.000Z","created_at":"2026-10-28T11:00:00.000Z","resolved_at":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write","campaigns:write"],"x-live-mode-only":"Disputes are decided by the platform team.","x-mcp-tool":"open_dispute"}},"/v1/disputes":{"get":{"operationId":"disputes.list","summary":"List disputes","description":"Disputes on this workspace's placements (as advertiser or creator), newest first.\n\nRequired scope: `placements:read`.","tags":["Disputes"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size, 1–100 (default 25)","schema":{"default":25,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}},{"name":"status","in":"query","required":false,"description":"","schema":{"type":"string","enum":["open","resolved"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"id":"cmf0dsp001","object":"dispute","placement_id":"cmf0plc001","opened_by":"advertiser","reason":"removed_early","details":"The post was deleted after 6 hours.","status":"open","resolution":null,"creator_share_cents":null,"resolution_note":null,"decision_due_at":"2026-11-11T11:00:00.000Z","created_at":"2026-10-28T11:00:00.000Z","resolved_at":null}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read"],"x-mcp-tool":"list_disputes"}},"/v1/help/articles":{"get":{"operationId":"help.list","summary":"List or search help articles","description":"Published help center articles, the same guides as the public help center. With `q`, a full-text search ranked by relevance; without it, every article in help center order. `audience` limits the list to one side's articles plus those for everyone; it defaults to the side this workspace runs (every article when it runs both). Pages with `limit` and `cursor` (`next_cursor` from the previous page). Read an article's text with `GET /v1/help/articles/{slug}`. Any API key can read these.","tags":["Help center"],"parameters":[{"name":"q","in":"query","required":false,"description":"Search words, e.g. `payout stripe`","schema":{"type":"string","maxLength":200}},{"name":"audience","in":"query","required":false,"description":"`creator`, `advertiser` or `everyone` (every article)","schema":{"type":"string","enum":["everyone","creator","advertiser"]}},{"name":"category","in":"query","required":false,"description":"Help category key (see `GET /v1/reference/help_category`)","schema":{"type":"string","maxLength":40}},{"name":"limit","in":"query","required":false,"description":"Page size, 1–50 (default 20)","schema":{"default":20,"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"`next_cursor` from the previous page","schema":{"type":"string","maxLength":128}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"list","data":[{"object":"help_article","slug":"get-paid","title":"Get paid for your posts","summary":"When earnings become withdrawable, how to request a payout and how Stripe payouts work.","category":{"key":"earnings_payouts","label":"Earnings and payouts"},"audience":"creator","url":"https://coboost.ai/help/get-paid","updated_at":"2026-11-07T12:00:00.000Z"}],"has_more":false,"next_cursor":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":[],"x-mcp-tool":"search_help_articles"}},"/v1/help/articles/{slug}":{"get":{"operationId":"help.get","summary":"Get a help article","description":"One published help article with its full text as Markdown (`body_markdown`), with the brand and platform settings (minimum payout, dispute window, fees…) filled in as they are today.","tags":["Help center"],"parameters":[{"name":"slug","in":"path","required":true,"description":"Article slug from `GET /v1/help/articles`, e.g. `get-paid`","schema":{"type":"string","minLength":1,"maxLength":80}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"help_article","slug":"get-paid","title":"Get paid for your posts","summary":"When earnings become withdrawable, how to request a payout and how Stripe payouts work.","category":{"key":"earnings_payouts","label":"Earnings and payouts"},"audience":"creator","url":"https://coboost.ai/help/get-paid","updated_at":"2026-11-07T12:00:00.000Z","body_markdown":"Your earnings collect in the workspace **Wallet**. You withdraw them as payouts once they're ready.\n\n## When earnings become withdrawable\n\n1. When a post publishes, its earning shows as **Pending**.","published_at":"2026-11-07T12:00:00.000Z"}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":[],"x-mcp-tool":"get_help_article"}},"/v1/workspace/verification":{"get":{"operationId":"workspace.verification","summary":"Get advertiser verification","description":"Whether the workspace is a verified advertiser, and where its application stands. Creators can require verified advertisers: unverified workspaces don't match their campaigns or requests. `state` is `not_applied`, `pending`, `info_requested` (the platform team asked for more details), `verified`, `rejected` or `revoked`; `note` is the reason or request the team gave. A verified workspace that changes its name or website goes back to `pending` (with `verified: false`) until the team approves it again. Applications are made in the app under Settings → Verification.","tags":["Workspace"],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"advertiser_verification","state":"verified","label":"Verified","verified":true,"submitted_at":"2026-10-01T10:00:00.000Z","decided_at":"2026-10-02T09:00:00.000Z","note":null}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":[],"x-mcp-tool":"get_advertiser_verification"}},"/v1/placements/{id}/review":{"get":{"operationId":"placements.review.get","summary":"Get a deal's reviews","description":"The double-blind review round of a completed placement, for your side: the window, your review, and the other side's once published. Reviews stay sealed until both sides have reviewed or the window closes, then publish together. `phase` is `unavailable` (the post hasn't completed, or it completed before reviews existed), `open`, `sealed` (you reviewed; waiting for them or the window), `published` or `closed` (the window closed without your review; also when it closed with no reviews at all). A review hidden by moderation comes back with `hidden: true` and, for the other side's, no rating or text.\n\nRequired scope: `placements:read` or `campaigns:read`.","tags":["Reviews"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"placement_review","placement_id":"cmf0plc001","side":"advertiser","phase":"sealed","counterpart":{"side":"creator","name":"@maya.creates"},"window":{"closes_at":"2026-11-20T10:00:00.000Z","published_at":null,"open":true},"mine":{"id":"cmf0rev001","side":"advertiser","rating":5,"body":"On time, great caption, easy to work with.","hidden":false,"published_at":null,"created_at":"2026-11-07T10:00:00.000Z","updated_at":"2026-11-07T10:00:00.000Z"},"theirs":null,"their_review_submitted":false,"can_submit":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:read","campaigns:read"],"x-mcp-tool":"get_placement_review"},"post":{"operationId":"placements.review.submit","summary":"Review a deal","description":"Rate the other side of a completed placement from 1 to 5, with an optional review of up to 1000 characters: advertisers rate the creator, creators rate the advertiser. Until both reviews are in or the window closes, sending again replaces yours; sending the same review again is a no-op that succeeds, even after publication, so retries are safe. Once published, reviews can't change (409). Advertisers need `campaigns:write`, creators `placements:write`.\n\nRequired scope: `placements:write` or `campaigns:write`.","tags":["Reviews"],"parameters":[{"name":"id","in":"path","required":true,"description":"Placement ID","schema":{"type":"string","minLength":1,"maxLength":64}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"rating":{"type":"integer","minimum":1,"maximum":5,"description":"1 (poor) to 5 (excellent)"},"body":{"description":"Short public review; omit or null for a rating only","anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]}},"required":["rating"]},"example":{"rating":5,"body":"On time, great caption, easy to work with."}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"object":"placement_review","placement_id":"cmf0plc001","side":"advertiser","phase":"sealed","counterpart":{"side":"creator","name":"@maya.creates"},"window":{"closes_at":"2026-11-20T10:00:00.000Z","published_at":null,"open":true},"mine":{"id":"cmf0rev001","side":"advertiser","rating":5,"body":"On time, great caption, easy to work with.","hidden":false,"published_at":null,"created_at":"2026-11-07T10:00:00.000Z","updated_at":"2026-11-07T10:00:00.000Z"},"theirs":null,"their_review_submitted":false,"can_submit":true}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Resource not found in this workspace","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["placements:write","campaigns:write"],"x-mcp-tool":"review_placement"}},"/v1/test/top-up":{"post":{"operationId":"test.top_up","summary":"Add simulated funds","description":"Adds simulated money to the sandbox wallet and AI credits to its balance, so a long test run doesn't run dry. Only test-mode keys can call it: live wallets are funded in the app. Each request is capped by the platform's largest wallet top-up and by a sandbox's starting AI credits.\n\nRequired scope: `workspace:write`.","tags":["Test mode"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount_cents":{"description":"Simulated money to add, in cents","type":"integer","minimum":1,"maximum":9007199254740991},"ai_credits":{"description":"AI credits to add","type":"integer","minimum":1,"maximum":9007199254740991}}},"example":{"amount_cents":500000,"ai_credits":100}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"example":{"object":"test_top_up","wallet":{"spendable_cents":1500000},"ai_credits":{"balance":1100},"livemode":false}}}},"401":{"description":"Missing, invalid, revoked or expired API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Plan doesn't include this feature, or insufficient funds / credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"API key is missing a scope or the creator's role lacks the permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Resource is in a state that doesn't allow this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Platform maintenance; see Retry-After","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scopes":["workspace:write"],"x-test-mode-only":true,"x-mcp-tool":"test_top_up"}}},"webhooks":{"campaign.created":{"post":{"operationId":"webhook.campaign.created","summary":"campaign.created event","description":"Coboost sends this to subscribed webhook endpoints when `campaign.created` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"campaign.updated":{"post":{"operationId":"webhook.campaign.updated","summary":"campaign.updated event","description":"Coboost sends this to subscribed webhook endpoints when `campaign.updated` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"campaign.launched":{"post":{"operationId":"webhook.campaign.launched","summary":"campaign.launched event","description":"Coboost sends this to subscribed webhook endpoints when `campaign.launched` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"campaign.paused":{"post":{"operationId":"webhook.campaign.paused","summary":"campaign.paused event","description":"Coboost sends this to subscribed webhook endpoints when `campaign.paused` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"campaign.resumed":{"post":{"operationId":"webhook.campaign.resumed","summary":"campaign.resumed event","description":"Coboost sends this to subscribed webhook endpoints when `campaign.resumed` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"campaign.canceled":{"post":{"operationId":"webhook.campaign.canceled","summary":"campaign.canceled event","description":"Coboost sends this to subscribed webhook endpoints when `campaign.canceled` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"campaign.completed":{"post":{"operationId":"webhook.campaign.completed","summary":"campaign.completed event","description":"Coboost sends this to subscribed webhook endpoints when `campaign.completed` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.requested":{"post":{"operationId":"webhook.placement.requested","summary":"placement.requested event","description":"Coboost sends this to subscribed webhook endpoints when `placement.requested` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.approved":{"post":{"operationId":"webhook.placement.approved","summary":"placement.approved event","description":"Coboost sends this to subscribed webhook endpoints when `placement.approved` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.rejected":{"post":{"operationId":"webhook.placement.rejected","summary":"placement.rejected event","description":"Coboost sends this to subscribed webhook endpoints when `placement.rejected` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.changes_requested":{"post":{"operationId":"webhook.placement.changes_requested","summary":"placement.changes_requested event","description":"Coboost sends this to subscribed webhook endpoints when `placement.changes_requested` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.published":{"post":{"operationId":"webhook.placement.published","summary":"placement.published event","description":"Coboost sends this to subscribed webhook endpoints when `placement.published` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.failed":{"post":{"operationId":"webhook.placement.failed","summary":"placement.failed event","description":"Coboost sends this to subscribed webhook endpoints when `placement.failed` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.completed":{"post":{"operationId":"webhook.placement.completed","summary":"placement.completed event","description":"Coboost sends this to subscribed webhook endpoints when `placement.completed` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.canceled":{"post":{"operationId":"webhook.placement.canceled","summary":"placement.canceled event","description":"Coboost sends this to subscribed webhook endpoints when `placement.canceled` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.expired":{"post":{"operationId":"webhook.placement.expired","summary":"placement.expired event","description":"Coboost sends this to subscribed webhook endpoints when `placement.expired` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.removed_early":{"post":{"operationId":"webhook.placement.removed_early","summary":"placement.removed_early event","description":"Coboost sends this to subscribed webhook endpoints when `placement.removed_early` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.message":{"post":{"operationId":"webhook.placement.message","summary":"placement.message event","description":"Coboost sends this to subscribed webhook endpoints when `placement.message` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.countered":{"post":{"operationId":"webhook.placement.countered","summary":"placement.countered event","description":"Coboost sends this to subscribed webhook endpoints when `placement.countered` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.counter_accepted":{"post":{"operationId":"webhook.placement.counter_accepted","summary":"placement.counter_accepted event","description":"Coboost sends this to subscribed webhook endpoints when `placement.counter_accepted` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.offer_revised":{"post":{"operationId":"webhook.placement.offer_revised","summary":"placement.offer_revised event","description":"Coboost sends this to subscribed webhook endpoints when `placement.offer_revised` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.applied":{"post":{"operationId":"webhook.placement.applied","summary":"placement.applied event","description":"Coboost sends this to subscribed webhook endpoints when `placement.applied` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.withdrawn":{"post":{"operationId":"webhook.placement.withdrawn","summary":"placement.withdrawn event","description":"Coboost sends this to subscribed webhook endpoints when `placement.withdrawn` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"placement.rescheduled":{"post":{"operationId":"webhook.placement.rescheduled","summary":"placement.rescheduled event","description":"Coboost sends this to subscribed webhook endpoints when `placement.rescheduled` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"account.analyzed":{"post":{"operationId":"webhook.account.analyzed","summary":"account.analyzed event","description":"Coboost sends this to subscribed webhook endpoints when `account.analyzed` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"account.connected":{"post":{"operationId":"webhook.account.connected","summary":"account.connected event","description":"Coboost sends this to subscribed webhook endpoints when `account.connected` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"account.disconnected":{"post":{"operationId":"webhook.account.disconnected","summary":"account.disconnected event","description":"Coboost sends this to subscribed webhook endpoints when `account.disconnected` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"account.policy_updated":{"post":{"operationId":"webhook.account.policy_updated","summary":"account.policy_updated event","description":"Coboost sends this to subscribed webhook endpoints when `account.policy_updated` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"creative.created":{"post":{"operationId":"webhook.creative.created","summary":"creative.created event","description":"Coboost sends this to subscribed webhook endpoints when `creative.created` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"creative.variant_ready":{"post":{"operationId":"webhook.creative.variant_ready","summary":"creative.variant_ready event","description":"Coboost sends this to subscribed webhook endpoints when `creative.variant_ready` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"creative.variant_rendered":{"post":{"operationId":"webhook.creative.variant_rendered","summary":"creative.variant_rendered event","description":"Coboost sends this to subscribed webhook endpoints when `creative.variant_rendered` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"creative.variant_failed":{"post":{"operationId":"webhook.creative.variant_failed","summary":"creative.variant_failed event","description":"Coboost sends this to subscribed webhook endpoints when `creative.variant_failed` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"persona.created":{"post":{"operationId":"webhook.persona.created","summary":"persona.created event","description":"Coboost sends this to subscribed webhook endpoints when `persona.created` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"payout.requested":{"post":{"operationId":"webhook.payout.requested","summary":"payout.requested event","description":"Coboost sends this to subscribed webhook endpoints when `payout.requested` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"payout.paid":{"post":{"operationId":"webhook.payout.paid","summary":"payout.paid event","description":"Coboost sends this to subscribed webhook endpoints when `payout.paid` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"payout.failed":{"post":{"operationId":"webhook.payout.failed","summary":"payout.failed event","description":"Coboost sends this to subscribed webhook endpoints when `payout.failed` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"payout.canceled":{"post":{"operationId":"webhook.payout.canceled","summary":"payout.canceled event","description":"Coboost sends this to subscribed webhook endpoints when `payout.canceled` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"dispute.opened":{"post":{"operationId":"webhook.dispute.opened","summary":"dispute.opened event","description":"Coboost sends this to subscribed webhook endpoints when `dispute.opened` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"dispute.resolved":{"post":{"operationId":"webhook.dispute.resolved","summary":"dispute.resolved event","description":"Coboost sends this to subscribed webhook endpoints when `dispute.resolved` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"subscription.updated":{"post":{"operationId":"webhook.subscription.updated","summary":"subscription.updated event","description":"Coboost sends this to subscribed webhook endpoints when `subscription.updated` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"member.joined":{"post":{"operationId":"webhook.member.joined","summary":"member.joined event","description":"Coboost sends this to subscribed webhook endpoints when `member.joined` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"wallet.deposited":{"post":{"operationId":"webhook.wallet.deposited","summary":"wallet.deposited event","description":"Coboost sends this to subscribed webhook endpoints when `wallet.deposited` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"design.created":{"post":{"operationId":"webhook.design.created","summary":"design.created event","description":"Coboost sends this to subscribed webhook endpoints when `design.created` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"design.exported":{"post":{"operationId":"webhook.design.exported","summary":"design.exported event","description":"Coboost sends this to subscribed webhook endpoints when `design.exported` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"brand_kit.created":{"post":{"operationId":"webhook.brand_kit.created","summary":"brand_kit.created event","description":"Coboost sends this to subscribed webhook endpoints when `brand_kit.created` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}},"brand_kit.updated":{"post":{"operationId":"webhook.brand_kit.updated","summary":"brand_kit.updated event","description":"Coboost sends this to subscribed webhook endpoints when `brand_kit.updated` happens. Verify the request's signature header before trusting the body (see \"Verifying signatures\" in the docs); deliveries can repeat and arrive out of order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"2XX":{"description":"Received. Anything else (or no answer within 10 seconds) is retried with backoff."}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"cbst_live_<32 chars> or cbst_test_<32 chars>","description":"Workspace API key. Scopes: campaigns:read, campaigns:write, creatives:read, creatives:write, accounts:read, accounts:write, placements:read, placements:write, personas:read, personas:write, templates:read, templates:write, ai:generate, analytics:read, marketplace:read, wallet:read, billing:read, connections:write, workspace:write, members:read, members:write, webhooks:write, payouts:write or `*` (full access)."}},"schemas":{"WebhookEvent":{"type":"object","required":["id","type","created","workspace_id","data"],"properties":{"id":{"type":"string","description":"Event id (`evt_…`), the same on every delivery of this event"},"type":{"type":"string","enum":["campaign.created","campaign.updated","campaign.launched","campaign.paused","campaign.resumed","campaign.canceled","campaign.completed","placement.requested","placement.approved","placement.rejected","placement.changes_requested","placement.published","placement.failed","placement.completed","placement.canceled","placement.expired","placement.removed_early","placement.message","placement.countered","placement.counter_accepted","placement.offer_revised","placement.applied","placement.withdrawn","placement.rescheduled","account.analyzed","account.connected","account.disconnected","account.policy_updated","creative.created","creative.variant_ready","creative.variant_rendered","creative.variant_failed","persona.created","payout.requested","payout.paid","payout.failed","payout.canceled","dispute.opened","dispute.resolved","subscription.updated","member.joined","wallet.deposited","design.created","design.exported","brand_kit.created","brand_kit.updated"]},"created":{"type":"string","format":"date-time"},"workspace_id":{"type":"string"},"livemode":{"type":"boolean","description":"`false` on events from a sandbox workspace (test mode). Absent on live events."},"data":{"type":"object","description":"Event-specific fields, listed per event on the docs page"}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["unauthorized","forbidden","not_found","method_not_allowed","conflict","invalid_input","feature_unavailable","plan_limit","insufficient_funds","insufficient_credits","rate_limited","integration_error","service_unavailable","internal"]},"message":{"type":"string"},"details":{"description":"Extra context. Plan errors (plan_limit, feature_unavailable, insufficient_credits) include `upgrade_url`, the app page where a person changes plan."}}}}}}}}