---
title: "GET Download Lote"
method: GET
path: "/api/lotes/{lote_id}/download"
---

# GET Download Lote

`GET /api/lotes/{lote_id}/download`

## Request

- Base URL: `https://app.plugsign.com.br`
- URL: `https://app.plugsign.com.br/api/lotes/{lote_id}/download`
- Auth: API key in header `Authorization`

Baixa todos os arquivos PDF de um lote compactados em um único arquivo .zip. A resposta é binária (<code>application/zip</code>) com <code>Content-Disposition: attachment</code>; o nome do arquivo é o nome do lote sem caracteres especiais, com a extensão .zip. Apenas os arquivos existentes no armazenamento são incluídos.

## Path parameters

- `lote_id` integer, required

## Response `200`

Arquivo ZIP com os PDFs do lote

## Other responses

- `404`: Lote não encontrado ou sem arquivos
- `500`: Falha ao gerar o ZIP

## Changes

- **2026-11-03** `3db1513040ea`: 1 breaking, 3 info
  - removed the media type `application/json` for the response with the status `200`
  - added the media type `application/zip` for the response with the status `200`
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/plugsign/apis/endpoints-manuais/changes/api/lotes/:lote_id/download/get.md)

---

[API](https://skmtc.dev/plugsign/apis/endpoints-manuais.md) - [All operations](https://skmtc.dev/plugsign/apis/endpoints-manuais/llms.txt) - [OpenAPI document](https://skmtc.dev/plugsign/apis/endpoints-manuais/revisions/3db1513040ea?raw)
