---
title: "Internal Cloud Tasks callback — create one facility workflow"
method: POST
path: "/facility-credentialing-workflows/cloud-create"
tags: ["FacilityCredentialingWorkflow"]
---

# Internal Cloud Tasks callback — create one facility workflow

`POST /facility-credentialing-workflows/cloud-create`

Internal endpoint called by the v2 bulk-create Cloud Tasks queue to create a single facility credentialing workflow and record the result against the parent bulk-request item. **When to use:** This endpoint is invoked automatically by the platform's task queue as part of `POST /v2/bulk-create` processing. It is not intended for direct API consumer use. **Authentication:** **Required body fields:** `certifyFacilityId` (string), `tenantFacilityId` (string), `credentialingWorkflowBulkRequestId` (string), `credentialingWorkflowBulkRequestItemId` (string). Optional: `data` (object) — workflow creation payload. **Returns:** `201 Created` with the created workflow on success. Returns `401` for a missing or invalid API key.

## Headers

- `tenant-id` string
- `user-id` string

## Request body

- JsonNode
  - `empty` boolean
  - `valueNode` boolean
  - `containerNode` boolean
  - `missingNode` boolean
  - `array` boolean
  - `object` boolean
  - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
  - `pojo` boolean
  - `number` boolean
  - `integralNumber` boolean
  - `floatingPointNumber` boolean
  - `short` boolean
  - `int` boolean
  - `long` boolean
  - `float` boolean
  - `double` boolean
  - `bigDecimal` boolean
  - `bigInteger` boolean
  - `textual` boolean
  - `boolean` boolean
  - `null` boolean
  - `binary` boolean

## Response `201`

Workflow created successfully

## Other responses

- `400` — Missing required fields in request body
- `401` — Invalid or missing X-Credentialing-Api-Key
- `409` — Active workflow already exists or duplicate active item
- `500` — Failed to create workflow

---

[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)
