# A public document of a public passport

> `GET /public/passports/{passportId}/documents/{documentId}` · public, no key · 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`.

## Path parameters

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

## Responses

### 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`.

## Example

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