Customer.io Automations API

An automation, sometimes referred to as a campaign, is a workflow that people in your audience trigger and traverse. The items that happen within the workflow—messages, attribute changes, webhooks, etc that your audience triggers—are called actions. These endpoints return information about automations including metrics and the actions included in automations. You can update individual automation actions from these endpoints, but you must perform all other create, update, and/or delete operations through the UI.

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
Digital Marketing Management BC-400.60

Operations 13

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/campaigns List my automations · List automations #
Ask an LLM
“Which automations are set up in my account?”
“Can I see all my journeys and their metadata?”
Tell an agent
List all my automations.
Show every journey in my account with its metadata.
GET /v1/campaigns/{campaign_id} Get an automation · Get an automation #
Ask an LLM
“What metadata is stored for one automation?”
“Can I look up a journey by its ID?”
Tell an agent
Get automation {campaign_id}.
Show the metadata for journey {campaign_id}.
GET /v1/campaigns/{campaign_id}/metrics Get an automation's overall metrics · Get automation metrics #
Ask an LLM
“How many people triggered my automation overall?”
“Can I get cumulative totals for an automation's journey metrics?”
Tell an agent
Get the overall metrics for automation {campaign_id}.
Show cumulative totals for journey {campaign_id}.
GET /v1/campaigns/{campaign_id}/metrics/links Get link click metrics for an automation · Get automation link metrics #
Ask an LLM
“How many times were links in my automation clicked?”
“Can I see unique link clicks for an automation?”
Tell an agent
Get link click metrics for automation {campaign_id}.
Show {unique} unique link clicks for journey {campaign_id}.
GET /v1/campaigns/{campaign_id}/actions List the actions in an automation · List automation actions #
Ask an LLM
“What actions make up my automation workflow?”
“Can I page through an automation's tiles?”
Tell an agent
List the actions in automation {campaign_id}.
Show the next page of actions for journey {campaign_id} starting at {start}.
GET /v1/campaigns/{campaign_id}/messages Get deliveries from an automation · Get automation message metadata #
Ask an LLM
“Which people received messages from my automation?”
“Can I filter an automation's deliveries by time range?”
Tell an agent
Get deliveries from automation {campaign_id}.
Show {limit} deliveries from journey {campaign_id} between {start_ts} and {end_ts}.
GET /v1/campaigns/{campaign_id}/actions/{action_id} Get one action in an automation · Get an automation action #
Ask an LLM
“What does a specific action in my automation contain?”
“Can I look up a single tile in a journey?”
Tell an agent
Get action {action_id} in automation {campaign_id}.
Show the details of tile {action_id} in journey {campaign_id}.
PUT /v1/campaigns/{campaign_id}/actions/{action_id} Update an action in an automation · Update an automation action #
Ask an LLM
“How do I change the message body in an automation action?”
“Can I edit an HTTP request action in a journey?”
Tell an agent
Update action {action_id} in automation {campaign_id}.
Change the message body of tile {action_id} in journey {campaign_id}.
GET /v1/campaigns/{campaign_id}/actions/{action_id}/language/{language} Get a translated message in an automation · Get a translation of an automation message #
Ask an LLM
“What does a translated message in my automation say?”
“Can I fetch one language variant of an automation action?”
Tell an agent
Get the {language} translation of action {action_id} in automation {campaign_id}.
Show the French version of tile {action_id} in journey {campaign_id}.
PUT /v1/campaigns/{campaign_id}/actions/{action_id}/language/{language} Update a translated message in an automation · Update a translation of an automation message #
Ask an LLM
“How do I change the text of a translated message in an automation?”
“Can I edit a language variant of an automation action?”
Tell an agent
Update the {language} translation of action {action_id} in automation {campaign_id}.
Edit the German version of tile {action_id} in journey {campaign_id}.
GET /v1/campaigns/{campaign_id}/actions/{action_id}/metrics Get metrics for an action in an automation · Get automation action metrics #
Ask an LLM
“How many people received a specific action in my automation?”
“Can I get per-action metrics for a journey?”
Tell an agent
Get metrics for action {action_id} in automation {campaign_id}.
Show cumulative totals for tile {action_id} in journey {campaign_id}.
GET /v1/campaigns/{campaign_id}/journey_metrics Get journey metrics for an automation · Get automation journey metrics #
Ask an LLM
“How many people triggered my automation each day?”
“Can I get journey metrics for a specific date range?”
Tell an agent
Get journey metrics for automation {campaign_id} from {start} to {end} at {resolution}.
Show daily journey totals for journey {campaign_id} between {start} and {end}.

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-automations-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-automations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Customer.io Journeys API Reference Automations 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 (105 KB total) ---
# Full source: https://artifacts.apis.io/customer-io/openapi/customer-io-automations-api-openapi.yml