---
title: "Create a download resource"
method: POST
path: "/v0/catalogs/download"
tags: ["Catalog"]
---

# Create a download resource

`POST /v0/catalogs/download`

Create a download resource which will get populated with a signed url async. Only one of orderitem or catalog id should be populated in a single request.

## Request body

- ClerkDownloadRequest
  - `catalog_ids` string[], required — do not supply order_item_ids if this field is used
  - `order_item_ids` string[], required — do not supply catalog_ids if this field is used

## Response `201`

Created

- ClerkDownloadResponse
  - `id` string
  - `signed_url` string
  - `status` 'success' | 'created' | 'failed' | 'in_progress'

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `500` — Internal Server Error

---

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