Generate PDFs for all sanction types on a workflow
POST/credentialing-workflows/:id/generate-sanction-pdf
Generates sanction PDF documents for every sanction type present on the credentialing workflow identified by id and stores each in cloud storage. Authenticate with the X-Credentialing-Api-Key header (API key), not JWT — typically invoked from Cloud Tasks. Returns 200 with a GenerateAllSanctionsPdfResponse object containing the generated PDF URLs. Returns 204 with no body when no sanctions are found on the workflow. Returns 503 when some sanction PDFs failed and Cloud Tasks attempts remain; the PDFs that succeeded are already saved and the retry generates the rest.
Request
Responses
- 200
- 204
- 401
- 404
- 409
- 500
- 503
Successfully generated the Sanction PDFs
No sanctions present; empty body
Invalid or missing X-Credentialing-Api-Key
Credentialing workflow not found
A concurrent modification of this workflow prevented the sanction documents from being written after the retry budget was exhausted; the request is safe to retry
Internal Server Error - An unexpected error occurred
Some sanction PDFs failed with attempts left; the rest are saved and Cloud Tasks retries