One-shot fill (multipart: file + values in, filled PDF + results out)
bearerAuthAuthorizationBearer <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.
Idempotency-Key?stringA client-generated key scoping this request as a retry of a prior identical request. A replay within 24h returns the first response instead of repeating the side effect (e.g. a second send). The key is bound to the request it was first used with: the same key with a different body or target is refused (422, code idempotency_key_reused).
length <= 255- body
file*fileThe PDF (or DOCX, converted to PDF) to fill.
binaryvalues*stringJSON-encoded values keyed by a field's label text, or by a choice question's label (one option, or a list for multi).
Filled PDF (base64) + per-field results.
application/json- response
success*booleandata*curl -X POST 'https://appliflo.com/api/v1/fill' \ -H 'Content-Type: application/json' \ -d '{}'{ "success": true, "data": { "pdf_base64": "string", "results": [ { "field_id": "string", "status": "filled", "rendered_text": "string", "font_size": 0, "lines": 0, "reason": "string" } ], "groups": [ { "group_id": "string", "status": "filled", "chosen": [ "string" ], "field_ids": [ "string" ] } ], "warnings": [ { "id": "string", "page": 0, "bbox": [ 0, 0, 0, 0 ], "type": "string", "label_text": "string", "semantic_type": "date", "format": "string", "comb": { "cells": 0 }, "multiline": true, "confidence": 0, "flagged": true, "source": "acroform", "recipient_id": "string", "group_id": "string", "option_value": "string", "option_label": "string", "section": "string", "label_source": "page_text", "role_hint": "string", "help": "string" } ], "group_warnings": [ { "id": "string", "label": "string", "kind": "single", "min": 0, "max": 0, "instruction": "string", "confidence": 0, "source": "radio", "section": "string", "options": [ { "field_id": "string", "value": "string", "label": "string" }, { "field_id": "string", "value": "string", "label": "string" } ] } ], "ai_pages": { "used": 0, "limit": 0, "remaining": 0, "exhausted": true, "resets_at": "2019-08-24T14:15:22Z" } }}Send a document for signature POST
Creates the envelope, sets recipients, assigns fields, pre-fills any CRM-mapped fields, then invites the initial signing wave. A field assigned to a CC recipient is rejected (422) — CC recipients never sign. Since November 2026 each signer and filler is emailed a one-time code to enter before signing (accessCode defaults to "email"); pass accessCode "none" on a recipient to switch it off. A recipient with delivery "embedded" is never emailed: your app signs them with POST /api/v1/embed/signing-sessions (Business plan or a sandbox).
Download the sealed (completed) document or its completion certificate GET
Next Page