---
title: "List Collections"
method: GET
path: "/issue-tracking/collections"
tags: ["Collections"]
---

# List Collections

`GET /issue-tracking/collections`

List Collections

## Query parameters

- `raw` boolean
- `cursor` string, nullable
- `limit` integer
- `sort` CollectionsSort
  - `by` 'name' | 'created_at' | 'updated_at' — The field on which to sort the Collections
  - `direction` 'asc' | 'desc' — The direction in which to sort the results
- `pass_through` PassThroughQuery
  - `example_downstream_property` string — All passthrough query parameters are passed along to the connector as is (?pass_through[search]=leads becomes ?search=leads)
- `fields` string, nullable

## Headers

- `x-apideck-consumer-id` string, required
- `x-apideck-app-id` string, required
- `x-apideck-service-id` string

## Response `200`

List Collections

- GetCollectionsResponse
  - `status_code` integer, required — HTTP Response Status Code
  - `status` string, required — HTTP Response Status
  - `service` string, required — Apideck ID of service provider
  - `resource` string, required — Unified API resource name
  - `operation` string, required — Operation performed
  - `data` Collection[], required
    - `id` string, required — A unique identifier for an object.
    - `parent_id` string, nullable — The collections's parent ID
    - `type` string, nullable — The collections's type
    - `name` string, nullable — Name of the collection
    - `description` string, nullable — Description of the collection
    - `custom_mappings` CustomMappings, nullable — When custom mappings are configured on the resource, the result is included here.
    - `updated_at` string, date-time, nullable — The date and time when the object was last updated.
    - `created_at` string, date-time, nullable — The date and time when the object was created.
  - `meta` Meta — Response metadata
    - `items_on_page` integer — Number of items returned in the data property of the response
    - `cursors` object — Cursors to navigate to previous or next pages through the API
      - `previous` string, nullable — Cursor to navigate to the previous page of results through the API
      - `current` string, nullable — Cursor to navigate to the current page of results through the API
      - `next` string, nullable — Cursor to navigate to the next page of results through the API
    - `total_count` integer — Number of records available in total for this resource
    - `warnings` object[], nullable — Non-fatal warnings emitted when optional workflow steps failed. Present only when at least one step degraded; the response status remains 200.
      - `type` string — Discriminator for the warning kind.
      - `status_code` integer, nullable — HTTP status code returned by the failed downstream request, when available.
      - `error` string, nullable — Short error description from the downstream provider, when available.
      - `operation` string, nullable — Identifier of the workflow step that failed.
      - `message` string, nullable — Detailed message from the downstream provider, when available.
  - `links` Links — Links to navigate to previous or next pages through the API
    - `previous` string, nullable — Link to navigate to the previous page through the API
    - `current` string — Link to navigate to the current page through the API
    - `next` string, nullable — Link to navigate to the previous page through the API
  - `_raw` Raw, nullable — Raw response from the integration when raw=true query param is provided

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `404` — The specified resource was not found
- `422` — Unprocessable
- `default` — Unexpected error

---

[API](https://skmtc.dev/apideck-libraries/apis/issue-tracking-api.md) · [All operations](https://skmtc.dev/apideck-libraries/apis/issue-tracking-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apideck-libraries/issue-tracking-api/revisions/edba0de8b733/schema)
