v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
FacilityCredentialingWorkflow

Create facility credentialing workflows for multiple facilities via Cloud Tasks (v2)

Accepts a bulk workflow creation request, creates a tracking entry in the database, and enqueues individual workflow creation tasks via Cloud Tasks for reliable processing. Each facility workflow is created independently through the cloud-create callback. Returns immediately with 202 Accepted.

post/facility-credentialing-workflows/v2/bulk-create

Headers

tenant-idstring required

Tenant ID

Request body

certifyFacilityIdsstring[]

List of certify facility IDs to create workflows for. Required when isSelectAll is false. Ignored when isSelectAll is true (facility IDs will be fetched using the filter).

filterstring

Filter criteria as JSON string (URL encoded). Used to find facilities when isSelectAll is true. Facility IDs from matching facilities will be used to create new workflows. See GET /facilities endpoint documentation for filter format. Filterable fields include: data.npi, data.name.

isSelectAllboolean

If true, find all facilities matching the filter criteria and create workflows for those facilities, instead of using certifyFacilityIds. When true, filter parameter is required and certifyFacilityIds will be ignored.

Example request

{
  "certifyFacilityIds": [
    "cf_123456",
    "cf_789012"
  ],
  "filter": "{\"data.npi\":{\"eq\":\"1234567890\"}}"
}

Response

Bulk workflow creation request accepted. Individual workflows will be created via Cloud Tasks.

object required