---
title: "Get Tasks Metadata"
method: GET
path: "/task/metadata"
---

# Get Tasks Metadata

`GET /task/metadata`

Returns the list of tasks created which contains information such as the title of the task, notes, created date, expiry date, type (customer/associate).

You can also use filters to limit or customize the results. You can also use store/task to retrieve task details.

## Query parameters

- `format` 'xml' | 'json'
- `asoc` boolean
- `action_type` 'sms' | 'email' | 'call' | 'none'
- `created_by` integer
- `created_by_type` 'manager' | 'cashier'
- `execute_by_all` boolean
- `customer_task` boolean
- `start_id` integer
- `end_id` integer
- `start_date` string, date
- `end_date` string, date
- `batch_size` string
- `all` boolean
- `assoc_id` integer
- `customer_id` integer
- `status` 'OPEN' | 'IN_PROGRESS' | 'CLOSED'

## Response `200`

200

- object
  - `response` object
    - `status` object
      - `success` string
      - `code` string
      - `message` string
    - `tasks` object
      - `task` object
        - `id` string
        - `title` string
        - `body` string
        - `start_date` string
        - `end_date` string
        - `expiry_date` string
        - `action` object
          - `comment` string
          - `type` string
          - `template` string
        - `task_type` string
        - `cashier_task` string
        - `comment` string[]
        - `customer_task` string
        - `execute_by_all` string
        - `creator` object
          - `type` string
          - `id` string
        - `possible_statuses` object
          - `status` object[]
            - `label` string
            - `value` string
        - `tags` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
