# API: Content

| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | `/v1/mkt/content/activation-queue` | Approved pieces and media waiting to go out, by channel, with what each still needs | `marketing:read` |
| POST | `/v1/mkt/content/activation/batches` | Send up to 25 approved items from Ready to go out, each to the place you chose (one at a time, each checked; results per item) | `marketing:write` |
| POST | `/v1/mkt/content/asset-versions/:id/renditions` | Add a rendition of a version in another size | `marketing:write` |
| GET | `/v1/mkt/content/assets/:id/alt-text` | An image's alt text (one per language) | `marketing:read` |
| PUT | `/v1/mkt/content/assets/:id/alt-text` | Add or replace an image's alt text for one language (checked against the brand and for screen readers; the findings come back) | `marketing:write` |
| DELETE | `/v1/mkt/content/assets/:id/alt-text/:language` | Remove an image's alt text for one language | `marketing:write` |
| GET | `/v1/mkt/content/assets/:id/captions` | An asset's caption tracks (one per language) | `marketing:read` |
| PUT | `/v1/mkt/content/assets/:id/captions` | Add or replace a caption track (WebVTT or SubRip text; checked against the file's length; its words are checked against the brand in the file's checks) | `marketing:write` |
| DELETE | `/v1/mkt/content/assets/:id/captions/:language` | Remove a caption track | `marketing:write` |
| GET | `/v1/mkt/content/assets/:id/captions/:language` | One caption track's text | `marketing:read` |
| GET | `/v1/mkt/content/assets/:id/comments` | An asset's review comments, oldest first | `marketing:read` |
| POST | `/v1/mkt/content/assets/:id/comments` | Comment on an asset version (an image region or a video frame) | `marketing:write` |
| GET | `/v1/mkt/content/assets/:id/ctv-check` | Check a video against common connected-TV specs (length, frame size, format, file size); loudness and safe areas are listed to check yourself | `marketing:read` |
| PUT | `/v1/mkt/content/assets/:id/folder` | File an asset in a folder (an empty folder takes it out) | `marketing:write` |
| GET | `/v1/mkt/content/assets/:id/preflight` | Everything checked about an asset's file: its header (type, size, length), the upload checks, captions and whether it can be used outside | `marketing:read` |
| GET | `/v1/mkt/content/assets/:id/preview` | A preview of an asset's current file for reviewers (images up to 3 MB; video, audio and PDFs up to 8 MB) | `marketing:read` |
| POST | `/v1/mkt/content/assets/:id/release` | Release a quarantined version after looking at it (signed-in people only) (web app only) | `marketing:write` |
| POST | `/v1/mkt/content/assets/:id/review` | Send an image, video, audio file or document for the same ordered review as copy (its checks must pass first) | `marketing:write` |
| GET | `/v1/mkt/content/assets/:id/score` | Estimate how an image, video or copy asset fits its placements (advisory) | `marketing:read` |
| GET | `/v1/mkt/content/assets/:id/sizes` | An image's sizes made for channels, each with what it still needs before it can go outside, and the sizes each channel takes | `marketing:read` |
| POST | `/v1/mkt/content/assets/:id/sizes` | Make an approved image in the sizes chosen channels take (up to 12), each a draft for review | `marketing:write` |
| POST | `/v1/mkt/content/assets/:id/upload` | Upload a file as an asset's next version; files that fail the checks are quarantined with the reasons | `marketing:write` |
| GET | `/v1/mkt/content/assets/:id/usable` | Whether an asset can be used outside now, and why not | `marketing:read` |
| GET | `/v1/mkt/content/auto-publish` | Rules that send approved pieces of a campaign or kind to a CMS on their own, with today's count | `marketing:read` |
| POST | `/v1/mkt/content/auto-publish` | Send approved pieces of a campaign or kind on their own (owners; a daily limit applies) (web app only) | `settings:write` |
| DELETE | `/v1/mkt/content/auto-publish/:id` | Remove a rule (approved pieces wait for a person again) (web app only) | `settings:write` |
| PATCH | `/v1/mkt/content/auto-publish/:id` | Turn a rule on or off, or change its daily limit (owners) (web app only) | `settings:write` |
| GET | `/v1/mkt/content/auto-publish/:id/sends` | A rule's approved pieces that weren't sent on their own (held or refused), with the reason | `marketing:read` |
| POST | `/v1/mkt/content/brand/from-materials` | Propose a brand kit from your own materials: past emails, documents, PDFs and slide decks, about 700 KB at a time (nothing is saved until you save it as a kit version) | `marketing:write` |
| POST | `/v1/mkt/content/brand/from-website` | Propose a brand kit from a website (nothing is saved until you save it as a kit version) | `marketing:write` |
| GET | `/v1/mkt/content/brands/:id/change-impact` | What a change to the brand kit touches: copy that carries a removed claim or old legal line or now uses a banned phrase, and files made under an earlier visual identity, live ones first (nothing is changed) | `marketing:read` |
| POST | `/v1/mkt/content/brands/:id/check` | Check text against a brand: banned phrases, claims needing proof, legal lines and tone | `marketing:read` |
| GET | `/v1/mkt/content/brands/:id/context` | What agents know about a brand: kit, voice and products, with sources | `marketing:read` |
| GET | `/v1/mkt/content/brands/:id/design-spec` | The brand's design-language spec in Markdown (drafted from the kit until someone saves it) | `marketing:read` |
| PUT | `/v1/mkt/content/brands/:id/design-spec` | Save the brand's design-language spec (agents read the saved one; banned phrases refused) | `marketing:write` |
| GET | `/v1/mkt/content/brands/:id/knowledge` | The knowledge pages chosen as this brand's context, and when each was last read | `marketing:read` |
| PUT | `/v1/mkt/content/brands/:id/knowledge` | Choose the Notion pages that are this brand's context (owners; only these are ever read) (web app only) | `settings:write` |
| POST | `/v1/mkt/content/brands/:id/knowledge/read` | Read the chosen knowledge pages now (read only) | `marketing:write` |
| GET | `/v1/mkt/content/brands/:id/markets/:market` | A brand's kit as it applies in one market | `marketing:read` |
| GET | `/v1/mkt/content/brands/:id/personas` | A brand's personas from its current kit version, with that version | `marketing:read` |
| PUT | `/v1/mkt/content/brands/:id/personas` | Save a brand's personas (added, edited, reordered or removed) as a new kit version; refused if the kit changed since base_version | `marketing:write` |
| GET | `/v1/mkt/content/brands/:id/preferences` | A brand's creative preferences (formats, colours, characters, products, notes) that steer drafting and generation | `marketing:read` |
| PUT | `/v1/mkt/content/brands/:id/preferences` | Set a brand's creative preferences (a preference can't use a phrase the brand bans) | `marketing:write` |
| GET | `/v1/mkt/content/brands/:id/settings` | A brand's parent brand (whose rules it inherits), regulated-claim packs and accessibility colours | `marketing:read` |
| PUT | `/v1/mkt/content/brands/:id/settings` | Set a brand's parent brand, regulated-claim packs (matches block approval) and accessibility colours | `marketing:write` |
| POST | `/v1/mkt/content/brands/:id/voice` | Learn voice and style rules from writing samples (the brand's, or a named person's kept separately) | `marketing:write` |
| POST | `/v1/mkt/content/briefs` | Turn a goal or a plan in your own words into a structured brief, segments and formats (a proposal; nothing is saved; when AI writes it the cost is shown first) | `marketing:write` |
| GET | `/v1/mkt/content/calendar` | Scheduled pieces in a window of up to three months | `marketing:read` |
| GET | `/v1/mkt/content/campaign-kits` | Campaign kits, newest first, with how many drafts each has made | `marketing:read` |
| POST | `/v1/mkt/content/campaign-kits` | Turn a brief into a set of drafts across channels; without confirm it only shows the cost | `marketing:write` |
| GET | `/v1/mkt/content/campaign-kits/:id` | A campaign kit and the drafts it made | `marketing:read` |
| POST | `/v1/mkt/content/campaigns/:id/pieces` | Attach existing pieces to a campaign of their workspace (up to 50; a piece in another campaign moves to this one) | `marketing:write` |
| GET | `/v1/mkt/content/campaigns/:id/workspace` | A campaign's workspace: its content pieces by where they stand (who started each) and its files | `marketing:read` |
| POST | `/v1/mkt/content/catalog/sync` | Read new and changed products from a connected Shopify, Merchant Center, WooCommerce or BigCommerce account into the catalog | `marketing:write` |
| GET | `/v1/mkt/content/cms-changes` | Edits made in a CMS to drafts sent from here, waiting for a person | `marketing:read` |
| POST | `/v1/mkt/content/cms-changes/:id/accept` | Accept an edit made in the CMS: it becomes the piece's next draft version and needs review again (a signed-in person) | `marketing:write` |
| POST | `/v1/mkt/content/cms-changes/:id/dismiss` | Dismiss an edit made in the CMS (the piece stays as it is here; a signed-in person) | `marketing:write` |
| POST | `/v1/mkt/content/cms/media` | Upload an approved asset to a CMS's media library or assets: WordPress, Webflow (site id) and Sanity (the file gets a public address) or Contentful (space/environment, unpublished) | `marketing:write` |
| POST | `/v1/mkt/content/comments/:id/resolve` | Resolve or reopen a comment | `marketing:write` |
| POST | `/v1/mkt/content/commerce/order-totals` | Read a WooCommerce or BigCommerce store's daily order totals for the last days (1 to 90) into its results; no customer details are kept | `marketing:write` |
| GET | `/v1/mkt/content/contentful/assets` | Image assets in a Contentful space (newest first, 100 at a time) | `marketing:read` |
| POST | `/v1/mkt/content/contentful/assets/import` | Import Contentful images you choose into the asset library as drafts (at most 50; already imported ones are skipped) | `marketing:write` |
| GET | `/v1/mkt/content/contentful/entries` | Entries in a Contentful space (newest first, 100 at a time) | `marketing:read` |
| POST | `/v1/mkt/content/contentful/entries/import` | Bring a Contentful entry's text in as a draft piece (the entry isn't changed) | `marketing:write` |
| GET | `/v1/mkt/content/design/bynder/:id/daily-import` | Whether new Bynder images come into the library once a day | `marketing:read` |
| PUT | `/v1/mkt/content/design/bynder/:id/daily-import` | Turn the daily import of new Bynder images on (images added or changed from now on, at most 20 a day, as drafts) or off (owners) (web app only) | `settings:write` |
| POST | `/v1/mkt/content/design/bynder/imports` | Import Bynder images you choose into the asset library as drafts (at most 50; limited-use, watermarked and archived assets stay in Bynder) | `marketing:write` |
| GET | `/v1/mkt/content/design/bynder/media` | Images in your Bynder asset bank, a page of up to 100 at a time (newest first) | `marketing:read` |
| POST | `/v1/mkt/content/design/canva/autofills` | Make a new design in your Canva from a brand template and the text you give (Canva Enterprise) | `marketing:write` |
| GET | `/v1/mkt/content/design/canva/brand-templates` | Your Canva brand templates (Canva Enterprise), a page at a time | `marketing:read` |
| GET | `/v1/mkt/content/design/canva/brand-templates/:id/fields` | A Canva brand template's fields, to fill one by one | `marketing:read` |
| GET | `/v1/mkt/content/design/canva/designs` | Your Canva designs, a page at a time | `marketing:read` |
| POST | `/v1/mkt/content/design/canva/imports` | Export a Canva design and import its pages into the asset library as drafts | `marketing:write` |
| POST | `/v1/mkt/content/design/cloudinary/imports` | Import Cloudinary images you choose into the asset library as drafts (at most 50; already imported ones are skipped) | `marketing:write` |
| GET | `/v1/mkt/content/design/cloudinary/resources` | Images in your Cloudinary account, a page of up to 100 at a time | `marketing:read` |
| GET | `/v1/mkt/content/design/figma/files/:key/frames` | A Figma file's pages and top-level frames | `marketing:read` |
| GET | `/v1/mkt/content/design/figma/files/:key/kit-proposal` | Colours and fonts for the brand kit from a Figma file's design tokens (a proposal: nothing is saved until you save it as a kit version) | `marketing:read` |
| GET | `/v1/mkt/content/design/figma/files/:key/tokens` | A Figma file's design tokens (variables; Figma Enterprise) | `marketing:read` |
| POST | `/v1/mkt/content/design/figma/imports` | Import Figma frames you choose into the asset library as drafts (at most 50; already imported ones are skipped) | `marketing:write` |
| POST | `/v1/mkt/content/design/figma/templates` | Import a Figma frame as a layout template: its top-level text layers become the fields to fill, every other layer is locked | `marketing:write` |
| POST | `/v1/mkt/content/design/pushes` | Upload an approved asset to your Canva or Cloudinary account (checked first; recorded where it's used) | `marketing:write` |
| GET | `/v1/mkt/content/elements` | Reusable message elements (hooks, benefits, calls to action, proof points, disclaimers) with their measured results, best first | `marketing:read` |
| POST | `/v1/mkt/content/elements` | Add a message element (checked against the brand; a proof point must be an approved claim) | `marketing:write` |
| PATCH | `/v1/mkt/content/elements/:id` | Retire or retag a message element | `marketing:write` |
| POST | `/v1/mkt/content/experiment-plans/:id/experiment` | Run a ready copy experiment plan as an experiment: it's handed to the experiments area, which decides when the test runs (signed-in people only) (web app only) | `marketing:write` |
| GET | `/v1/mkt/content/fatigue` | Approved pieces whose click-through fell 30% or more in the last week against the three weeks before | `marketing:read` |
| POST | `/v1/mkt/content/fatigue/:id/variant` | Make a fresh variant of a fatigued piece on the angle that has done best for the brand (the cost first; a signed-in person confirms) | `marketing:write` |
| POST | `/v1/mkt/content/layered-export` | Make a layered SVG (Background, Product and Text layers, text editable) from library images and your words, to import into Figma or Canva; nothing is stored or sent | `marketing:read` |
| GET | `/v1/mkt/content/layout-templates` | Layout templates imported from design files, with their fields and locked layers | `marketing:read` |
| DELETE | `/v1/mkt/content/layout-templates/:id` | Archive a layout template | `marketing:write` |
| POST | `/v1/mkt/content/layout-templates/:id/fill` | Fill a layout template's fields (brand-checked, each fitted to its box) and get a layered SVG to download; nothing is stored or sent | `marketing:read` |
| GET | `/v1/mkt/content/library` | The asset library with each asset's current version, rights, live uses and whether it can be used outside | `marketing:read` |
| GET | `/v1/mkt/content/library/folders` | The library's folders and how many assets each holds | `marketing:read` |
| POST | `/v1/mkt/content/library/index` | Suggest tags for assets so they can be found: from rules (free) or from the model (one credit each; a signed-in person confirms) | `marketing:write` |
| GET | `/v1/mkt/content/library/search` | Search the asset library by words (names, tags, descriptions, text) or by meaning when that's set up | `marketing:read` |
| DELETE | `/v1/mkt/content/me/memory` | Forget your working memory (web app only) | `marketing:read` |
| GET | `/v1/mkt/content/me/memory` | Your own working memory: how you like work done, used in the drafts and generations you start (only you see it) (web app only) | `marketing:read` |
| PUT | `/v1/mkt/content/me/memory` | Change your own working memory (only you see it) (web app only) | `marketing:read` |
| POST | `/v1/mkt/content/merchant/products` | Add or update a product in a Merchant Center data source (brand-checked; through the approval rules) | `marketing:write` |
| GET | `/v1/mkt/content/merchant/promotions` | Merchant Center promotions with their state per destination | `marketing:read` |
| POST | `/v1/mkt/content/merchant/promotions` | Add or update a Merchant Center promotion (brand-checked; a key or agent needs a person's approval; Google reviews it before it runs) | `marketing:write` |
| POST | `/v1/mkt/content/microsites` | Lay out two to six linked landing pages from one brief as draft pieces (the cost first; a signed-in person confirms) | `marketing:write` |
| GET | `/v1/mkt/content/performance` | How pieces performed (impressions, clicks, conversions, sessions), best click-through first | `marketing:read` |
| GET | `/v1/mkt/content/performance/tags` | Results per tag across assets with results: which subjects, formats and hooks do best | `marketing:read` |
| GET | `/v1/mkt/content/pieces` | List content pieces, newest first, with their latest check | `marketing:read` |
| POST | `/v1/mkt/content/pieces` | Start a content piece from a brief, with its first text if you have it | `marketing:write` |
| GET | `/v1/mkt/content/pieces/:id` | A piece with its versions, checks, reviews, comments and CMS drafts | `marketing:read` |
| PATCH | `/v1/mkt/content/pieces/:id` | Change a piece's brief, outline, search fields, sources, schedule or owner. A brief or search fields you send replace the whole of what's there, so include what should stay | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/check` | Check the current version again (brand rules and guardrails) | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/cms-changes/check` | Read back this piece's drafts in each CMS and keep edits made there for review (reads only; nothing is changed in the CMS) | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/comments` | Comment on a version (a text range, an image region or a video frame) | `marketing:write` |
| GET | `/v1/mkt/content/pieces/:id/compare` | What changed between two versions of a piece's text, paragraph by paragraph and word by word | `marketing:read` |
| POST | `/v1/mkt/content/pieces/:id/drafts` | Add a draft version: your own text, or generated from the brief (uses credits); every version is checked | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/experiment-plan` | Plan a copy experiment from a piece and its variants: a hypothesis each, the metric, the people each variant needs and how long that takes; ready once every variant is approved | `marketing:write` |
| GET | `/v1/mkt/content/pieces/:id/experiment-plans` | A piece's copy experiment plans | `marketing:read` |
| GET | `/v1/mkt/content/pieces/:id/grounding` | The brand facts each generated draft of a piece was grounded in (kit version, claims, products, personas, measured winners), with their sources | `marketing:read` |
| POST | `/v1/mkt/content/pieces/:id/localize` | Make a market version with its glossary, locked terms and legal lines; a native speaker reviews it | `marketing:write` |
| GET | `/v1/mkt/content/pieces/:id/next-batch` | What the variants' results say: the measured angles, the leader and whether its lead is clear, the best elements, and the proposed next batch | `marketing:read` |
| POST | `/v1/mkt/content/pieces/:id/next-batch` | Make the proposed next batch of variants (the cost first; a signed-in person confirms) | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/outline` | Propose an outline from the brief | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/publish` | Send an approved piece to a CMS as a draft (it isn't published there) | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/repurpose` | Turn a piece into other formats (each a new draft; uses credits) | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/review` | Send the current version for review to its ordered approvers | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/review/withdraw` | Take a piece back out of review | `marketing:write` |
| POST | `/v1/mkt/content/pieces/:id/score` | Estimate how the current draft will do, with what drives the estimate (advisory; it never blocks anything) | `marketing:read` |
| POST | `/v1/mkt/content/pieces/:id/task` | Add a task for this piece to an Asana project (its brief, a link back, its date as the due date); approval marks it done | `marketing:write` |
| GET | `/v1/mkt/content/pieces/:id/tasks` | The planning-tool tasks linked to a piece, as last synced | `marketing:read` |
| GET | `/v1/mkt/content/pieces/:id/variants` | A piece's variants side by side with their checks and estimates | `marketing:read` |
| POST | `/v1/mkt/content/pieces/:id/variants` | Make variants of a piece, one per angle, each with its rationale (new drafts; when AI writes them the cost is shown first) | `marketing:write` |
| POST | `/v1/mkt/content/pieces/bulk-edit` | Set the same campaign, owner, schedule or channel on up to 100 pieces (pieces in review or archived are skipped) | `marketing:write` |
| POST | `/v1/mkt/content/pieces/from-source` | Start pieces from a meeting transcript, a chat thread export or a document: a preview first (nothing saved or charged), then confirmed, a draft per kind (one credit each) | `marketing:write` |
| POST | `/v1/mkt/content/plans/read` | Read a marketing plan (document, PDF, slides or text) into recommended visual styles, tactics and a draft asset list; confirmed, each asset becomes a piece with its brief (no credits) | `marketing:write` |
| GET | `/v1/mkt/content/products/:id/rules` | A product's own rules over its brand's kit: banned phrases, required lines and the claims approved for it | `marketing:read` |
| PUT | `/v1/mkt/content/products/:id/rules` | Set a product's own rules (they add to the brand's; pieces about the product are checked against both) | `marketing:write` |
| GET | `/v1/mkt/content/prototypes` | Recent prototypes | `marketing:read` |
| POST | `/v1/mkt/content/prototypes` | Make a clickable prototype from a description: screens linked to each other, in the brand's colours (the cost first when AI writes it; a signed-in person confirms) | `marketing:write` |
| GET | `/v1/mkt/content/prototypes/:id` | A prototype with its screens and its page (shown in a sandboxed frame) | `marketing:read` |
| POST | `/v1/mkt/content/quick-actions` | One-click actions: thumbnails from an image (free), remove an object from an image, or a product ad (both priced first; confirm the job to run it) | `marketing:write` |
| GET | `/v1/mkt/content/rendition-presets` | The standard sizes renditions can be made in | `marketing:read` |
| POST | `/v1/mkt/content/reviews/:id/decision` | Approve the current review step or ask for changes (signed-in people only, in order) (web app only) | `marketing:write` |
| POST | `/v1/mkt/content/rights/digest` | Send owners one notice about rights expiring in the next two weeks (at most once a day) | `marketing:write` |
| GET | `/v1/mkt/content/rights/expiring` | Rights that expire soon or have expired, with where each asset is live (the takedown list) | `marketing:read` |
| GET | `/v1/mkt/content/scoring/model` | The scoring model trained on your own results: when, on how many files, how well it holds up and what moves it most | `marketing:read` |
| POST | `/v1/mkt/content/scoring/model` | Train the scoring model on your own spend and results (free; nothing leaves the app) | `marketing:write` |
| GET | `/v1/mkt/content/settings` | The content area's settings: tagging new uploads from the image (on or off, its monthly credit limit and this month's use) | `marketing:read` |
| PUT | `/v1/mkt/content/settings` | Turn tagging new uploads from the image on or off and set its monthly credit limit (owners) (web app only) | `settings:write` |
| GET | `/v1/mkt/content/shopify/collections` | A connected Shopify store's collections (up to 100 at a time) | `marketing:read` |
| POST | `/v1/mkt/content/shopify/discounts` | Create a Shopify discount code (brand-checked; a key or agent needs a person's approval; read back) | `marketing:write` |
| GET | `/v1/mkt/content/shopify/tags` | Customer tags this product manages in your Shopify store (synced from segments), with how many customers it tagged and the latest sync | `marketing:read` |
| GET | `/v1/mkt/content/site-audits` | Recent site checks | `marketing:read` |
| POST | `/v1/mkt/content/site-audits` | Check one of your own public sites against a brand (banned phrases, unapproved and withdrawn claims, regulated rules): up to 50 pages read in the background, nothing changed; five a day (web app only) | `marketing:write` |
| GET | `/v1/mkt/content/site-audits/:id` | A site check's pages, the riskiest first, with what each says that the brand doesn't allow | `marketing:read` |
| POST | `/v1/mkt/content/tasks/read-changes` | Read tasks changed in an Asana project since the last sync: new due dates move pieces' schedules; done or reopened is noted | `marketing:write` |
| POST | `/v1/mkt/content/variant-sizing` | How many variants a campaign needs: the segments large enough to measure their own variant, from the audience size and attribute shares | `marketing:read` |
| GET | `/v1/mkt/content/webflow/pages` | A connected Webflow site's pages (up to 100 at a time) | `marketing:read` |
| POST | `/v1/mkt/content/webflow/pages/import` | Bring a Webflow page's text in as a draft landing page to work on here (the page in Webflow isn't changed) | `marketing:write` |
| PUT | `/v1/mkt/content/webflow/pages/settings` | Change a Webflow page's title, address and search settings (brand-checked; a key or agent needs a person's approval; shown once the site is published in Webflow) | `marketing:write` |
| POST | `/v1/mkt/content/wordpress/media` | Upload an approved asset to a WordPress site's media library (checked first; not placed on any page, but the file gets a public address; recorded where it's used) | `marketing:write` |

