Skip to Content
Documents

Download a document artifact

GET
/api/v1/documents/{id}/download

Authorization

bearerAuth
headerAuthorizationBearer <token>

Workspace API key, e.g. "Authorization: Bearer aflo_live_<64 hex chars>". Keys are hashed at rest and shown only once at creation. A key has scopes: read (GET routes), draft (create or change documents, fields and templates) and send (send, void, remind and bulk send); a call outside them gets 403 insufficient_scope. A key may expire (401 api_key_expired). Keys made before scopes existed have full access.

Path Parameters

id*string

Document id.

Query Parameters

artifact*string

Which rendered artifact to download.

Value in"filled""sealed"

Response Body

Signed download URL.

application/json
  1. response
success*boolean
data*
Example Request
curl -X GET 'https://appliflo.com/api/v1/documents/string/download?artifact=filled'
Example Response
{  "success": true,  "data": {    "url": "http://example.com"  }}