---
title: "Create Claim Codes"
method: POST
path: "/api/projects/{project_id}/claim-codes"
tags: ["projects"]
---

# Create Claim Codes

`POST /api/projects/{project_id}/claim-codes`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/projects/{project_id}/claim-codes`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, required

## Request body

- CreateClaimCodesRequest
  - `count` integer
  - `targetAgentId` string, nullable
  - `expiresInHours` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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