## Examples

### GET /v1/mkt/content/activation-queue

Approved pieces and media waiting to go out, by channel, with what each still needs

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/activation-queue" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/activation-queue`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/activation/batches

Send up to 25 approved items from Ready to go out, each to the place you chose (one at a time, each checked; results per item)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/activation/batches" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/activation/batches`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/asset-versions/$ID/renditions

Add a rendition of a version in another size

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/asset-versions/$ID/renditions" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/asset-versions/${id}/renditions`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/alt-text

An image's alt text (one per language)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/alt-text" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/alt-text`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/assets/$ID/alt-text

Add or replace an image's alt text for one language (checked against the brand and for screen readers; the findings come back)

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/alt-text" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/alt-text`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### DELETE /v1/mkt/content/assets/$ID/alt-text/$LANGUAGE

Remove an image's alt text for one language

```bash
curl -s -X DELETE "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/alt-text/$LANGUAGE" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/alt-text/${language}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/captions

An asset's caption tracks (one per language)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/captions" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/captions`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/assets/$ID/captions

Add or replace a caption track (WebVTT or SubRip text; checked against the file's length; its words are checked against the brand in the file's checks)

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/captions" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/captions`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### DELETE /v1/mkt/content/assets/$ID/captions/$LANGUAGE

Remove a caption track

