API reference
API: Paid media
| Method | Path | What it does | Scope |
|---|---|---|---|
| POST | /v1/mkt/paid/accounts/:id/catalog | Send the workspace's product catalog to the ad platform's catalog (Pinterest), in batches of 1,000 (web app only) | marketing:write |
| GET | /v1/mkt/paid/accounts/:id/companies-reached | Results per company reached over a period (LinkedIn), each marked when it's on a company list sent to this account | marketing:read |
| GET | /v1/mkt/paid/accounts/:id/missed-value | Estimate the conversion value Search campaigns lost to bids (rank) and to budget over a period, from the platform's impression share | marketing:read |
| POST | /v1/mkt/paid/accounts/:id/refresh | Read an ad account's campaigns and daily results now (filed only; nothing is changed) | marketing:write |
| POST | /v1/mkt/paid/accounts/:id/view-through/read | Read the ad account's website conversion actions and how long a seen (not clicked) ad still counts for each (the whole account's setting) | marketing:write |
| GET | /v1/mkt/paid/alerts | Paid media alerts: ceilings reached, pacing, spend spikes, cost jumps, tracking gaps and tiring creative | marketing:read |
| POST | /v1/mkt/paid/alerts/:id/resolve | Mark an alert as handled | marketing:write |
| POST | /v1/mkt/paid/apple/connect | Connect Apple Ads with your own Apple Ads API credentials: they're checked against your Apple organization, then saved sealed with the connection (web app only) | settings:write |
| POST | /v1/mkt/paid/audiences/interpret | Turn a plain-language audience description into targeting per network (a suggestion from the organization's model; nothing is sent) | marketing:write |
| POST | /v1/mkt/paid/audiences/lookalike | Make a lookalike audience on the ad platform from a customer list already uploaded there (Meta) (web app only) | marketing:write |
| POST | /v1/mkt/paid/audiences/visitors | Make a list of your site's visitors (pages whose address contains the text), built by Google from its own tag (web app only) | marketing:write |
| GET | /v1/mkt/paid/audit | Today's account audit: issues ranked, each fixed one at a time | marketing:read |
| POST | /v1/mkt/paid/audit/fix | Turn one audit item into its fix, proposed for approval | marketing:write |
| POST | /v1/mkt/paid/briefs | Turn a goal, budget, audience and ad copy into a paused campaign per ad account, as proposals | marketing:write |
| GET | /v1/mkt/paid/briefs/held | Briefs held for a platform with no account yet, each with the accounts it can be filed to now | marketing:read |
| POST | /v1/mkt/paid/briefs/held | Hold a brief for an ad platform with no account connected yet; nothing is filed or sent until a person files it against an account | marketing:write |
| POST | /v1/mkt/paid/briefs/held/:id/file | File a held brief against an ad account on its platform: its campaigns become paused proposals waiting for approval | marketing:write |
| POST | /v1/mkt/paid/briefs/held/:id/withdraw | Withdraw a held brief; nothing was filed from it | marketing:write |
| GET | /v1/mkt/paid/campaigns | Ad campaigns with their budget, status and results over a period | marketing:read |
| POST | /v1/mkt/paid/campaigns/:id/account-rotation | Compare a LinkedIn campaign's ads, and the LinkedIn campaigns beside it, on how many of the companies they reached engaged; propose pausing the ads clearly behind and moving budget to the audience that engages more (each waits for approval) | marketing:write |
| GET | /v1/mkt/paid/campaigns/:id/ai-surfaces | Check whether a Google Ads campaign can show in AI Overviews and AI Mode: its type, keyword matching, ad copy, landing pages and markets | marketing:read |
| POST | /v1/mkt/paid/campaigns/:id/asset-groups/read | Read a Performance Max campaign's asset groups (headlines, descriptions, other assets, search themes, audience signal) and the account's audiences from the ad platform | marketing:write |
| POST | /v1/mkt/paid/campaigns/:id/automation/read | Read a campaign's automatic text and landing-page settings from the ad platform (before proposing a change to them) | marketing:write |
| POST | /v1/mkt/paid/campaigns/:id/bid-fix | Propose a 15% higher target cost per result for a campaign losing impressions to rank (waits for approval) | marketing:write |
| POST | /v1/mkt/paid/campaigns/:id/conversion-goals/read | Read how a campaign values its conversions on the ad platform: new customers and device value multipliers | marketing:write |
| POST | /v1/mkt/paid/campaigns/:id/copy | Copy a campaign's structure (keywords, targeting, ad copy, landing page, budget) to another ad account as a new paused campaign that waits for approval | marketing:write |
| GET | /v1/mkt/paid/campaigns/:id/diagnosis | Why a campaign's results stopped or delivery fell: what was checked and the likely causes | marketing:read |
| POST | /v1/mkt/paid/campaigns/:id/experiment/read | Read a campaign's experiment results from the ad platform (its own comparison and p-values) and file them | marketing:write |
| POST | /v1/mkt/paid/campaigns/:id/guidelines/read | Read a campaign's text guidelines (words to leave out, messaging restrictions) and brand lists, and the account's brand lists, from the ad platform | marketing:write |
| POST | /v1/mkt/paid/campaigns/:id/insertion-orders/read | Read a campaign's insertion orders (each one's pacing and daily or flight budget) from the ad platform, where budgets sit below the campaign | marketing:write |
| POST | /v1/mkt/paid/campaigns/:id/sitelinks | Add sitelinks (links to pages of your own sites) under a campaign's ads (Google Ads) (web app only) | marketing:write |
| POST | /v1/mkt/paid/campaigns/from-catalog | Build a paused campaign from the product catalog and a goal in plain words: Search (keywords, headlines, descriptions, landing page), Shopping (Google Ads, from the linked Merchant Center account) or catalog ads (Meta, from the business's own catalog, one template ad per message); it waits for approval | marketing:write |
| POST | /v1/mkt/paid/campaigns/from-url | Build paused campaigns from a crawled page's URL and a goal: ad copy written by the organization's model from the page, keywords from its words; each waits for approval | marketing:write |
| GET | /v1/mkt/paid/changes | The change log: proposals waiting for you, and every change made, with before and after | marketing:read |
| POST | /v1/mkt/paid/changes | Propose a budget, bid, status, negative keyword or new paused campaign change (it waits for approval unless allowed) | marketing:write |
| POST | /v1/mkt/paid/changes/:id/approve | Approve a proposed change and apply it on the ad platform (within the ceilings) (web app only) | marketing:write |
| POST | /v1/mkt/paid/changes/:id/reject | Turn a proposed change down (web app only) | marketing:write |
| POST | /v1/mkt/paid/changes/:id/revert | Undo an applied change in one step (restores its before state on the ad platform) (web app only) | marketing:write |
| POST | /v1/mkt/paid/company-lists | Propose sending a company (account) list to an ad platform that takes one: names and website domains of businesses, no people; it waits for approval and adds no daily spend | marketing:write |
| GET | /v1/mkt/paid/competitors | Competitors you follow in the public ad libraries, with how many of their ads were found and are running | marketing:read |
| POST | /v1/mkt/paid/competitors | Follow a competitor's ads in the public ad library (its Facebook page ids or words to search, and the countries); only reads, once a day | marketing:write |
| DELETE | /v1/mkt/paid/competitors/:id | Stop following a competitor | marketing:write |
| GET | /v1/mkt/paid/competitors/:id/ads | A competitor's ads found in the ad library, newest first (the swipe file) | marketing:read |
| GET | /v1/mkt/paid/competitors/:id/brief | A brief from a competitor's ads: what runs longest, the phrases and angles they lead with, and angles they leave open | marketing:read |
| POST | /v1/mkt/paid/competitors/:id/brief/studio | Send the competitor brief to the content studio as an ad piece to write (web app only) | marketing:write |
| POST | /v1/mkt/paid/competitors/:id/scan | Search the ad library for a competitor's running ads now (reads only; at most 500 ads) | marketing:write |
| PUT | /v1/mkt/paid/competitors/ads/:id/saved | Keep a competitor's ad in your swipe file, or let it go | marketing:write |
| GET | /v1/mkt/paid/conversions | Server-side conversions per ad account: on or off, the event mapping, and what was sent, matched, refused and why | marketing:read |
| PUT | /v1/mkt/paid/conversions/accounts/:id | Turn server-side conversions on or off for an ad account, and set its destination and daily ceiling (a person; only events from now on are sent) (web app only) | settings:write |
| POST | /v1/mkt/paid/conversions/accounts/:id/flush | Send the conversions waiting for an ad account now, as you (owners; consent and suppressions are checked again; within the daily ceiling) (web app only) | marketing:write |
| PUT | /v1/mkt/paid/conversions/mappings | Map one of your events (a profile event or a deal stage) to an ad platform's standard event, with its value rule (a person) (web app only) | settings:write |
| DELETE | /v1/mkt/paid/conversions/mappings/:id | Remove an event mapping (nothing more is sent for that event) (web app only) | settings:write |
| PUT | /v1/mkt/paid/conversions/mappings/:id/predicted-value | Choose whether this conversion action sends a predicted future value as its value (Google, Microsoft, TikTok; an owner; off by default). The real value is kept here, and the prediction is labelled wherever it is shown (web app only) | settings:write |
| GET | /v1/mkt/paid/creative-tests | List creative tests (at most 100), for one campaign or all | marketing:read |
| POST | /v1/mkt/paid/creative-tests | Start a creative test: new ads against the campaign's best ad on click-through or conversion rate (reads results only; nothing is launched or spent) (web app only) | marketing:write |
| POST | /v1/mkt/paid/creative-tests/:id/read | Read a creative test's results now and decide it if it can (a winner proposes pausing the ads that lost) | marketing:write |
| POST | /v1/mkt/paid/creative-tests/:id/stop | Stop a running creative test (nothing changes on the platform) (web app only) | marketing:write |
| POST | /v1/mkt/paid/forecasts | Estimate results a day for daily budgets per ad platform, with a low-to-high range (an estimate, not a promise; nothing changes) | marketing:read |
| POST | /v1/mkt/paid/keyword-ideas | Propose search terms that brought results at or under the target cost per result as new keywords (exact, and phrase for three results or more); they wait for approval | marketing:write |
| POST | /v1/mkt/paid/list-uploads | Prepare a customer-list upload: consented people only, suppressions left out, hashed; it waits for approval | marketing:write |
| GET | /v1/mkt/paid/lists | Customer lists sent to ad platforms (counts only, never who): whether each is ours and kept current, its open runs, and what its last run and any erasure said | marketing:read |
| POST | /v1/mkt/paid/lists/:id/confirm-removal | Confirm a held check that takes many people off a kept list because they left its segment (that check, within 7 days) (web app only) | marketing:write |
| POST | /v1/mkt/paid/lists/:id/dismiss-erasure-note | Dismiss a list's erasure notice once the person was removed from it on the ad platform (web app only) | marketing:write |
| POST | /v1/mkt/paid/lists/:id/keep-current | Keep a customer list made from a segment current on its ad platform: once a day people who left the segment are taken off and new ones added (at most 5,000 a day); or stop. People who may no longer be on any list are taken off either way (web app only) | marketing:write |
| POST | /v1/mkt/paid/lower | Stop or lower spend right away: pause a campaign, some of its ads or a whole ad account, or lower a budget or bid (signed in; it needs no approval, is checked against the ad platform as it is now, and never raises anything) (web app only) | marketing:write |
| POST | /v1/mkt/paid/media-buys/:id/creatives | Send creatives (by https address) to an applied media buy's packages on its seller (web app only) | marketing:write |
| GET | /v1/mkt/paid/overview | Ad accounts with their ceilings, live budgets and spend today and this month, plus what waits for you | marketing:read |
| POST | /v1/mkt/paid/plans | A media plan: budget by ad platform and month, each month's results estimated with a range (nothing changes) | marketing:read |
| POST | /v1/mkt/paid/precheck | Check an ad's text and landing page before proposing it: what the platform would refuse, and what it is likely to disapprove | marketing:read |
| POST | /v1/mkt/paid/reallocations | Propose moving budget to the campaign with the cheapest results in an ad account, keeping daily spend the same | marketing:write |
| POST | /v1/mkt/paid/reallocations/across-accounts | Propose moving budget between ad accounts in one currency toward the cheapest results, keeping the organization's daily spend the same (an estimate; inside each account's ceiling) | marketing:write |
| GET | /v1/mkt/paid/recap | A recap of spend and results per campaign over a period, with totals and where the numbers came from: as data, a spreadsheet (CSV) or slides (PowerPoint) | marketing:read |
| GET | /v1/mkt/paid/refreshes | Creative refresh briefs for the content studio, and the paused ads proposed from them | marketing:read |
| POST | /v1/mkt/paid/refreshes | Ask the content studio for fresh creative for a campaign (a brief; paused ads are proposed once its assets are approved) | marketing:write |
| PUT | /v1/mkt/paid/refreshes/:id/assets | Link approved assets to a refresh brief (paused ads are proposed from them) (web app only) | marketing:write |
| GET | /v1/mkt/paid/rules | If/then rules over campaign results and search terms | marketing:read |
| POST | /v1/mkt/paid/rules | Add an if/then rule; each match becomes a proposed change checked like any other (web app only) | marketing:write |
| GET | /v1/mkt/paid/sellers | The ad sellers linked here (outside MCP servers that sell media over AdCP), and the outside MCP servers that could be | marketing:read |
| POST | /v1/mkt/paid/sellers | Link an outside MCP server as an ad seller (its media-buy tools must be there and classified) (web app only) | marketing:write |
| GET | /v1/mkt/paid/sellers/:id/products | An ad seller's products as last read (within the hour), or none | marketing:read |
| POST | /v1/mkt/paid/sellers/:id/products/read | Read an ad seller's products for a brief: each publisher checked against its adagents.json, each product scored, filed for a buy within the hour | marketing:write |
| PUT | /v1/mkt/paid/settings | Set the organization's paid media limits: spend ceilings, step size, changes per day and the automatic pause (owners) (web app only) | settings:write |
| POST | /v1/mkt/paid/stop | Stop all paid media changes now (anyone who can make changes); queued changes are held (web app only) | marketing:write |
| POST | /v1/mkt/paid/stop-switch/off | Resume paid media changes (owners); held changes wait for approval again (web app only) | settings:write |
| GET | /v1/mkt/paid/summary | A plain-language summary of spend and results over a period | marketing:read |
| POST | /v1/mkt/paid/suppressions | Never upload these people to an ad platform list (kept as hashes) | marketing:write |
Examples
GET /v1/mkt/paid/accounts/$ID/companies-reached
Results per company reached over a period (LinkedIn), each marked when it's on a company list sent to this account
curl -s "https://api.scheeleworks.com/v1/mkt/paid/accounts/$ID/companies-reached" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/accounts/${id}/companies-reached`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/accounts/$ID/missed-value
Estimate the conversion value Search campaigns lost to bids (rank) and to budget over a period, from the platform's impression share
curl -s "https://api.scheeleworks.com/v1/mkt/paid/accounts/$ID/missed-value" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/accounts/${id}/missed-value`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/accounts/$ID/refresh
Read an ad account's campaigns and daily results now (filed only; nothing is changed)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/accounts/$ID/refresh" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/accounts/${id}/refresh`, {
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/paid/accounts/$ID/view-through/read
Read the ad account's website conversion actions and how long a seen (not clicked) ad still counts for each (the whole account's setting)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/accounts/$ID/view-through/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/accounts/${id}/view-through/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/paid/alerts
Paid media alerts: ceilings reached, pacing, spend spikes, cost jumps, tracking gaps and tiring creative
curl -s "https://api.scheeleworks.com/v1/mkt/paid/alerts" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/alerts`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/alerts/$ID/resolve
Mark an alert as handled
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/alerts/$ID/resolve" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/alerts/${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/paid/audiences/interpret
Turn a plain-language audience description into targeting per network (a suggestion from the organization's model; nothing is sent)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/audiences/interpret" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/audiences/interpret`, {
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/paid/audit
Today's account audit: issues ranked, each fixed one at a time
curl -s "https://api.scheeleworks.com/v1/mkt/paid/audit" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/audit`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/audit/fix
Turn one audit item into its fix, proposed for approval
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/audit/fix" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/audit/fix`, {
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/paid/briefs
Turn a goal, budget, audience and ad copy into a paused campaign per ad account, as proposals
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/briefs" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/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/paid/briefs/held
Briefs held for a platform with no account yet, each with the accounts it can be filed to now
curl -s "https://api.scheeleworks.com/v1/mkt/paid/briefs/held" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/briefs/held`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/briefs/held
Hold a brief for an ad platform with no account connected yet; nothing is filed or sent until a person files it against an account
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/briefs/held" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/briefs/held`, {
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/paid/briefs/held/$ID/file
File a held brief against an ad account on its platform: its campaigns become paused proposals waiting for approval
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/briefs/held/$ID/file" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/briefs/held/${id}/file`, {
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/paid/briefs/held/$ID/withdraw
Withdraw a held brief; nothing was filed from it
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/briefs/held/$ID/withdraw" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/briefs/held/${id}/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();GET /v1/mkt/paid/campaigns
Ad campaigns with their budget, status and results over a period
curl -s "https://api.scheeleworks.com/v1/mkt/paid/campaigns" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/campaigns/$ID/account-rotation
Compare a LinkedIn campaign's ads, and the LinkedIn campaigns beside it, on how many of the companies they reached engaged; propose pausing the ads clearly behind and moving budget to the audience that engages more (each waits for approval)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/account-rotation" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/account-rotation`, {
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/paid/campaigns/$ID/ai-surfaces
Check whether a Google Ads campaign can show in AI Overviews and AI Mode: its type, keyword matching, ad copy, landing pages and markets
curl -s "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/ai-surfaces" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/ai-surfaces`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/campaigns/$ID/asset-groups/read
Read a Performance Max campaign's asset groups (headlines, descriptions, other assets, search themes, audience signal) and the account's audiences from the ad platform
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/asset-groups/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/asset-groups/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();POST /v1/mkt/paid/campaigns/$ID/automation/read
Read a campaign's automatic text and landing-page settings from the ad platform (before proposing a change to them)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/automation/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/automation/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();POST /v1/mkt/paid/campaigns/$ID/bid-fix
Propose a 15% higher target cost per result for a campaign losing impressions to rank (waits for approval)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/bid-fix" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/bid-fix`, {
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/paid/campaigns/$ID/conversion-goals/read
Read how a campaign values its conversions on the ad platform: new customers and device value multipliers
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/conversion-goals/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/conversion-goals/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();POST /v1/mkt/paid/campaigns/$ID/copy
Copy a campaign's structure (keywords, targeting, ad copy, landing page, budget) to another ad account as a new paused campaign that waits for approval
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/copy" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/copy`, {
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/paid/campaigns/$ID/diagnosis
Why a campaign's results stopped or delivery fell: what was checked and the likely causes
curl -s "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/diagnosis" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/diagnosis`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/campaigns/$ID/experiment/read
Read a campaign's experiment results from the ad platform (its own comparison and p-values) and file them
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/experiment/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/experiment/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();POST /v1/mkt/paid/campaigns/$ID/guidelines/read
Read a campaign's text guidelines (words to leave out, messaging restrictions) and brand lists, and the account's brand lists, from the ad platform
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/guidelines/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/guidelines/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();POST /v1/mkt/paid/campaigns/$ID/insertion-orders/read
Read a campaign's insertion orders (each one's pacing and daily or flight budget) from the ad platform, where budgets sit below the campaign
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/$ID/insertion-orders/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/${id}/insertion-orders/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();POST /v1/mkt/paid/campaigns/from-catalog
Build a paused campaign from the product catalog and a goal in plain words: Search (keywords, headlines, descriptions, landing page), Shopping (Google Ads, from the linked Merchant Center account) or catalog ads (Meta, from the business's own catalog, one template ad per message); it waits for approval
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/from-catalog" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/from-catalog`, {
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/paid/campaigns/from-url
Build paused campaigns from a crawled page's URL and a goal: ad copy written by the organization's model from the page, keywords from its words; each waits for approval
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/campaigns/from-url" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/campaigns/from-url`, {
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/paid/changes
The change log: proposals waiting for you, and every change made, with before and after
curl -s "https://api.scheeleworks.com/v1/mkt/paid/changes" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/changes`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/changes
Propose a budget, bid, status, negative keyword or new paused campaign change (it waits for approval unless allowed)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/changes" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/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/paid/company-lists
Propose sending a company (account) list to an ad platform that takes one: names and website domains of businesses, no people; it waits for approval and adds no daily spend
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/company-lists" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/company-lists`, {
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/paid/competitors
Competitors you follow in the public ad libraries, with how many of their ads were found and are running
curl -s "https://api.scheeleworks.com/v1/mkt/paid/competitors" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/competitors`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/competitors
Follow a competitor's ads in the public ad library (its Facebook page ids or words to search, and the countries); only reads, once a day
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/competitors" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/competitors`, {
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();DELETE /v1/mkt/paid/competitors/$ID
Stop following a competitor
curl -s -X DELETE "https://api.scheeleworks.com/v1/mkt/paid/competitors/$ID" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/competitors/${id}`, {
method: "DELETE",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/competitors/$ID/ads
A competitor's ads found in the ad library, newest first (the swipe file)
curl -s "https://api.scheeleworks.com/v1/mkt/paid/competitors/$ID/ads" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/competitors/${id}/ads`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/competitors/$ID/brief
A brief from a competitor's ads: what runs longest, the phrases and angles they lead with, and angles they leave open
curl -s "https://api.scheeleworks.com/v1/mkt/paid/competitors/$ID/brief" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/competitors/${id}/brief`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/competitors/$ID/scan
Search the ad library for a competitor's running ads now (reads only; at most 500 ads)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/competitors/$ID/scan" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/competitors/${id}/scan`, {
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/paid/competitors/ads/$ID/saved
Keep a competitor's ad in your swipe file, or let it go
curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/paid/competitors/ads/$ID/saved" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/competitors/ads/${id}/saved`, {
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/paid/conversions
Server-side conversions per ad account: on or off, the event mapping, and what was sent, matched, refused and why
curl -s "https://api.scheeleworks.com/v1/mkt/paid/conversions" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/conversions`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/creative-tests
List creative tests (at most 100), for one campaign or all
curl -s "https://api.scheeleworks.com/v1/mkt/paid/creative-tests" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/creative-tests`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/creative-tests/$ID/read
Read a creative test's results now and decide it if it can (a winner proposes pausing the ads that lost)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/creative-tests/$ID/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/creative-tests/${id}/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();POST /v1/mkt/paid/forecasts
Estimate results a day for daily budgets per ad platform, with a low-to-high range (an estimate, not a promise; nothing changes)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/forecasts" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/forecasts`, {
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/paid/keyword-ideas
Propose search terms that brought results at or under the target cost per result as new keywords (exact, and phrase for three results or more); they wait for approval
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/keyword-ideas" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/keyword-ideas`, {
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/paid/list-uploads
Prepare a customer-list upload: consented people only, suppressions left out, hashed; it waits for approval
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/list-uploads" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/list-uploads`, {
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/paid/lists
Customer lists sent to ad platforms (counts only, never who): whether each is ours and kept current, its open runs, and what its last run and any erasure said
curl -s "https://api.scheeleworks.com/v1/mkt/paid/lists" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/lists`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/overview
Ad accounts with their ceilings, live budgets and spend today and this month, plus what waits for you
curl -s "https://api.scheeleworks.com/v1/mkt/paid/overview" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/overview`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/plans
A media plan: budget by ad platform and month, each month's results estimated with a range (nothing changes)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/plans" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/plans`, {
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/paid/precheck
Check an ad's text and landing page before proposing it: what the platform would refuse, and what it is likely to disapprove
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/precheck" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/precheck`, {
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/paid/reallocations
Propose moving budget to the campaign with the cheapest results in an ad account, keeping daily spend the same
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/reallocations" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/reallocations`, {
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/paid/reallocations/across-accounts
Propose moving budget between ad accounts in one currency toward the cheapest results, keeping the organization's daily spend the same (an estimate; inside each account's ceiling)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/reallocations/across-accounts" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/reallocations/across-accounts`, {
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/paid/recap
A recap of spend and results per campaign over a period, with totals and where the numbers came from: as data, a spreadsheet (CSV) or slides (PowerPoint)
curl -s "https://api.scheeleworks.com/v1/mkt/paid/recap" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/recap`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/refreshes
Creative refresh briefs for the content studio, and the paused ads proposed from them
curl -s "https://api.scheeleworks.com/v1/mkt/paid/refreshes" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/refreshes`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/refreshes
Ask the content studio for fresh creative for a campaign (a brief; paused ads are proposed once its assets are approved)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/refreshes" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/refreshes`, {
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/paid/rules
If/then rules over campaign results and search terms
curl -s "https://api.scheeleworks.com/v1/mkt/paid/rules" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/rules`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/sellers
The ad sellers linked here (outside MCP servers that sell media over AdCP), and the outside MCP servers that could be
curl -s "https://api.scheeleworks.com/v1/mkt/paid/sellers" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/sellers`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();GET /v1/mkt/paid/sellers/$ID/products
An ad seller's products as last read (within the hour), or none
curl -s "https://api.scheeleworks.com/v1/mkt/paid/sellers/$ID/products" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/sellers/${id}/products`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/sellers/$ID/products/read
Read an ad seller's products for a brief: each publisher checked against its adagents.json, each product scored, filed for a buy within the hour
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/sellers/$ID/products/read" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/sellers/${id}/products/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/paid/summary
A plain-language summary of spend and results over a period
curl -s "https://api.scheeleworks.com/v1/mkt/paid/summary" \
-H "Authorization: Bearer $MA_API_KEY"const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/summary`, {
method: "GET",
headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();POST /v1/mkt/paid/suppressions
Never upload these people to an ad platform list (kept as hashes)
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/paid/suppressions" \
-H "Authorization: Bearer $MA_API_KEY" \
-H "content-type: application/json" \
-d '{}'const res = await fetch(`https://api.scheeleworks.com/v1/mkt/paid/suppressions`, {
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. All resources: API reference.