# Get a recipient's verification photo

`GET https://api.parasend.com/v1/deliveries/{id}/recipient_photos/{kind}`

Source: https://parasend.com/docs/api/evidence/recipient-photo

Authentication: `Authorization: Bearer <API key>` (a `ps_test_` key in test mode, `ps_live_` in live mode).

The passport photo page or the selfie from the ID document check the recipient's verified name came from, kept with the recipient's consent. Needs the `evidence.read` permission. The `X-Parasend-Sha256` header carries the file's SHA-256.

## Path parameters

- `id` (string, required): The delivery's ID.
- `kind` (string, required): One of: `document`, `selfie`.

## Example: Get a recipient's verification photo

```bash
curl "https://api.parasend.com/v1/deliveries/dlv_01M6R27T05512SCV3852TPM2XY/recipient_photos/document" \
  -H "Authorization: Bearer $PARASEND_KEY"
```

```js
const res = await fetch('https://api.parasend.com/v1/deliveries/dlv_01M6R27T05512SCV3852TPM2XY/recipient_photos/document', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.PARASEND_KEY}`,
  },
});
const data = await res.json();
```

## Response 200

The JPEG.

Content type: image/jpeg.

Errors: one shape, `{"error": {type, code, message, param, request_id}}`; every code is listed at https://parasend.com/docs/errors.