```bash
curl -s -X DELETE "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/captions/$LANGUAGE" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/captions/${language}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/captions/$LANGUAGE

One caption track's text

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/captions/$LANGUAGE" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/captions/${language}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/comments

An asset's review comments, oldest first

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/comments" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/comments`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/assets/$ID/comments

Comment on an asset version (an image region or a video frame)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/comments" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/comments`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/ctv-check

Check a video against common connected-TV specs (length, frame size, format, file size); loudness and safe areas are listed to check yourself

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/ctv-check" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/ctv-check`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/assets/$ID/folder

File an asset in a folder (an empty folder takes it out)

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/folder" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/folder`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/preflight

Everything checked about an asset's file: its header (type, size, length), the upload checks, captions and whether it can be used outside

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/preflight" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/preflight`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/preview

A preview of an asset's current file for reviewers (images up to 3 MB; video, audio and PDFs up to 8 MB)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/preview" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/preview`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/assets/$ID/review

Send an image, video, audio file or document for the same ordered review as copy (its checks must pass first)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/review" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/review`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/score

Estimate how an image, video or copy asset fits its placements (advisory)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/score" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/score`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/sizes

An image's sizes made for channels, each with what it still needs before it can go outside, and the sizes each channel takes

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/sizes" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/sizes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/assets/$ID/sizes

