App API
Collections
Collections are sets of data that you want to use in automation messages or workflows, separate from people's attributes or events. A collection might hold upcoming concerts, coupons, or available classes. Give a collection a key field to add, update, or delete individual rows without replacing the whole collection, and a delete field so that Customer.io removes rows that your data marks as deleted.
Endpoints
- GET List your collections
/v1/collections - POST Create a collection
/v1/collections - GET Lookup a collection
/v1/collections/{collection_id} - PUT Update a collection
/v1/collections/{collection_id} - DELETE Delete a collection
/v1/collections/{collection_id} - GET Lookup collection contents
/v1/collections/{collection_id}/content - PUT Update the contents of a collection
/v1/collections/{collection_id}/content - POST Write to a collection
/v1/collections/{collection_id}/writes - GET Look up a collection write
/v1/collections/{collection_id}/writes/{write_id} - GET Look up a collection's sync
/v1/collections/{collection_id}/sync - PUT Sync a collection from a source
/v1/collections/{collection_id}/sync - DELETE Stop a collection's sync
/v1/collections/{collection_id}/sync - POST Check a sync's folder now
/v1/collections/{collection_id}/sync/poll - GET List rejected sync rows
/v1/collections/{collection_id}/sync/rejects - GET List collection sources
/v1/collections/sources - POST Connect a collection source
/v1/collections/sources - GET Look up a collection source
/v1/collections/sources/{source_id} - DELETE Delete a collection source
/v1/collections/sources/{source_id} - POST Check a collection source
/v1/collections/sources/{source_id}/check