# Claim an access code (/docs/reference/management/claimAccessCode)

> For AI agents, the [documentation index](https://bitrouter-docs-staging.up.railway.app/llms.txt) lists all pages. Append .md to a documentation URL to read its Markdown.

`POST /v1/access-codes/claim`

Claims an active code-filtered Access Policy. Re-claiming the same code is idempotent; claiming a different code while the current policy is active returns 409. Unknown or inactive codes return 404.

*Requires the `user:write` scope.*

## Authentication

header parameter `x-api-key` or `Authorization: Bearer <token>`.

Base URL: `https://api.bitrouter.ai`

## Request body

Access code claim request.

Media types: `application/json`.

* `code` (required): string

## Responses

* `200` Claimed access code status. (application/json)
* `401` Credential missing or did not verify. (application/json)
* `403` Credential is valid but lacks the required scope. (application/json)
* `404` Resource not found (or owned by a different account). (application/json)

[Full OpenAPI schema](https://bitrouter-docs-staging.up.railway.app/openapi.json)