Retrieve a document
GET https://api.129.212.147.181.sslip.io/v1/documents/{document}
files appears when status is succeeded. After expires_at this returns 410 Gone.
Path parameters
Headers
Bearer dg_test_… or Bearer dg_live_…
Returns
200 OK: a Document object. The document.
Errors
| Status | Code | What to do |
|---|---|---|
| 404 | document_not_found | Check the ID and that it belongs to your organisation. |
| 410 | document_expired | The files were deleted at expires_at. Generate it again. |
Any endpoint can also return the common errors (bad key, rate limit, idempotency).