Create claim link
/api/v1/create_claim_linkMint a CLAIM LINK that hands this project to whoever opens it — 'give this site to the client', 'transfer ownership', «отдай документацию клиенту», «сделай claim-ссылку». The recipient opens it, signs in to Docsbook (GitHub or email — no account needed beforehand), confirms, and the project moves onto THEIR account: its pages, its public address and whatever trial is still on it all stay exactly as they are, and you lose access to it at that moment. One live link per project — calling again returns the same URL with its expiry pushed out (reused: true). If the project was already claimed, the result says so (state: claimed, claimed_by) instead of failing. Typical flow: create_workspace → write_docs (or docsbook_agent) → create_claim_link → send claim_url to the business, verbatim. Moving the docs into the recipient's own GitHub repository is their own later step, from Settings in the panel — it needs their GitHub token, so no tool here does it.
Price — free, never metered.
Also reachable by name at POST /api/v1/tools/create_claim_link.
Authorization: Bearer dbk_YOUR_API_KEY.Sent from your browser straight to the API — never to Docsbook, never stored.200 with ok: false: the call was made and billed, and that refusal is its answer.Show child attributes10
- The link is single-use and expires (default 7 days, up to 30).
ok to see whether it succeeded.curl -X POST 'https://docsbook.io/api/v1/create_claim_link' \
-H 'Authorization: Bearer dbk_YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{}'{
"ok": true,
"result": {
"ok": true,
"workspace_id": 0,
"state": "<state>",
"claim_url": "<claim_url>",
"expires_at": "<expires_at>",
"reused": true,
"single_use": true,
"claimed_at": "<claimed_at>",
"claimed_by": {},
"next_step": "<next_step>"
},
"duration_ms": 0
}