Optimizly API v1.0.0

REST API for articles, AI generation jobs, keyword research, brand voices, presets and publishing.

Authentication: create an API key in the dashboard (Settings → API keys) with the growth:read and/or growth:write scope and send it as x-api-key: cnt_live_… or Authorization: Bearer cnt_live_….

Rate limits: per key, per minute (default 120, higher on larger plans). Every response carries X-RateLimit-* and RateLimit-Policy headers; a 429 carries Retry-After.

Async work: generation returns a job; poll GET /v1/jobs/{id} until status is done or failed.

Base URL https://api.optimizly.io · openapi.json (OpenAPI 3.1)

Account

GET /v1/me

Workspace, scopes and rate limit of the calling key growth:read

curl -X GET 'https://api.optimizly.io/v1/me' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

Websites

GET /v1/websites

List websites in the workspace growth:read

Most endpoints need a websiteId; start here.

curl -X GET 'https://api.optimizly.io/v1/websites' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

Articles

GET /v1/articles

List articles of a website growth:read

ParameterInTypeDescription
websiteId requiredquerystringWebsite id, scoped to the caller's workspace
typequerystring
statusquerystring
searchquerystring
limitquerynumber
curl -X GET 'https://api.optimizly.io/v1/articles' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/articles

Create an article (optionally start AI generation) growth:write

With generate: true the response contains a job; poll GET /v1/jobs/{id} until status is done or failed.

Request body

FieldTypeDescription
websiteId requiredstringWebsite id, scoped to the caller's workspace
type"blog" | "news" | "landing" | "social" | "email" | "gbp"
fromKeywordstring
titlestring
bodystring
keywordsstring[]
generateboolean
articleType"standard" | "listicle" | "how-to" | "review" | "comparison" | "product-roundup" | "local-business"
productUrlsstring[]
localBusinessobject
brandVoiceIdstring | null
presetIdstring
curl -X POST 'https://api.optimizly.io/v1/articles' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/articles/{id}

Get one article growth:read

ParameterInTypeDescription
id requiredpathstring
curl -X GET 'https://api.optimizly.io/v1/articles/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

PATCH /v1/articles/{id}

Update title, body, status, schedule or images growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
titlestring
bodystring
statusstring
scheduledAtstring
featuredImagestring
ogImagestring
rehostMediabooleanCopy externally hosted images (body, featured and OG image) into the media library and point the item at those copies
curl -X PATCH 'https://api.optimizly.io/v1/articles/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

Jobs

POST /v1/articles/{id}/generate

Run the AI generation pipeline for an article growth:write

Asynchronous. Returns 202 with a job; poll GET /v1/jobs/{id}.

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
steps"serp" | "brief" | "draft" | "quality" | "links" | "meta" | "geo" | "image" | "seogeo"[]
withImageboolean
curl -X POST 'https://api.optimizly.io/v1/articles/{id}/generate' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/jobs

List recent background jobs growth:read

ParameterInTypeDescription
websiteIdquerystring
statusquery"queued" | "running" | "done" | "failed"
limitqueryinteger
curl -X GET 'https://api.optimizly.io/v1/jobs' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/jobs/{id}

Poll the status of a background job growth:read

status is queued, running, done or failed; progress is 0-100. Poll every few seconds; the response carries Retry-After while the job is still running.

ParameterInTypeDescription
id requiredpathstring
curl -X GET 'https://api.optimizly.io/v1/jobs/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

Keywords

POST /v1/keywords/research

Keyword research for a seed keyword growth:write

Uses the monthly keyword quota of the workspace for a fresh (uncached) seed, so it needs the write scope.

Request body

FieldTypeDescription
websiteId requiredstringWebsite id, scoped to the caller's workspace
seed requiredstring
modes"ideas" | "suggestions" | "related"[]
minVolumenumber
maxDifficultynumber
intents"informational" | "navigational" | "commercial" | "transactional"[]
questionsOnlyboolean
sort"volume" | "difficulty" | "cpc" | "opportunity" | "keyword"
limitnumber
saveToListstring
geoQuestionsnumber
addToGeoboolean
refreshboolean
curl -X POST 'https://api.optimizly.io/v1/keywords/research' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

Brand voices

GET /v1/brand-voices

List brand voices growth:read

ParameterInTypeDescription
websiteIdquerystring
curl -X GET 'https://api.optimizly.io/v1/brand-voices' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/brand-voices

Create a brand voice growth:write

Request body

FieldTypeDescription
name requiredstring
descriptionstring | null
tonestring | null
guidelinesstring
samplesstring[]
knowledgestring
isDefaultboolean
websiteIdstring | null
curl -X POST 'https://api.optimizly.io/v1/brand-voices' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

PATCH /v1/brand-voices/{id}

