v1.0.0
OpenAPI 3.1.0
Lookup a collection
Client Libraries
US region
Retrieves details about a collection, including the schema and name. This request does not include the content of the collection (the values associated with keys in the schema).
The identifier for a collection.
The collection id does not exist.
Your request is over the 10-per-second limit.
curl https://api.customer.io/v1/collections/1 \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"collection": {
"bytes": 296,
"created_at": 1552341937,
"updated_at": 1552341937,
"id": 1,
"name": "upcoming events",
"rows": 2,
"schema": [
"eventDate",
"eventName",
"presents"
]
}
}Returns metadata about your collection.