How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Customer.io Newsletter Variants API

A newsletter variant is a translation or an A/B test. You can create, update, or delete variants in newsletters from these endpoints. You can also create a new A/B test group.If your newsletters include assets like images or PDFs, host them in your [workspace's assets](/integrations/api/app/#tag/assets) or at another public URL, and include the URL in your message content.

Customer.io Newsletter Variants API is one of 42 APIs that Customer.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Newsletter Variants. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 13 operations across 7 paths, and defines 5 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.customer.io, https://api-eu.customer.io.

13 operations 7 paths 5 schemas 2 DELETE5 GET3 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://track.customer.io
Authentication
HTTP Bearer, HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 3

Customer.io Newsletter Variants API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (Bearer-Auth). It accepts HTTP bearer tokens (sa_live_) (ServiceAccount-Auth). It accepts HTTP bearer tokens (bearerAuth).

  • Bearer-Auth — The App API uses a bearer authentication scheme. You can generate a bearer token, known as an App API Key, with a defined scope in [your account settings](http…
  • ServiceAccount-Auth — Transactional send endpoints (/v1/send/email, /v1/send/push, /v1/send/sms, /v1/send/inapp, /v1/send/inboxmessage) also accept a service-account bearer token, p…
  • bearerAuth — API key passed as a Bearer token

Paths & Operations 13

Across 7 paths, the API surfaces 13 operations — 2 DELETE, 5 GET, 3 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Newsletter Variants 13

A newsletter variant is a translation or an A/B test. You can create, update, or delete variants in newsletters from these endpoints. You can also create a new A/B test group. If…

GET
/v1/newsletters/{newsletter_id}/contents
List newsletter variants
listNewsletterVariants 1 param → 200404429
GET
/v1/newsletters/{newsletter_id}/contents/{content_id}
Get a newsletter variant
getNewsletterVariant 2 params → 200404429
PUT
/v1/newsletters/{newsletter_id}/contents/{content_id}
Update a newsletter variant
updateNewsletterVariant 2 params body → 200400404429
POST
/v1/newsletters/{newsletter_id}/language
Add a translation to a newsletter
createNewsletterLanguageVariant 1 param body → 200400404422429
GET
/v1/newsletters/{newsletter_id}/language/{language}
Get a newsletter translation
getNewsletterVariantTranslation 2 params → 200400404429
PUT
/v1/newsletters/{newsletter_id}/language/{language}
Update a translation of a newsletter
updateNewsletterVariantTranslation 2 params body → 200400404429
DELETE
/v1/newsletters/{newsletter_id}/language/{language}
Delete a translation of a newsletter
deleteNewsletterLanguageVariant 2 params → 204400404429
GET
/v1/newsletters/{newsletter_id}/test_groups
List a newsletter's A/B test groups
getNewsletterTestGroups 1 param → 200404429
POST
/v1/newsletters/{newsletter_id}/test_groups
Create an A/B test group for a newsletter
createNewsletterTestGroup 1 param body → 200400404429
POST
/v1/newsletters/{newsletter_id}/test_group/{test_group_id}/language
Add a translation to a newsletter test group
createNewsletterTestLanguageVariant 2 params body → 200400404422429
GET
/v1/newsletters/{newsletter_id}/test_group/{test_group_id}/language/{language}
Get a translation in a newsletter test group
getNewsletterVariantTranslationTest 3 params → 200400404429
PUT
/v1/newsletters/{newsletter_id}/test_group/{test_group_id}/language/{language}
Update a translation in a newsletter test group
updateNewsletterTestTranslation 3 params body → 200400404429
DELETE
/v1/newsletters/{newsletter_id}/test_group/{test_group_id}/language/{language}
Delete a translation in a newsletter test group
deleteNewsletterTestLanguageVariant 3 params → 204400404429

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. Each schema is shown below with its type and property counts.

updateEmailContent
Update the contents of an email newsletter variant. You can set the sender with fromid. If you don't provide it, the existing sender is preserved.
updateWebhookContent
Update the contents of a webhook newsletter variant.
updateInboxContent
Update the contents of an inbox message newsletter variant.
updateSmsContent
Update the contents of an SMS newsletter variant.
updatePushContent
Update the contents of a push notification newsletter variant.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

customer-io-newsletter-variants-api-openapi.yml Raw ↑

Other APIs Customer.io publishes across the network.

Customer.io Track API
Customer.io Activities API
Customer.io Alias API
Customer.io Batch API
Customer.io Broadcasts API
Customer.io Campaigns API
Customer.io Collections API
Customer.io Customers API
Customer.io Exports API
Customer.io Group API
Customer.io Identify API
Customer.io Messages API
Where this information came from

This is an independent, third-party profile of Customer.io Newsletter Variants API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.