---
title: "Save an immutable checked Workflow version"
method: POST
path: "/credits/workflows/{workflowId}/versions"
tags: ["Hosted Workflows"]
---

# Save an immutable checked Workflow version

`POST /credits/workflows/{workflowId}/versions`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/workflows/{workflowId}/versions`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Saves the checked draft revision as an immutable Workflow version and returns its identity and validation evidence. The named revision must have passed its exact-revision check; otherwise the request fails with 409.

## Path parameters

- `workflowId` string, uuid, required

## Request body

- object
  - `revision` integer, required

## Response `201`

Immutable version identity and validation evidence

## Other responses

- `409`: Successful exact-revision check required

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
