---
title: "Get a card task"
method: GET
path: "/card-tasks/{taskId}"
tags: ["Async"]
---

# Get a card task

`GET /card-tasks/{taskId}`

Retrieve the card task. If the task is complete, the resource URL will be provided to allow client to fetch the completed resource.

## Path parameters

- `taskId` string, required

## Response `200`

Details returned of the card task. If task is complete, response will include link to resource

- CardAsyncTaskResponse
  - `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

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