Skip to Content
Envelopes

Download the sealed (completed) document or its completion certificate

GET
/api/v1/envelopes/{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

Envelope id.

Query Parameters

artifact*string

"sealed" is the signed PDF; "certificate" is the Completion Certificate (signers, timestamps, identity method, document hash, seal details). A certificate that was never generated returns 404.

Value in"sealed""certificate"

Response Body

Short-lived signed download URL.

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