Update a brand voice growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
name requiredstring
descriptionstring | null
tonestring | null
guidelinesstring
samplesstring[]
knowledgestring
isDefaultboolean
websiteIdstring | null
curl -X PATCH 'https://api.optimizly.io/v1/brand-voices/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

Presets

GET /v1/presets

List content presets of a website growth:read

ParameterInTypeDescription
websiteId requiredquerystringWebsite id, scoped to the caller's workspace
curl -X GET 'https://api.optimizly.io/v1/presets' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/presets

Create a content preset growth:write

Request body

FieldTypeDescription
websiteId requiredstringWebsite id, scoped to the caller's workspace
name requiredstring
brandVoiceIdstring | null
languagestring | null
articleType"blog" | "news" | "landing"
publishingTargetIdstring | null
includeNativeboolean
isDefaultboolean
curl -X POST 'https://api.optimizly.io/v1/presets' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

PATCH /v1/presets/{id}

Update a content preset growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
websiteId requiredstringWebsite id, scoped to the caller's workspace
name requiredstring
brandVoiceIdstring | null
languagestring | null
articleType"blog" | "news" | "landing"
publishingTargetIdstring | null
includeNativeboolean
isDefaultboolean
curl -X PATCH 'https://api.optimizly.io/v1/presets/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

Publishing

POST /v1/articles/{id}/publish

Publish an article to the native API and/or CMS targets growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
targets requiredobject[]
curl -X POST 'https://api.optimizly.io/v1/articles/{id}/publish' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/publishing-targets

List CMS publishing targets of a website growth:read

ParameterInTypeDescription
websiteId requiredquerystring
curl -X GET 'https://api.optimizly.io/v1/publishing-targets' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/instagram/trial-reels

Instagram trial reels of a day with the daily quota growth:read

ParameterInTypeDescription
socialAccountIdquerystring
dayquerystring
curl -X GET 'https://api.optimizly.io/v1/instagram/trial-reels' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/instagram/trial-reels

Publish or schedule an Instagram trial reel (non-followers only) growth:write

Request body

FieldTypeDescription
socialAccountId requiredstringInstagram account id from publisher_list_accounts
videoUrlstring
mediaIdstring
caption requiredstringFirst line = the hook that instagram_trial_reels_learnings ranks
graduationStrategy"MANUAL" | "SS_PERFORMANCE"
scheduledAtstring
timezonestring
confirm requiredanyPosts publicly to a real account
curl -X POST 'https://api.optimizly.io/v1/instagram/trial-reels' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/instagram/trial-reels/learnings

Rank recent trial reels by skip rate, watch time and engagement growth:read

ParameterInTypeDescription
socialAccountId requiredquerystring
daysquerynumber
limitquerynumber
curl -X GET 'https://api.optimizly.io/v1/instagram/trial-reels/learnings' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

Webhooks

GET /v1/webhooks

List outgoing webhooks of a website growth:read

ParameterInTypeDescription
websiteId requiredquerystring
curl -X GET 'https://api.optimizly.io/v1/webhooks' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/webhooks

Subscribe a URL to article.published / article.updated / article.deleted growth:write

Returns the signing secret once. Each delivery is a JSON POST with X-Optimizly-Signature: t=<unix ms>,v1=<hex HMAC-SHA256(secret, "<t>.<raw body>")>; non-2xx responses are retried after 30s, 2m, 10m, 1h and 6h.

Request body

FieldTypeDescription
websiteId requiredstring
url requiredstring
events"article.published" | "article.updated" | "article.deleted" | "email.opened" | "email.clicked" | "email.bounced" | "email.complained" | "email.unsubscribed" | "email.conversion"[]
descriptionstring
curl -X POST 'https://api.optimizly.io/v1/webhooks' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

PATCH /v1/webhooks/{id}

Update url, events or active flag, or rotate the secret growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
urlstring
events"article.published" | "article.updated" | "article.deleted" | "email.opened" | "email.clicked" | "email.bounced" | "email.complained" | "email.unsubscribed" | "email.conversion"[]
activeboolean
descriptionstring | null
rotateSecretboolean
curl -X PATCH 'https://api.optimizly.io/v1/webhooks/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

DELETE /v1/webhooks/{id}

Delete a webhook growth:write

ParameterInTypeDescription
id requiredpathstring
curl -X DELETE 'https://api.optimizly.io/v1/webhooks/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/webhooks/{id}/test

Send a signed ping and return the receiver's status growth:write

ParameterInTypeDescription
id requiredpathstring
curl -X POST 'https://api.optimizly.io/v1/webhooks/{id}/test' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/webhooks/{id}/deliveries

Delivery log (status, attempts, response) of a webhook growth:read

