---
title: "Get tasks"
method: GET
path: "/card-tasks"
tags: ["Async", "Cards"]
---

# Get tasks

`GET /card-tasks`

View the details of card tasks.  Ordered by createdDate, with the newest entries appearing first

## Query parameters

- `id` string
- `aid` string
- `statuses` 'RECEIVED' | 'RUNNING' | 'COMPLETE' | 'ERROR'
- `types` 'PHYSICAL_CARD_CREATE'
- `page` integer
- `size` integer

## Response `200`

Tasks returned successfully

- CardAsyncTaskPageResponse
  - `content` CardAsyncTaskResponse[], required — List of responses on the current page
    - `taskBid` string, required — ID of async task
    - `resourceUrl` string — Url of available resource after task completion
    - `resourceId` string — ID of resource after task completion. Will only be returned for COMPLETE tasks.
    - `type` string, required — Type of async task
    - `status` string, required — Status of the task
    - `createdDate` string, date-time, required — The creation date of the task
    - `errorReason` string — The error reason. Only populated if status is ERROR
  - `size` integer, required — Page size
  - `totalSize` integer, required — Total count
  - `page` integer, required — Current page number, 0 based; i.e first-page = 0, second-page = 1
  - `totalPages` integer, required — Total pages

## Other responses

- `400` — Invalid request

---

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