---
title: "Create a browser claim link"
method: POST
path: "/agent/claim/link"
tags: ["Agent"]
---

# Create a browser claim link

`POST /agent/claim/link`

Mints an opaque, single-use link an agent can hand to a human to
complete the email-confirmation upgrade in a browser. Authenticated by
the agent's own API key. `claim_url` is null when the API host cannot
resolve a web origin to build the link.

## Headers

- `Idempotency-Key` string

## Request body

- object — No fields; an empty object is accepted.

## Response `200`

Claim link created

- object
  - `success` true, required
  - `data` object, required
    - `claim_token` string, required
    - `claim_url` string, nullable, required — Browser URL to hand to a human, or null if no web origin is configured.
    - `expires_in_seconds` integer, required

## Other responses

- `401` — Invalid or missing API key
- `404` — Resource not found
- `409` — The request conflicts with the current state of the resource
- `429` — Rate limit exceeded

---

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