Documents

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

document string required

Headers

Authorization string required
Bearer dg_test_… or Bearer dg_live_…

Returns

200 OK: a Document object. The document.

Errors

StatusCodeWhat to do
404document_not_foundCheck the ID and that it belongs to your organisation.
410document_expiredThe files were deleted at expires_at. Generate it again.

Any endpoint can also return the common errors (bad key, rate limit, idempotency).