Make an approved image in the sizes chosen channels take (up to 12), each a draft for review

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/sizes" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/sizes`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/assets/$ID/upload

Upload a file as an asset's next version; files that fail the checks are quarantined with the reasons

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/upload" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/upload`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/assets/$ID/usable

Whether an asset can be used outside now, and why not

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/assets/$ID/usable" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/assets/${id}/usable`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/auto-publish

Rules that send approved pieces of a campaign or kind to a CMS on their own, with today's count

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/auto-publish" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/auto-publish`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/auto-publish/$ID/sends

A rule's approved pieces that weren't sent on their own (held or refused), with the reason

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/auto-publish/$ID/sends" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/auto-publish/${id}/sends`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/brand/from-materials

Propose a brand kit from your own materials: past emails, documents, PDFs and slide decks, about 700 KB at a time (nothing is saved until you save it as a kit version)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/brand/from-materials" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brand/from-materials`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/brand/from-website

Propose a brand kit from a website (nothing is saved until you save it as a kit version)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/brand/from-website" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brand/from-website`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/change-impact

What a change to the brand kit touches: copy that carries a removed claim or old legal line or now uses a banned phrase, and files made under an earlier visual identity, live ones first (nothing is changed)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/change-impact" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/change-impact`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/brands/$ID/check

