Journeys App API
Our App API provides ways to trigger messages and retrieve information about people, campaigns, broadcasts, and more.
Overview
The App API provides methods to send newsletters, transactional messages, and API-triggered broadcasts. You can create newsletters from scratch and update transactional messages and API-triggered broadcasts.
For transactional messages and API-triggered broadcasts, your payload acts as a message "trigger" and can contain data that you reference in your messages using liquid—{{trigger.<data>}}.
The other endpoints help you retrieve information about people, segments, campaigns, broadcasts, etc; it also lets you update campaign actions, messages, newsletter variants, etc. Aside from the API-triggered broadcast (1 per 10 seconds) and Transactional (100 per second) endpoints, requests are limited to 10 per second.
Use our Postman collection
We've generated a Postman collection to help you get started with our APIs.
If you fork this collection, you might want to disable the Watch original collection option. We automatically update our Postman collection whenever we release changes to our documentation, even if we don't change our APIs—which happens daily! Rather than being flooded with Postman notifications, you can check out our Release Notes for updates to our APIs.
NOTE: Postman endpoints default to our US APIs. If you're in our European (EU) region, you'll need to add -eu to the server variables (track_api_url and app_api_url).
Server addresses: US and EU
Customer.io hosts services in the United States (US) and European Union. Select the appropriate server address for your region.
| Region | Server Address |
|---|---|
| US | https://api.customer.io |
| EU | https://api-eu.customer.io |
Authentication
All requests to the Customer.io App API use an App API Key.
To authenticate, provide your key as a Bearer token in a HTTP Authorization header. You can create and manage your API keys—including keys with different scopes—in your account settings page. Each operation on this page references the authorization header it requires.
Rate Limits
Most endpoints on this page are limited to 10 requests per second. The exceptions are:
- The transactional email endpoint is limited to 100 requests per second.
- The API-triggered broadcast endpoint is limited to 1 request every 10 seconds.
Rate limits are subject to change. We may adjust these thresholds to ensure stable performance for all customers.