Collections

Lookup a collection

Changed on

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).

get/v1/collections/{collection_id}

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/collections/{collection_id}
  • Auth
    HTTP bearer

Response

Returns metadata about your collection.

Example response

{
  "collection": {
    "bytes": 296,
    "created_at": 1552341937,
    "updated_at": 1552341937,
    "id": 1,
    "name": "upcoming events",
    "rows": 2,
    "schema": [
      "eventDate",
      "eventName",
      "presents"
    ]
  }
}

Changes