Check text against a brand: banned phrases, claims needing proof, legal lines and tone

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/check" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/check`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/context

What agents know about a brand: kit, voice and products, with sources

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/context" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/context`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/design-spec

The brand's design-language spec in Markdown (drafted from the kit until someone saves it)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/design-spec" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/design-spec`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/brands/$ID/design-spec

Save the brand's design-language spec (agents read the saved one; banned phrases refused)

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/design-spec" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/design-spec`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/knowledge

The knowledge pages chosen as this brand's context, and when each was last read

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/knowledge" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/knowledge`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/brands/$ID/knowledge/read

Read the chosen knowledge pages now (read only)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/knowledge/read" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/knowledge/read`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/markets/$MARKET

A brand's kit as it applies in one market

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/markets/$MARKET" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/markets/${market}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/personas

A brand's personas from its current kit version, with that version

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/personas" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/personas`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/brands/$ID/personas

Save a brand's personas (added, edited, reordered or removed) as a new kit version; refused if the kit changed since base_version

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/personas" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/personas`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/preferences

A brand's creative preferences (formats, colours, characters, products, notes) that steer drafting and generation

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/preferences" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/preferences`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/brands/$ID/preferences

Set a brand's creative preferences (a preference can't use a phrase the brand bans)

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/preferences" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/preferences`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/brands/$ID/settings

