# A public document of a public passport

> `GET /public/passports/{passportId}/documents/{documentId}` · öffentlich, ohne Schlüssel · operationId `downloadPublicPassportDocument`

No authentication. Only documents of the `public` tier that a public field of a published version
names (for example the EU declaration of conformity); everything else is `404`.

## Pfad-Parameter

- **passportId** `string (uuid)` (erforderlich): The UUID of the passport identifier `urn:dpp:{uuid}`.
- **documentId** `string (uuid)` (erforderlich)

## Antworten

### 200 (`*/*`)

The file.

`any`

### 400 (`application/problem+json`)

The request is malformed or failed validation (`validation_error`), or a token is invalid or expired (`invalid_token`).

### 404 (`application/problem+json`)

The resource does not exist in the organisation of the API key, or the public passport is unknown (`not_found`).

### 429 (`application/problem+json`)

Too many attempts (`rate_limited`); retry after the number of seconds in the `Retry-After` header.

### default (`application/problem+json`)

Any other problem, e.g. `internal_error`.

## Beispiel

```bash title="cURL"
curl -X GET "https://passport.kabin.sh/api/v1/public/passports/{passportId}/documents/{documentId}"
```
