Documents
Get a document with its fields and choice groups
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.
The document, its current fields and its choice questions.
application/json- response
success*booleandata*curl -X GET 'https://appliflo.com/api/v1/documents/string'Example Response
{ "success": true, "data": { "id": "string", "name": "string", "status": "string", "fields": [ { "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" } ], "groups": [ { "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" } ] } ] }}