Customer.io Emails API

Create and manage the emails you build in Design Studio, along with their translations and versions. - **Emails** hold the content, envelope details, and transformers for the default language. - **Translations** are language variants of an email. Each one has its own content and envelope. - **Versions** are named checkpoints of an email's content. Design Studio saves one automatically every time you publish, and you can save, inspect, restore, or delete them yourself. Learn more about the [best practices](/integrations/api/design-studio/integrate/) for sending HTML through these endpoints.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Email AE-150.10

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/design_studio/emails List emails and folders in Design Studio · List emails #
Ask an LLM
“Which emails and folders are in my Design Studio?”
“Can I list only the emails in a particular folder?”
Tell an agent
List my emails.
List emails in folder {parent_folder_id}.
POST /v1/design_studio/emails Create an email · Create an email #
Ask an LLM
“How do I create a new email in Design Studio?”
“Can I create an email without filling in the from and to addresses yet?”
Tell an agent
Create an email named {name}.
Create email {name} in folder {parent_folder_id} with content {content}.
GET /v1/design_studio/emails/{id} Get an email's content and envelope · Get an email #
Ask an LLM
“What content and envelope does a Design Studio email have?”
“Can I read one email by its ID?”
Tell an agent
Get email {id}.
Show the content and envelope of email {id}.
PUT /v1/design_studio/emails/{id} Update an email's name, folder or content · Update an email #
Ask an LLM
“How do I rename an email or move it to another folder?”
“Can I change an email's content without publishing it?”
Tell an agent
Rename email {id} to {name}.
Move email {id} to folder {parent_folder_id}.
DELETE /v1/design_studio/emails/{id} Delete an email · Delete an email #
Ask an LLM
“Can I delete an email that's linked to a workflow?”
“What happens to an email's translations when I delete it?”
Tell an agent destructive · confirm first
Delete email {id}.
Remove the email {id} and all its translations.
GET /v1/design_studio/emails/{id}/languages List an email's language translations · List email translations #
Ask an LLM
“What language translations exist for an email?”
“Can I see all translated versions of one email?”
Tell an agent
List translations of email {id}.
Show every language version of email {id}.
POST /v1/design_studio/emails/{id}/languages Translate an email into another language · Create an email translation #
Ask an LLM
“How do I add a Spanish translation of an email?”
“Can a new translation copy the default email's content and envelope?”
Tell an agent
Translate email {id} into {language}.
Add a {language} translation of email {id} with content {content}.
GET /v1/design_studio/emails/{id}/languages/{language} Get one language translation of an email · Get an email translation #
Ask an LLM
“What does a specific language translation of an email contain?”
“Can I read one translated email by language code?”
Tell an agent
Get the {language} translation of email {id}.
Show email {id} in {language}.
PUT /v1/design_studio/emails/{id}/languages/{language} Update a language translation of an email · Update an email translation #
Ask an LLM
“How do I change the content of an email's translation?”
“Can I edit one language version of an email without republishing?”
Tell an agent
Update the {language} translation of email {id} with content {content}.
Change the envelope of email {id} in {language} to {envelope}.
DELETE /v1/design_studio/emails/{id}/languages/{language} Delete one language translation of an email · Delete an email translation #
Ask an LLM
“Can I remove just the French translation of an email?”
“What happens to the other languages when I delete one translation?”
Tell an agent destructive · confirm first
Delete the {language} translation of email {id}.
Remove only email {id} in {language}.
GET /v1/design_studio/emails/{id}/versions List an email's saved versions · List email versions #
Ask an LLM
“What saved versions of an email exist?”
“Can I list an email's versions created in a date range?”
Tell an agent
List saved versions of email {id}.
Show versions of email {id} created between {start_date} and {end_date}.
POST /v1/design_studio/emails/{id}/versions Save a named version of an email · Save an email version #
Ask an LLM
“How do I save a named version of an email?”
“Does saving a duplicate version overwrite the most recent one?”
Tell an agent
Save a version named {name} of email {id}.
Save version {name} of email {id} described as {description}.
GET /v1/design_studio/emails/{id}/versions/{version_id} Get a saved email version · Get an email version #
Ask an LLM
“What did an email look like in a saved version?”
“Can I see the code of a version's custom components?”
Tell an agent
Get version {version_id} of email {id}.
Show the content and component code of email {id} version {version_id}.
DELETE /v1/design_studio/emails/{id}/versions/{version_id} Delete an email version · Delete an email version #
Ask an LLM
“Can I delete a version Design Studio saved automatically during a publish?”
“How do I remove an old email version?”
Tell an agent destructive · confirm first
Delete version {version_id} of email {id}.
Remove the old {version_id} version from email {id}.
POST /v1/design_studio/emails/{id}/versions/{version_id}/restore Restore an email to a saved version · Restore an email version #
Ask an LLM
“How do I roll an email back to a saved version?”
“Does restoring a version update the linked workflow automatically?”
Tell an agent
Restore email {id} to version {version_id}.
Roll back email {id} to the content of version {version_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/customer-io:customer-io-emails-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

customer-io-emails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Customer.io Journeys API Reference Emails API
  description: Customer.io provides REST APIs to send real-time customer data, retrieve data from your account, and trigger messages.
servers:
- url: https://track.customer.io
  description: The base URL for the Track API. Track endpoints use basic authentication with your Site ID as the user name and your secret key as the password.
- url: https://track-eu.customer.io
  description: The base URL for the Track API (EU region). Track endpoints use basic authentication with your Site ID as the user name and your secret key as the password.
- url: https://api.customer.io
  description: The base URL for broadcasts, transactional messages, and data-retrieval APIs. These endpoints use bearer authorization, and require a [token that you generate in the UI](https://fly.customer.io/settings/api_credentials?keyType=app).
- url: https://api-eu.customer.io
  description: The base URL for broadcasts, transactional messages, and data-retrieval APIs (EU region). These endpoints use bearer authorization, and require a [token that you generate in the UI](https://fly.customer.io/settings/api_credentials?keyType=app).
tags:


# --- truncated at 32 KB (67 KB total) ---
# Full source: https://artifacts.apis.io/customer-io/openapi/customer-io-emails-api-openapi.yml