Bulk render status

Progress of a bulk render started with `POST /api/v1/templates/{id}/bulk`: state, per-row counts, and on completion the download — `zipUrl` for a ZIP run, `fileUrl` for an `output: "pdf"` run (one merged PDF); `output` says which. Poll every few seconds until `state` is `completed` or `failed`.

GET/api/v1/templates/bulk/:jobId

Query / Path parameters

NameInRequiredDescription
jobIdpathYesJob id from the bulk request

Responses

200

JSON { jobId, state, total, completed, succeeded, failed, currentItem?, errors, output, zipUrl?, fileUrl?, credentials? } — `credentials` ([{ row, credentialId, url, code, reused }]) lists the verified document each rendered row issued, when the template has verified documents on

404

No such job in the key's space

Request
curl -X GET "https://bannx.com/api/v1/templates/bulk/:jobId" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Response
// JSON { jobId, state, total, completed, succeeded, failed, currentItem?, errors, output, zipUrl?, fileUrl?, credentials? } — `credentials` ([{ row, credentialId, url, code, reused }]) lists the verified document each rendered row issued, when the template has verified documents on
{
  "success": true,
  "data": { ... }
}