A brand's parent brand (whose rules it inherits), regulated-claim packs and accessibility colours

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/settings" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/settings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/brands/$ID/settings

Set a brand's parent brand, regulated-claim packs (matches block approval) and accessibility colours

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/settings" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/settings`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/brands/$ID/voice

Learn voice and style rules from writing samples (the brand's, or a named person's kept separately)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/brands/$ID/voice" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/brands/${id}/voice`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/briefs

Turn a goal or a plan in your own words into a structured brief, segments and formats (a proposal; nothing is saved; when AI writes it the cost is shown first)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/briefs" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/briefs`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/calendar

Scheduled pieces in a window of up to three months

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/calendar" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/calendar`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/campaign-kits

Campaign kits, newest first, with how many drafts each has made

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/campaign-kits" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/campaign-kits`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/campaign-kits

Turn a brief into a set of drafts across channels; without confirm it only shows the cost

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/campaign-kits" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/campaign-kits`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/campaign-kits/$ID

A campaign kit and the drafts it made

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/campaign-kits/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/campaign-kits/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/campaigns/$ID/pieces

Attach existing pieces to a campaign of their workspace (up to 50; a piece in another campaign moves to this one)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/campaigns/$ID/pieces" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/campaigns/${id}/pieces`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/campaigns/$ID/workspace

A campaign's workspace: its content pieces by where they stand (who started each) and its files

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/campaigns/$ID/workspace" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/campaigns/${id}/workspace`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/catalog/sync

Read new and changed products from a connected Shopify, Merchant Center, WooCommerce or BigCommerce account into the catalog

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/catalog/sync" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/catalog/sync`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/cms-changes

Edits made in a CMS to drafts sent from here, waiting for a person

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/cms-changes" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/cms-changes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/cms-changes/$ID/accept

Accept an edit made in the CMS: it becomes the piece's next draft version and needs review again (a signed-in person)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/cms-changes/$ID/accept" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/cms-changes/${id}/accept`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/cms-changes/$ID/dismiss

Dismiss an edit made in the CMS (the piece stays as it is here; a signed-in person)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/cms-changes/$ID/dismiss" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/cms-changes/${id}/dismiss`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/cms/media

Upload an approved asset to a CMS's media library or assets: WordPress, Webflow (site id) and Sanity (the file gets a public address) or Contentful (space/environment, unpublished)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/cms/media" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/cms/media`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/comments/$ID/resolve

Resolve or reopen a comment

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/comments/$ID/resolve" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/comments/${id}/resolve`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/commerce/order-totals

Read a WooCommerce or BigCommerce store's daily order totals for the last days (1 to 90) into its results; no customer details are kept

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/commerce/order-totals" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/commerce/order-totals`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/contentful/assets

Image assets in a Contentful space (newest first, 100 at a time)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/contentful/assets" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/contentful/assets`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/contentful/assets/import

Import Contentful images you choose into the asset library as drafts (at most 50; already imported ones are skipped)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/contentful/assets/import" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/contentful/assets/import`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/contentful/entries

Entries in a Contentful space (newest first, 100 at a time)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/contentful/entries" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/contentful/entries`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/contentful/entries/import

Bring a Contentful entry's text in as a draft piece (the entry isn't changed)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/contentful/entries/import" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/contentful/entries/import`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/design/bynder/$ID/daily-import

Whether new Bynder images come into the library once a day

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/bynder/$ID/daily-import" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/bynder/${id}/daily-import`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/design/bynder/imports

Import Bynder images you choose into the asset library as drafts (at most 50; limited-use, watermarked and archived assets stay in Bynder)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/design/bynder/imports" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/bynder/imports`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/design/bynder/media

Images in your Bynder asset bank, a page of up to 100 at a time (newest first)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/bynder/media" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/bynder/media`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/design/canva/autofills

Make a new design in your Canva from a brand template and the text you give (Canva Enterprise)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/design/canva/autofills" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/canva/autofills`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/design/canva/brand-templates

Your Canva brand templates (Canva Enterprise), a page at a time

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/canva/brand-templates" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/canva/brand-templates`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/design/canva/brand-templates/$ID/fields

A Canva brand template's fields, to fill one by one

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/canva/brand-templates/$ID/fields" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/canva/brand-templates/${id}/fields`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/design/canva/designs

Your Canva designs, a page at a time

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/canva/designs" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/canva/designs`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/design/canva/imports

