---
title: "Create or return the user's Dev Mode branch for a workflow"
method: POST
path: "/dev-mode/branches/{workflowId}"
tags: ["Dev Mode"]
---

# Create or return the user's Dev Mode branch for a workflow

`POST /dev-mode/branches/{workflowId}`

Creates a user-scoped branch from the workflow's current production snapshot. Returns the existing branch when the user already has one.

## Path parameters

- `workflowId` integer, required

## Query parameters

- `workspaceId` integer, required

## Response `200`

OK

---

[API](https://skmtc.net/laminar/apis/laminar-api.md) · [All operations](https://skmtc.net/laminar/apis/laminar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/laminar/laminar-api/versions/f0b9f895fdd8/schema)
