API referenceDocuments
Download a document
Not available yet
This operation is described here and is not served. A call to it returns 404.
The data layer has no way to look a document up by its id. Documents are reachable through their company, at GET /companies/{company_id}/documents.
Redirects to a short-lived download link for the document file. Do not store the
redirect target: it expires after 5 minutes. Most HTTP clients drop the
Authorization header when following a redirect to another host; keep it that way.
Costs 1 credit.
Authorization
bearerAuth AuthorizationBearer <token>
Your API key, sent as Authorization: Bearer rc_live_….
In: header
Path Parameters
document_id*string
The document's id.
Format
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/content"Empty