Skip to content

API reference

API: Measurement

Markdown version

MethodPathWhat it doesScope
GET/v1/mkt/measure/alertsData-quality alerts, newest first: each carries every issue its check foundmarketing:read
POST/v1/mkt/measure/alerts/:id/resolveMark a data alert as dealt withmarketing:write
GET/v1/mkt/measure/attributionCredit by channel and campaign under an attribution model, from consented journeys only, beside what each ad platform reportsmarketing:read
POST/v1/mkt/measure/attributionKeep an attribution result (for reports and later comparison)marketing:write
GET/v1/mkt/measure/attribution/exportAttribution as a table for a spreadsheet or a warehouse (CSV: model, period, channel, campaign, credit, value)marketing:read
GET/v1/mkt/measure/attribution/savedAttribution results kept earlier, newest firstmarketing:read
GET/v1/mkt/measure/benchmarksBenchmarks of agent-managed campaigns against campaigns left to the ad platform's own automation, newest firstmarketing:read
POST/v1/mkt/measure/benchmarksSet a benchmark (a person): campaigns split at random, or as you choose, into ones held to the platform's own automation until the end date and ones the agents keep managing. Held campaigns take no agent or rule change; your own changes, pauses and cuts still go (web app only)marketing:write
GET/v1/mkt/measure/benchmarks/:idA benchmark with its readout so far: the difference with its 95% interval, or why it is too small to saymarketing:read
POST/v1/mkt/measure/benchmarks/:id/endEnd a benchmark now (a person): the holds lift at once and the readout is kept (web app only)marketing:write
GET/v1/mkt/measure/channelsPer channel, side by side: attribution, what the platform reports, the mix model and lift tests, with their ranges and where they disagree (never averaged)marketing:read
POST/v1/mkt/measure/checksCheck yesterday's data now (gaps, spikes, double counting, currency, naming and tracking tags); every issue goes in one alertmarketing:write
GET/v1/mkt/measure/first-modelWhere your first mix model stands: the days of spend so far, and the model with how much data it had and how uncertain it ismarketing:read
PUT/v1/mkt/measure/fx-rates/:currencySet a currency's rate into your reporting currency (owners)settings:write
GET/v1/mkt/measure/holdoutsMeasured lift of each kind of automatic work and each agent against its holdout, with the uncertaintymarketing:read
GET/v1/mkt/measure/holdouts/agentsEach agent's contribution per kind of work against its holdout, with the agent's name and the uncertaintymarketing:read
GET/v1/mkt/measure/lift-testsGeo and time-based lift tests with their design and readoutmarketing:read
POST/v1/mkt/measure/lift-testsDesign a geo or on/off lift test: controls chosen, and the smallest change it can detect stated before anything changesmarketing:write
POST/v1/mkt/measure/lift-tests/:id/beginRecord that a lift test has begun (the spend change itself is approved in paid media)marketing:write
POST/v1/mkt/measure/lift-tests/:id/readoutRead a lift test: the lift with its interval and a plain verdict (before its planned end, an interim look); the test's spend is entered by a personmarketing:write
GET/v1/mkt/measure/metricsEvery metric with its formula: the built-in ones and your ownmarketing:read
POST/v1/mkt/measure/metricsDefine your own metric as a formula over the others (for example conversions / sessions)marketing:write
POST/v1/mkt/measure/model-questionsAsk about your mix model in plain words (best return, next unit of spend, moving budget, the best split, how sure it is, what to test); answers are estimates with rangesmarketing:read
GET/v1/mkt/measure/modelsMarketing-mix models fitted for your organization, newest firstmarketing:read
POST/v1/mkt/measure/modelsFit a marketing-mix model from your spend and results (calibrated by lift tests that were read)marketing:write
POST/v1/mkt/measure/models/:id/scenarioSplit a daily budget across channels by the model's response curves (a scenario: nothing changes)marketing:read
GET/v1/mkt/measure/numbersMetrics over a period by day, week, channel, campaign or in total, with the query, the sources and any data warningsmarketing:read
POST/v1/mkt/measure/offline-importsImport offline spend and results (TV, mail, events) from a file's rows; filed only, nothing acts on itmarketing:write
GET/v1/mkt/measure/overviewKey results across channels for a period against the one before, with open data alerts and how fresh each source ismarketing:read
POST/v1/mkt/measure/questionsAsk a question in plain words; get the numbers, the query that produced them and the sourcesmarketing:read
POST/v1/mkt/measure/readers/:id/cohortsRead an analytics account's new people by week, their activation and how many came back, now (aggregates only, filed only)marketing:write
PUT/v1/mkt/measure/readers/:id/optionsChoose an analytics account's activation event, the event Mixpanel cohorts start with, the Amplitude charts to read, or PostHog's cloudmarketing:write
POST/v1/mkt/measure/readers/:id/refreshRead a connected analytics account's daily event counts, or a data source's daily figures, now (filed only)marketing:write
GET/v1/mkt/measure/readers/:id/retentionActivation and retention by cohort week, as read from an analytics account (groups below the minimum size aren't shown)marketing:read
GET/v1/mkt/measure/recommendationsBudget recommendations from your mix model (the expected change with its range), newest firstmarketing:read
POST/v1/mkt/measure/recommendationsAsk the latest mix model for a budget recommendation now (filed in the app; nothing changes)marketing:write
POST/v1/mkt/measure/recommendations/:id/dismissDismiss a recommendation (web app only)marketing:write
POST/v1/mkt/measure/recommendations/:id/paid-proposalsSend a recommendation to paid media: one budget proposal per live campaign, each waiting for its own approval there (a person, in the app) (web app only)marketing:write
GET/v1/mkt/measure/report-runs/:idOne report run with its numbers, as CSV for a spreadsheet or a warehouse, or as slides (PowerPoint)marketing:read
GET/v1/mkt/measure/reportsSaved reports and dashboardsmarketing:read
POST/v1/mkt/measure/reportsSave a report: metrics, grouping, period and an optional weekly or monthly schedulemarketing:write
POST/v1/mkt/measure/reports/:id/refreshProduce a report now (kept with its numbers, query and sources; at most 20 a report a day)marketing:write
GET/v1/mkt/measure/reports/:id/runsA report's earlier runs, newest first (at most 50)marketing:read
GET/v1/mkt/measure/settingsMeasurement settings: reporting currency and rates, minimum group size, holdouts, attribution window, naming rules, report noticesmarketing:read
PUT/v1/mkt/measure/settingsChange measurement settings (owners)settings:write
GET/v1/mkt/measure/value-modelThe predicted-value model from your order history: how it predicts, its back-test, and whether paid media sends itmarketing:read
POST/v1/mkt/measure/value-modelFit the predicted-value model from your order history now, with its back-test (a person; once a day; filed only, nothing is sent) (web app only)marketing:write
PUT/v1/mkt/measure/value-model/useTurn the predicted value on or off for paid media's conversion uploads (owners; only with a usable model; only for people who agreed to personalized ads) (web app only)settings:write
GET/v1/mkt/measure/voiceVoice-of-customer syntheses: themes with their sentiment and example quotes (names and addresses removed), newest firstmarketing:read
POST/v1/mkt/measure/voiceSynthesize what customers say in reviews, inbox messages and survey answers into themes (confirm the estimate's credits; at most 4 a day)marketing:write
POST/v1/mkt/measure/voice/estimateWhat a voice-of-customer synthesis would read and cost, before it runsmarketing:read
POST/v1/mkt/measure/warehouse-exportsWrite attribution or a report's results to a table in your BigQuery or Snowflake warehouse (owners): aggregates only, up to 10,000 rows (web app only)settings:write

Examples

GET /v1/mkt/measure/alerts

Data-quality alerts, newest first: each carries every issue its check found

curl -s "https://api.scheeleworks.com/v1/mkt/measure/alerts" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/alerts`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/alerts/$ID/resolve

Mark a data alert as dealt with

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/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/measure/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();

GET /v1/mkt/measure/attribution

Credit by channel and campaign under an attribution model, from consented journeys only, beside what each ad platform reports

curl -s "https://api.scheeleworks.com/v1/mkt/measure/attribution" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/attribution`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/attribution

Keep an attribution result (for reports and later comparison)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/attribution" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/attribution`, {
  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/measure/attribution/export

Attribution as a table for a spreadsheet or a warehouse (CSV: model, period, channel, campaign, credit, value)

curl -s "https://api.scheeleworks.com/v1/mkt/measure/attribution/export" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/attribution/export`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/attribution/saved

Attribution results kept earlier, newest first

curl -s "https://api.scheeleworks.com/v1/mkt/measure/attribution/saved" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/attribution/saved`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/benchmarks

Benchmarks of agent-managed campaigns against campaigns left to the ad platform's own automation, newest first

curl -s "https://api.scheeleworks.com/v1/mkt/measure/benchmarks" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/benchmarks`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/benchmarks/$ID

A benchmark with its readout so far: the difference with its 95% interval, or why it is too small to say

curl -s "https://api.scheeleworks.com/v1/mkt/measure/benchmarks/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/benchmarks/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/channels

Per channel, side by side: attribution, what the platform reports, the mix model and lift tests, with their ranges and where they disagree (never averaged)

curl -s "https://api.scheeleworks.com/v1/mkt/measure/channels" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/channels`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/checks

Check yesterday's data now (gaps, spikes, double counting, currency, naming and tracking tags); every issue goes in one alert

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/checks" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/checks`, {
  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/measure/first-model

Where your first mix model stands: the days of spend so far, and the model with how much data it had and how uncertain it is

curl -s "https://api.scheeleworks.com/v1/mkt/measure/first-model" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/first-model`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/measure/fx-rates/$CURRENCY

Set a currency's rate into your reporting currency (owners)

curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/measure/fx-rates/$CURRENCY" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/fx-rates/${currency}`, {
  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/measure/holdouts

Measured lift of each kind of automatic work and each agent against its holdout, with the uncertainty

curl -s "https://api.scheeleworks.com/v1/mkt/measure/holdouts" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/holdouts`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/holdouts/agents

Each agent's contribution per kind of work against its holdout, with the agent's name and the uncertainty

curl -s "https://api.scheeleworks.com/v1/mkt/measure/holdouts/agents" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/holdouts/agents`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/lift-tests

Geo and time-based lift tests with their design and readout

curl -s "https://api.scheeleworks.com/v1/mkt/measure/lift-tests" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/lift-tests`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/lift-tests

Design a geo or on/off lift test: controls chosen, and the smallest change it can detect stated before anything changes

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/lift-tests" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/lift-tests`, {
  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/measure/lift-tests/$ID/begin

Record that a lift test has begun (the spend change itself is approved in paid media)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/lift-tests/$ID/begin" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/lift-tests/${id}/begin`, {
  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/measure/lift-tests/$ID/readout

Read a lift test: the lift with its interval and a plain verdict (before its planned end, an interim look); the test's spend is entered by a person

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/lift-tests/$ID/readout" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/lift-tests/${id}/readout`, {
  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/measure/metrics

Every metric with its formula: the built-in ones and your own

curl -s "https://api.scheeleworks.com/v1/mkt/measure/metrics" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/metrics`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/metrics

Define your own metric as a formula over the others (for example conversions / sessions)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/metrics" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/metrics`, {
  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/measure/model-questions

Ask about your mix model in plain words (best return, next unit of spend, moving budget, the best split, how sure it is, what to test); answers are estimates with ranges

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/model-questions" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/model-questions`, {
  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/measure/models

Marketing-mix models fitted for your organization, newest first

curl -s "https://api.scheeleworks.com/v1/mkt/measure/models" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/models`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/models

Fit a marketing-mix model from your spend and results (calibrated by lift tests that were read)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/models" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/models`, {
  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/measure/models/$ID/scenario

Split a daily budget across channels by the model's response curves (a scenario: nothing changes)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/models/$ID/scenario" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/models/${id}/scenario`, {
  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/measure/numbers

Metrics over a period by day, week, channel, campaign or in total, with the query, the sources and any data warnings

curl -s "https://api.scheeleworks.com/v1/mkt/measure/numbers" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/numbers`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/offline-imports

Import offline spend and results (TV, mail, events) from a file's rows; filed only, nothing acts on it

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/offline-imports" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/offline-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/measure/overview

Key results across channels for a period against the one before, with open data alerts and how fresh each source is

curl -s "https://api.scheeleworks.com/v1/mkt/measure/overview" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/overview`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/questions

Ask a question in plain words; get the numbers, the query that produced them and the sources

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/questions" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/questions`, {
  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/measure/readers/$ID/cohorts

Read an analytics account's new people by week, their activation and how many came back, now (aggregates only, filed only)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/readers/$ID/cohorts" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/readers/${id}/cohorts`, {
  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/measure/readers/$ID/options

Choose an analytics account's activation event, the event Mixpanel cohorts start with, the Amplitude charts to read, or PostHog's cloud

curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/measure/readers/$ID/options" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/readers/${id}/options`, {
  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/measure/readers/$ID/refresh

Read a connected analytics account's daily event counts, or a data source's daily figures, now (filed only)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/readers/$ID/refresh" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/readers/${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();

GET /v1/mkt/measure/readers/$ID/retention

Activation and retention by cohort week, as read from an analytics account (groups below the minimum size aren't shown)

curl -s "https://api.scheeleworks.com/v1/mkt/measure/readers/$ID/retention" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/readers/${id}/retention`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/recommendations

Budget recommendations from your mix model (the expected change with its range), newest first

curl -s "https://api.scheeleworks.com/v1/mkt/measure/recommendations" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/recommendations`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/recommendations

Ask the latest mix model for a budget recommendation now (filed in the app; nothing changes)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/recommendations" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/recommendations`, {
  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/measure/report-runs/$ID

One report run with its numbers, as CSV for a spreadsheet or a warehouse, or as slides (PowerPoint)

curl -s "https://api.scheeleworks.com/v1/mkt/measure/report-runs/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/report-runs/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/reports

Saved reports and dashboards

curl -s "https://api.scheeleworks.com/v1/mkt/measure/reports" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/reports`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/reports

Save a report: metrics, grouping, period and an optional weekly or monthly schedule

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/reports" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/reports`, {
  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/measure/reports/$ID/refresh

Produce a report now (kept with its numbers, query and sources; at most 20 a report a day)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/reports/$ID/refresh" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/reports/${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();

GET /v1/mkt/measure/reports/$ID/runs

A report's earlier runs, newest first (at most 50)

curl -s "https://api.scheeleworks.com/v1/mkt/measure/reports/$ID/runs" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/reports/${id}/runs`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/settings

Measurement settings: reporting currency and rates, minimum group size, holdouts, attribution window, naming rules, report notices

curl -s "https://api.scheeleworks.com/v1/mkt/measure/settings" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/settings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/measure/settings

Change measurement settings (owners)

curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/measure/settings" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/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();

GET /v1/mkt/measure/value-model

The predicted-value model from your order history: how it predicts, its back-test, and whether paid media sends it

curl -s "https://api.scheeleworks.com/v1/mkt/measure/value-model" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/value-model`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/measure/voice

Voice-of-customer syntheses: themes with their sentiment and example quotes (names and addresses removed), newest first

curl -s "https://api.scheeleworks.com/v1/mkt/measure/voice" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/voice`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/measure/voice

Synthesize what customers say in reviews, inbox messages and survey answers into themes (confirm the estimate's credits; at most 4 a day)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/voice" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/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/measure/voice/estimate

What a voice-of-customer synthesis would read and cost, before it runs

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/measure/voice/estimate" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/measure/voice/estimate`, {
  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.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.