ParameterInTypeDescription
id requiredpathstring
statusquery"pending" | "success" | "failed"
limitquerynumber
curl -X GET 'https://api.optimizly.io/v1/webhooks/{id}/deliveries' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

Email

GET /v1/email/shortcodes

The email shortcode register (codes, examples, attributes, required context) growth:read

ParameterInTypeDescription
groupquery"contact" | "sender" | "links" | "date" | "logic" | "products" | "cart" | "order"
curl -X GET 'https://api.optimizly.io/v1/email/shortcodes' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/email/templates/import

Import email HTML byte-for-byte as a template (safety checks + shortcode validation + preview) growth:write

Request body

FieldTypeDescription
templateIdstring
name requiredstring
subject requiredstring
html requiredstring
localestring
rehostImagesboolean
contactIdstring
useTestProductsboolean
includeCartboolean
includeHtmlboolean
curl -X POST 'https://api.optimizly.io/v1/email/templates/import' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

POST /v1/email/templates/preview

Render a template or raw HTML for a contact or test contact growth:read

Request body

FieldTypeDescription
templateIdstring
campaignIdstring
subjectstring
htmlstring
contactIdstring
useTestProductsboolean
includeCartboolean
includeHtmlboolean
curl -X POST 'https://api.optimizly.io/v1/email/templates/preview' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

POST /v1/email/test-send

Send a [TEST] version to a workspace member growth:write

Request body

FieldTypeDescription
to requiredstring
templateIdstring
campaignIdstring
subjectstring
htmlstring
contactIdstring
useTestProductsboolean
trackedboolean
curl -X POST 'https://api.optimizly.io/v1/email/test-send' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

POST /v1/email/campaigns

Create a campaign from a template (draft unless confirmSend + expectedRecipients) growth:write

Request body

FieldTypeDescription
name requiredstring
templateIdstring
bodyHtmlstring
subjectstring
subjectBstring
preheaderstring
segmentId requiredstring
sendAtstring
confirmSendboolean
expectedRecipientsnumber
curl -X POST 'https://api.optimizly.io/v1/email/campaigns' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/email/stats

Tracking stats for a campaign or sequence (real vs machine opens, clicks, bounces, revenue) growth:read

ParameterInTypeDescription
campaignIdquerystring
sequenceIdquerystring
stepIdquerystring
variantIdquerystring
daysquerynumber
curl -X GET 'https://api.optimizly.io/v1/email/stats' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/email/links

Per-link clicks with link id, position, type and attributed revenue growth:read

ParameterInTypeDescription
campaignIdquerystring
sequenceIdquerystring
stepIdquerystring
variantIdquerystring
curl -X GET 'https://api.optimizly.io/v1/email/links' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/email/revenue

Revenue attributed to email clicks, grouped per campaign/sequence/step/variant/link/day growth:read

ParameterInTypeDescription
daysquerynumber
fromquerystring
toquerystring
groupByquery"campaign" | "sequence" | "step" | "variant" | "link" | "day"
curl -X GET 'https://api.optimizly.io/v1/email/revenue' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/email/contacts/{contactId}/activity

Timeline of mails, opens, clicks, bounces and orders for one contact growth:read

ParameterInTypeDescription
contactId requiredpathstring
limitquerynumber
curl -X GET 'https://api.optimizly.io/v1/email/contacts/{contactId}/activity' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

Sequences

POST /v1/sequences

Create a full sequence (steps, waits, branches, stop rules, send window) as a draft growth:write

Request body

FieldTypeDescription
name requiredstring
descriptionstring
trigger requiredobject
steps requiredany[]
stopOn"reply" | "purchase"[]
onReplyany[]Steps that run when the contact replies to a mail of this sequence (detected by the inbox sync). The regular steps stop at that moment and these start right away, e.g. [{type:"email", key:"deck", subject:"Re: …", bodyHtml:"…{{pitchDeck id="<deckId>"}}…"}]. Keys must differ from the regular steps; next/yes/no can only point to other reply steps or "end".
sendWindowobject
timezonestring
allowReentryboolean
includePreviewHtmlboolean
curl -X POST 'https://api.optimizly.io/v1/sequences' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

POST /v1/sequences/{id}/activate

Activate (confirm: true) or pause a sequence growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
activeboolean
confirmboolean
curl -X POST 'https://api.optimizly.io/v1/sequences/{id}/activate' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

POST /v1/sequences/{id}/trigger

Start a sequence for one contact, optionally with cart/order data growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
contactIdstring
emailstring
cartobject
orderobject
dryRunboolean
curl -X POST 'https://api.optimizly.io/v1/sequences/{id}/trigger' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

Products

GET /v1/products

List products (filter by query via /v1/products/search) growth:read

ParameterInTypeDescription
websiteIdquerystring
categoryquerystring
inStockOnlyqueryboolean
emailEnabledOnlyqueryboolean
limitquerynumber
offsetquerynumber
curl -X GET 'https://api.optimizly.io/v1/products' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/products

