Customer.io Email testing API

Check an email before you publish or send it. - [Render](/integrations/api/design-studio/tag/email-testing/renderEmail/) returns the compiled HTML with liquid left intact. - [Preview](/integrations/api/design-studio/tag/email-testing/previewEmail/) evaluates liquid against a real profile or sample data. - [Review](/integrations/api/design-studio/tag/email-testing/reviewEmail/) reports issues that could stop the email from sending or breach compliance standards. - [Test send](/integrations/api/design-studio/tag/email-testing/testSendEmail/) delivers the email to addresses you choose. - **Inbox previews** render the email in real email clients. [Submit a job](/integrations/api/design-studio/tag/email-testing/submitInboxPreview/), poll it, then fetch each capture. Inbox previews use credits; check your balance and the available clients with the account-level endpoints in this section.

Operations 10

GET /v1/design_studio/emails/{id}/render Render an email #
POST /v1/design_studio/emails/{id}/preview Preview an email #
POST /v1/design_studio/emails/{id}/test_send Send a test email #
GET /v1/design_studio/emails/{id}/review Review an email #
GET /v1/design_studio/inbox_previews/clients List inbox preview options #
GET /v1/design_studio/inbox_previews/credits Get preview credit balance #
POST /v1/design_studio/emails/{id}/inbox_previews Send for inbox previews #
GET /v1/design_studio/emails/{id}/inbox_previews/{run_id} Get an inbox preview job #
GET /v1/design_studio/emails/{id}/inbox_previews/{run_id}/captures/{client_id} Get a preview screenshot #
GET /v1/design_studio/inbox_previews/jobs List inbox preview history #

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-email-testing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

customer-io-email-testing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Customer.io Journeys API Reference Email testing 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 (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/customer-io/refs/heads/main/openapi/customer-io-email-testing-api-openapi.yml