Export a Canva design and import its pages into the asset library as drafts

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/design/canva/imports" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/canva/imports`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/design/cloudinary/imports

Import Cloudinary images you choose into the asset library as drafts (at most 50; already imported ones are skipped)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/design/cloudinary/imports" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/cloudinary/imports`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/design/cloudinary/resources

Images in your Cloudinary account, a page of up to 100 at a time

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/cloudinary/resources" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/cloudinary/resources`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/design/figma/files/$KEY/frames

A Figma file's pages and top-level frames

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/figma/files/$KEY/frames" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/figma/files/${key}/frames`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/design/figma/files/$KEY/kit-proposal

Colours and fonts for the brand kit from a Figma file's design tokens (a proposal: nothing is saved until you save it as a kit version)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/figma/files/$KEY/kit-proposal" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/figma/files/${key}/kit-proposal`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/design/figma/files/$KEY/tokens

A Figma file's design tokens (variables; Figma Enterprise)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/design/figma/files/$KEY/tokens" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/figma/files/${key}/tokens`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/design/figma/imports

Import Figma frames you choose into the asset library as drafts (at most 50; already imported ones are skipped)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/design/figma/imports" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/figma/imports`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/design/figma/templates

Import a Figma frame as a layout template: its top-level text layers become the fields to fill, every other layer is locked

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/design/figma/templates" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/figma/templates`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/design/pushes

