Customer.io Collections API

Manage collections of data used in message personalization.

Operations 7

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

POST /v1/collections Create a collection · Create a collection #
Ask an LLM
“How do I upload a lookup table of data I can reference in messages?”
“Can I create a collection from a CSV or JSON file at a URL?”
Tell an agent
Create a new collection from this data.
Create a collection that downloads its rows from a URL.
GET /v1/collections List collections · List your collections #
Ask an LLM
“What data collections do I have for use in messages?”
“How do I see the schema of all my collections?”
Tell an agent
List all my collections.
Show every collection with its name and schema.
GET /v1/collections/{collection_id} Get a collection · Lookup a collection #
Ask an LLM
“How do I look up one collection's name and schema?”
“Does looking up a collection return its rows?”
Tell an agent
Get collection {collection_id}.
Show the schema of collection {collection_id}.
DELETE /v1/collections/{collection_id} Delete a collection · Delete a collection #
Ask an LLM
“How do I remove a collection I no longer use?”
“What happens to messages that still reference a deleted collection?”
Tell an agent destructive · confirm first
Delete collection {collection_id}.
Remove collection {collection_id} and all of its contents.
PUT /v1/collections/{collection_id} Rename or replace a collection · Update a collection #
Ask an LLM
“Can I rename a collection?”
“How do I point a collection at a new data URL?”
Tell an agent
Rename collection {collection_id}.
Replace collection {collection_id} with data from a new URL.
GET /v1/collections/{collection_id}/content Get the rows in a collection · Lookup collection contents #
Ask an LLM
“How do I read the actual data rows stored in a collection?”
“Can I download a collection's contents as JSON?”
Tell an agent
Get the contents of collection {collection_id}.
Show me every row in collection {collection_id}.
PUT /v1/collections/{collection_id}/content Replace the rows in a collection · Update the contents of a collection #
Ask an LLM
“How do I overwrite a collection's data without changing its name?”
“Can I push new rows into an existing collection?”
Tell an agent
Replace the contents of collection {collection_id} with these rows.
Overwrite the data rows in collection {collection_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-collections-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-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Customer.io App Collections API
  description: Our App API provides ways to trigger messages and retrieve information about people, campaigns, broadcasts, and more.
servers:
- 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 (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/customer-io/refs/heads/main/openapi/customer-io-collections-api-openapi.yml