---
title: "POST /api/styles/{id}/style-documents/download"
method: POST
path: "/api/styles/{id}/style-documents/download"
tags: ["Styles/Documents"]
---

# POST /api/styles/{id}/style-documents/download

`POST /api/styles/{id}/style-documents/download`

Bundles a selection of style documents (by fileId) into a single ZIP archive and returns a signed download URL. Scoped to the caller's company; ids that do not belong to this style or company are rejected all-or-nothing with a 404 and details.fileIds listing the offending ids. A non-existent style returns style_not_found (404). An empty selection is rejected with a 400 by the route schema (min length 1) and again by the service as empty_file_ids.

## Path parameters

- `id` string, required

## Request body

- object
  - `fileIds` string[], required

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `url` string, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `404` — Default Response

---

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