Skip to main content

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​

Successfully generated the Sanction PDFs