Cancel a batch
Every row not sent yet is cancelled; envelopes already sent are untouched (void them one by one if needed). A batch that already finished is refused.
Every row not sent yet is cancelled; envelopes already sent are untouched (void them one by one if needed). A batch that already finished is refused.
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*stringbatch_id from POST /templates/{id}/bulk.
The batch, cancelled.
application/json- response
success*booleandata*curl -X POST 'https://appliflo.com/api/v1/bulk-batches/string/cancel'{ "success": true, "data": { "batch_id": "string", "status": "cancelled", "cancelled": 0, "counts": { "total": 0, "queued": 0, "sent": 0, "failed": 0, "excluded": 0, "cancelled": 0 } }}List the template library available to this workspace GET
`items` is one list of everything the workspace can start a document from (as the app's Templates page and the MCP list_templates tool): its saved templates first, then AppliFlo's contract templates (kind library), then the official government forms (kind official), filtered by kind, q, country and category and paged with limit/offset (`total` counts every match). `templates` (the old contract-template model, superseded by the library's lib_ items) and `saved_templates` are unchanged for existing integrations.
Create a document from a saved template POST
Creates a fresh draft document with a copy of the template's file and fields (already placed: do not call detect). The template is never modified. Pass the result to POST /documents/{id}/send.