Create or update products by hand (keyed on externalId) growth:write

Request body

FieldTypeDescription
products requiredobject[]
curl -X POST 'https://api.optimizly.io/v1/products' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/products/search

Search products by name, SKU, shop id, category or tag growth:read

ParameterInTypeDescription
query requiredquerystring
websiteIdquerystring
categoryquerystring
inStockOnlyqueryboolean
emailEnabledOnlyqueryboolean
limitquerynumber
offsetquerynumber
curl -X GET 'https://api.optimizly.io/v1/products/search' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/products/{id}

Get one product by id, SKU or shop id growth:read

ParameterInTypeDescription
id requiredpathstring
curl -X GET 'https://api.optimizly.io/v1/products/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/product-collections

List product collections growth:read

curl -X GET 'https://api.optimizly.io/v1/product-collections' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/product-collections

Create a product collection growth:write

Request body

FieldTypeDescription
name requiredstring
slugstring
kind"manual" | "category" | "bestsellers" | "new" | "sale"
ruleobject
descriptionstring
websiteIdstring
productsstring[]
curl -X POST 'https://api.optimizly.io/v1/product-collections' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/product-collections/{id}

Get a collection with its products growth:read

ParameterInTypeDescription
id requiredpathstring
curl -X GET 'https://api.optimizly.io/v1/product-collections/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

PATCH /v1/product-collections/{id}

Update a collection (products replaces the list) growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
namestring
slugstring
kind"manual" | "category" | "bestsellers" | "new" | "sale"
ruleobject
descriptionstring
websiteIdstring
productsstring[]
curl -X PATCH 'https://api.optimizly.io/v1/product-collections/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

DELETE /v1/product-collections/{id}

Delete a collection growth:write

ParameterInTypeDescription
id requiredpathstring
curl -X DELETE 'https://api.optimizly.io/v1/product-collections/{id}' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/email/templates/{id}/products

Add a product block (ids, skus, collection or dynamic) to an email template growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
position"end" | "start"
allowImportedboolean
dryRunboolean
idsstring[]
skusstring[]
collectionstring
dynamic"bestsellers" | "new" | "sale" | "recommended" | "recently_viewed"
layout"grid-2" | "grid-3" | "list"
limitnumber
buttonstring
utmCampaignstring
curl -X POST 'https://api.optimizly.io/v1/email/templates/{id}/products' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

POST /v1/sequences/{id}/product-steps

Append an email step with a product block to a sequence/flow growth:write

ParameterInTypeDescription
id requiredpathstring

Request body

FieldTypeDescription
subject requiredstring
introHtmlstring
delayHoursnumber
afterNodeIdstring
labelstring
dryRunboolean
idsstring[]
skusstring[]
collectionstring
dynamic"bestsellers" | "new" | "sale" | "recommended" | "recently_viewed"
layout"grid-2" | "grid-3" | "list"
limitnumber
buttonstring
utmCampaignstring
curl -X POST 'https://api.optimizly.io/v1/sequences/{id}/product-steps' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/woocommerce/status

Connected WooCommerce shops and their sync status growth:read

curl -X GET 'https://api.optimizly.io/v1/woocommerce/status' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

POST /v1/woocommerce/resync

Request a full product sync from connected shops growth:write

Request body

FieldTypeDescription
connectionIdstring
curl -X POST 'https://api.optimizly.io/v1/woocommerce/resync' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

GET /v1/shop/events

Recent e-commerce events with email attribution growth:read

ParameterInTypeDescription
typequerystring
emailquerystring
limitquerynumber
curl -X GET 'https://api.optimizly.io/v1/shop/events' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

GET /v1/shop/attribution

Shop revenue attributed to emails (oz_cid) growth:read

ParameterInTypeDescription
daysquerynumber
curl -X GET 'https://api.optimizly.io/v1/shop/attribution' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY'

Contacts

POST /v1/contacts/upsert

Create or update one contact by email (consent required), dedupe per workspace growth:write

Request body

FieldTypeDescription
email requiredstring
namestring
firstNamestring
lastNamestring
phonestring
companystring
sourcestring
websiteIdstring
productstring
tagsstring[]
consent requiredobject
overwriteboolean
curl -X POST 'https://api.optimizly.io/v1/contacts/upsert' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'

POST /v1/contacts/delete

Delete one contact by email (confirm: true) and stop its sequence runs growth:write

Request body

FieldTypeDescription
email requiredstring
confirmboolean
curl -X POST 'https://api.optimizly.io/v1/contacts/delete' \
  -H 'x-api-key: $OPTIMIZLY_API_KEY' \
  -H 'content-type: application/json' \
  -d '{…}'