Upload an approved asset to your Canva or Cloudinary account (checked first; recorded where it's used)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/design/pushes" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/design/pushes`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/elements

Reusable message elements (hooks, benefits, calls to action, proof points, disclaimers) with their measured results, best first

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/elements" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/elements`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/elements

Add a message element (checked against the brand; a proof point must be an approved claim)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/elements" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/elements`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### PATCH /v1/mkt/content/elements/$ID

Retire or retag a message element

```bash
curl -s -X PATCH "https://api.scheeleworks.com/v1/mkt/content/elements/$ID" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/elements/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/fatigue

Approved pieces whose click-through fell 30% or more in the last week against the three weeks before

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/fatigue" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/fatigue`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/fatigue/$ID/variant

Make a fresh variant of a fatigued piece on the angle that has done best for the brand (the cost first; a signed-in person confirms)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/fatigue/$ID/variant" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/fatigue/${id}/variant`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/layered-export

Make a layered SVG (Background, Product and Text layers, text editable) from library images and your words, to import into Figma or Canva; nothing is stored or sent

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/layered-export" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/layered-export`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/layout-templates

Layout templates imported from design files, with their fields and locked layers

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/layout-templates" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/layout-templates`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### DELETE /v1/mkt/content/layout-templates/$ID

Archive a layout template

```bash
curl -s -X DELETE "https://api.scheeleworks.com/v1/mkt/content/layout-templates/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/layout-templates/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/layout-templates/$ID/fill

Fill a layout template's fields (brand-checked, each fitted to its box) and get a layered SVG to download; nothing is stored or sent

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/layout-templates/$ID/fill" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/layout-templates/${id}/fill`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/library

The asset library with each asset's current version, rights, live uses and whether it can be used outside

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/library" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/library`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/library/folders

The library's folders and how many assets each holds

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/library/folders" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/library/folders`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/library/index

Suggest tags for assets so they can be found: from rules (free) or from the model (one credit each; a signed-in person confirms)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/library/index" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/library/index`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/library/search

Search the asset library by words (names, tags, descriptions, text) or by meaning when that's set up

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/library/search" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/library/search`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/merchant/products

Add or update a product in a Merchant Center data source (brand-checked; through the approval rules)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/merchant/products" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/merchant/products`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/merchant/promotions

Merchant Center promotions with their state per destination

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/merchant/promotions" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/merchant/promotions`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/merchant/promotions

Add or update a Merchant Center promotion (brand-checked; a key or agent needs a person's approval; Google reviews it before it runs)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/merchant/promotions" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/merchant/promotions`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/microsites

Lay out two to six linked landing pages from one brief as draft pieces (the cost first; a signed-in person confirms)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/microsites" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/microsites`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/performance

How pieces performed (impressions, clicks, conversions, sessions), best click-through first

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/performance" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/performance`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/performance/tags

Results per tag across assets with results: which subjects, formats and hooks do best

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/performance/tags" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/performance/tags`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces

List content pieces, newest first, with their latest check

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces

Start a content piece from a brief, with its first text if you have it

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces/$ID

A piece with its versions, checks, reviews, comments and CMS drafts

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PATCH /v1/mkt/content/pieces/$ID

Change a piece's brief, outline, search fields, sources, schedule or owner. A brief or search fields you send replace the whole of what's there, so include what should stay

```bash
curl -s -X PATCH "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/check

Check the current version again (brand rules and guardrails)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/check" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/check`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/cms-changes/check

Read back this piece's drafts in each CMS and keep edits made there for review (reads only; nothing is changed in the CMS)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/cms-changes/check" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/cms-changes/check`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/comments

Comment on a version (a text range, an image region or a video frame)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/comments" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/comments`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces/$ID/compare

What changed between two versions of a piece's text, paragraph by paragraph and word by word

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/compare" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/compare`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/drafts

Add a draft version: your own text, or generated from the brief (uses credits); every version is checked

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/drafts" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/drafts`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/experiment-plan

Plan a copy experiment from a piece and its variants: a hypothesis each, the metric, the people each variant needs and how long that takes; ready once every variant is approved

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/experiment-plan" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/experiment-plan`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces/$ID/experiment-plans

A piece's copy experiment plans

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/experiment-plans" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/experiment-plans`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces/$ID/grounding

The brand facts each generated draft of a piece was grounded in (kit version, claims, products, personas, measured winners), with their sources

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/grounding" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/grounding`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/localize

Make a market version with its glossary, locked terms and legal lines; a native speaker reviews it

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/localize" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/localize`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces/$ID/next-batch

What the variants' results say: the measured angles, the leader and whether its lead is clear, the best elements, and the proposed next batch

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/next-batch" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/next-batch`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/next-batch

Make the proposed next batch of variants (the cost first; a signed-in person confirms)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/next-batch" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/next-batch`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/outline

Propose an outline from the brief

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/outline" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/outline`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/publish

Send an approved piece to a CMS as a draft (it isn't published there)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/publish" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/publish`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/repurpose

Turn a piece into other formats (each a new draft; uses credits)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/repurpose" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/repurpose`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/review

Send the current version for review to its ordered approvers

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/review" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/review`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/review/withdraw

Take a piece back out of review

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/review/withdraw" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/review/withdraw`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/score

Estimate how the current draft will do, with what drives the estimate (advisory; it never blocks anything)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/score" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/score`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/task

Add a task for this piece to an Asana project (its brief, a link back, its date as the due date); approval marks it done

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/task" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/task`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces/$ID/tasks

The planning-tool tasks linked to a piece, as last synced

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/tasks" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/tasks`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/pieces/$ID/variants

A piece's variants side by side with their checks and estimates

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/variants" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/variants`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/$ID/variants

Make variants of a piece, one per angle, each with its rationale (new drafts; when AI writes them the cost is shown first)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/$ID/variants" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/${id}/variants`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/bulk-edit

Set the same campaign, owner, schedule or channel on up to 100 pieces (pieces in review or archived are skipped)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/bulk-edit" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/bulk-edit`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/pieces/from-source

Start pieces from a meeting transcript, a chat thread export or a document: a preview first (nothing saved or charged), then confirmed, a draft per kind (one credit each)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/pieces/from-source" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/pieces/from-source`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/plans/read

Read a marketing plan (document, PDF, slides or text) into recommended visual styles, tactics and a draft asset list; confirmed, each asset becomes a piece with its brief (no credits)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/plans/read" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/plans/read`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/products/$ID/rules

A product's own rules over its brand's kit: banned phrases, required lines and the claims approved for it

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/products/$ID/rules" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/products/${id}/rules`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/mkt/content/products/$ID/rules

Set a product's own rules (they add to the brand's; pieces about the product are checked against both)

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/products/$ID/rules" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/products/${id}/rules`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/prototypes

Recent prototypes

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/prototypes" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/prototypes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/prototypes

Make a clickable prototype from a description: screens linked to each other, in the brand's colours (the cost first when AI writes it; a signed-in person confirms)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/prototypes" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/prototypes`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/prototypes/$ID

A prototype with its screens and its page (shown in a sandboxed frame)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/prototypes/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/prototypes/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/quick-actions

One-click actions: thumbnails from an image (free), remove an object from an image, or a product ad (both priced first; confirm the job to run it)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/quick-actions" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/quick-actions`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/rendition-presets

The standard sizes renditions can be made in

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/rendition-presets" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/rendition-presets`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/rights/digest

Send owners one notice about rights expiring in the next two weeks (at most once a day)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/rights/digest" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/rights/digest`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/rights/expiring

Rights that expire soon or have expired, with where each asset is live (the takedown list)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/rights/expiring" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/rights/expiring`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/scoring/model

The scoring model trained on your own results: when, on how many files, how well it holds up and what moves it most

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/scoring/model" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/scoring/model`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/scoring/model

Train the scoring model on your own spend and results (free; nothing leaves the app)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/scoring/model" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/scoring/model`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/settings

The content area's settings: tagging new uploads from the image (on or off, its monthly credit limit and this month's use)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/settings" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/settings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/shopify/collections

A connected Shopify store's collections (up to 100 at a time)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/shopify/collections" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/shopify/collections`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/shopify/discounts

Create a Shopify discount code (brand-checked; a key or agent needs a person's approval; read back)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/shopify/discounts" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/shopify/discounts`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/shopify/tags

Customer tags this product manages in your Shopify store (synced from segments), with how many customers it tagged and the latest sync

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/shopify/tags" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/shopify/tags`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/site-audits

Recent site checks

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/site-audits" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/site-audits`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/content/site-audits/$ID

A site check's pages, the riskiest first, with what each says that the brand doesn't allow

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/site-audits/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/site-audits/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/tasks/read-changes

Read tasks changed in an Asana project since the last sync: new due dates move pieces' schedules; done or reopened is noted

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/tasks/read-changes" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/tasks/read-changes`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/variant-sizing

How many variants a campaign needs: the segments large enough to measure their own variant, from the audience size and attribute shares

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/variant-sizing" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/variant-sizing`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/content/webflow/pages

A connected Webflow site's pages (up to 100 at a time)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/content/webflow/pages" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/webflow/pages`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/content/webflow/pages/import

Bring a Webflow page's text in as a draft landing page to work on here (the page in Webflow isn't changed)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/webflow/pages/import" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/webflow/pages/import`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### PUT /v1/mkt/content/webflow/pages/settings

Change a Webflow page's title, address and search settings (brand-checked; a key or agent needs a person's approval; shown once the site is published in Webflow)

```bash
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/content/webflow/pages/settings" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/webflow/pages/settings`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/content/wordpress/media

Upload an approved asset to a WordPress site's media library (checked first; not placed on any page, but the file gets a public address; recorded where it's used)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/content/wordpress/media" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/content/wordpress/media`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

Request and response schemas: [https://www.scheeleworks.com/openapi.json](https://www.scheeleworks.com/openapi.json). All resources: [API reference](https://www.scheeleworks.com/docs/api).
