---
title: "Create a claim code for a provisional workspace"
method: POST
path: "/v1/bootstrap/workspace/{bootstrapId}/claim"
tags: ["Bootstrap"]
---

# Create a claim code for a provisional workspace

`POST /v1/bootstrap/workspace/{bootstrapId}/claim`

Authenticated with the workspace's pre-claim identity assertion as a Bearer token. Returns an RFC 8628-style user code and verification URL for a person to claim the workspace. Each call cancels the previous unused code.

## Path parameters

- `bootstrapId` string, typeid, required

## Response `200`

Claim code created.

- object
  - `user_code` string, required
  - `verification_uri` string, required
  - `verification_uri_complete` string, required
  - `expires_in` number, required
  - `interval` number, required

## Other responses

- `401` — The pre-claim assertion is missing, invalid, or revoked.

## Changes

- **2026-09-27** `6117f1cac9d7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/bootstrap/workspace/:bootstrapId/claim/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) · [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/0d10fe7f6aa1?raw)
