Get a send-to-many batch
Status, counts, and each row's status, envelope id and last error. Polling while rows are queued also nudges sending along.
Status, counts, and each row's status, envelope id and last error. Polling while rows are queued also nudges sending along.
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.
application/json- response
success*booleandata*curl -X GET 'https://appliflo.com/api/v1/bulk-batches/string'{ "success": true, "data": { "batch_id": "string", "template_id": "string", "template_version": 0, "status": "queued", "pause_reason": "quota", "source": "web", "created_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "counts": { "total": 0, "queued": 0, "sent": 0, "failed": 0, "excluded": 0, "cancelled": 0 }, "rows": [ { "row": 0, "status": "queued", "envelope_id": "string", "error": "string", "error_code": "transient", "needs_fix": true, "attempts": 0 } ] }}Fix a failed row and send it again PATCH
Change a failed row's people (by role key: name and/or email) or prefilled boxes (by index), then it is checked like the review step and sent as a new envelope. A change is required: a row the email provider refused or that bounced (needs_fix) would fail the same way again.
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.