---
title: "Generate a Provider Summary Verification document for a workflow"
method: POST
path: "/credentialing-workflows/{id}/generate-psv"
tags: ["CredentialingWorkflow"]
---

# Generate a Provider Summary Verification document for a workflow

`POST /credentialing-workflows/{id}/generate-psv`

Generates a Provider Summary Verification (PSV) document for the credentialing workflow identified by `id` and stores it in cloud storage. Use this endpoint to produce or refresh the PSV; use `GET /credentialing-workflows/{id}/latest-psv-pdf` to retrieve the path of the most recently generated PSV without regenerating it. This endpoint is authenticated via API key (not JWT) when invoked from Cloud Tasks. The optional `triggeringEventId` parameter associates the generation with a specific timeline event for step-tracking purposes; omit it for direct invocations. Returns a `GeneratePsvResponse` object containing the URL of the generated PSV document.

## Path parameters

- `id` string, required

## Query parameters

- `triggeringEventId` string

## Headers

- `tenant-id` string, required
- `user-id` string

## Response `200`

Successfully generated the PSV document

- GeneratePsvResponse
  - `bucketName` string
  - `filePath` string
  - `credentialingWorkflowId` string
  - `practitionerId` string
  - `data` unknown

## Other responses

- `401` — Unauthorized - Authentication required
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/563848e0ecc0/schema)
