Documents
Download a document artifact
GET
bearerAuthheader
AuthorizationBearer <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.
id*stringDocument id.
artifact*stringWhich rendered artifact to download.
Value in
"filled""sealed"Signed download URL.
application/json- response
success*booleandata*curl -X GET 'https://appliflo.com/api/v1/documents/string/download?artifact=filled'Example Response
{ "success": true, "data": { "url": "http://example.com" }}