Get one template
The template as GET /templates lists it in items[] (and MCP get_template returns it): a saved template (every saved_templates[] field), an AppliFlo contract or an official form (a lib_ id). Its status (only `ready` sends), current version, each role's key, label, kind and signing order, and the boxes the sender may prefill. Another workspace's template is a 404.
The template as GET /templates lists it in items[] (and MCP get_template returns it): a saved template (every saved_templates[] field), an AppliFlo contract or an official form (a lib_ id). Its status (only ready sends), current version, each role's key, label, kind and signing order, and the boxes the sender may prefill. Another workspace's template is a 404.
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.
id*stringSaved template id (saved_templates[].template_id from GET /templates).
The template.
application/json- response
success*booleandata*curl -X GET 'https://appliflo.com/api/v1/templates/string'{ "success": true, "data": { "template": { "template_id": "string", "kind": "saved", "name": "string", "status": "draft", "version": 0, "field_count": 0, "pages": 1, "roles": [ { "key": "string", "label": "string", "kind": "signer", "order": 1 } ], "sender_fields": [ { "index": 0, "label": "string", "type": "text", "semantic_type": "string", "group_key": "string", "option_value": "string", "bulk": true } ], "fixed_fields": [ { "index": 0, "label": "string", "type": "text", "locked": true, "bulk": true } ], "source": "document", "official_form_slug": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "summary": "string", "category": "string", "country": "US", "official_form": { "slug": "string", "code": "string", "label": "string", "title": "string", "agency": "string", "agency_name": "string" }, "esign": { "mode": "block", "notice": "string" }, "recipients_required": 0, "required_values": [ {} ], "party_fields": [ {} ], "lawyer_reviewed": true, "own_risk": true, "setup_required": true } }}Get one version of a saved template GET
Its roles in signing order, the boxes the sender fills (prefill keys) and the send settings. A finalised version never changes.
List the workspace's saved templates GET
Saved templates are reusable documents the workspace keeps: a PDF plus its reviewed fields and recipient roles. The MCP list_templates tool returns the same items as saved_templates.