# Download your chat upload

Canonical page: https://docs.ovok.com/api/chat/download-your-chat-upload

`GET /v1/chat/attachments/{attachmentId}`

Answers a link that downloads one of your own chat uploads, for example to check it before you send it.

## Behaviour

- The link works for an hour and needs no bearer. The file comes as the type it was uploaded as.
- Anyone else's upload answers **404**, as does an upload whose file is gone.

## Example

```bash
curl 'https://api.sandbox.ovok.com/v1/chat/attachments/<attachmentId>' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
