> For the complete documentation index, see [llms.txt](https://docs.packli.hu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.packli.hu/api-integracio/labels.md).

# Labels

Label generation and download

## Download labels

> Download shipping labels for parcels

```json
{"openapi":"3.0.3","info":{"title":"Packli API","version":"3.0.0"},"tags":[{"name":"Labels","description":"Label generation and download"}],"servers":[{"url":"https://app.packli.hu/api","description":"Production"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Laravel Sanctum token authentication.\nInclude the token in the Authorization header: `Bearer {your-token}`\n"}},"responses":{"Unauthorized":{"description":"Authentication required","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"ValidationError":{"description":"Validation failed","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}}}}}}},"paths":{"/v3/labels":{"get":{"tags":["Labels"],"summary":"Download labels","description":"Download shipping labels for parcels","parameters":[{"name":"ids[]","in":"query","required":true,"description":"Array of parcel IDs","style":"form","explode":true,"schema":{"type":"array","items":{"type":"integer"}}}],"responses":{"200":{"description":"Label file(s)","content":{"application/json":{"schema":{"type":"object","properties":{"filename":{"type":"string"},"data":{"type":"string","format":"base64","description":"Base64 encoded file content"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"description":"No labels found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"422":{"$ref":"#/components/responses/ValidationError"}}}}}}
```
