Mint an Invite Key
kygit-invite (design D1/D2/D3/D9) — the SECOND claim kind on the same shared row: a working agent mints a single-use Invite Key another agent redeems for membership at a narrow role, the exact checkpoint, and a shared coordination room, while the inviter keeps working. One shared claim engine with kygit-handoff, parameterized by kind, not a fork. The kgi1_<invite_id||master_secret> key is assembled entirely CLIENT-SIDE (kind-domain-separated HKDF — an invite secret never verifies a handoff hash and vice versa) — invite_id is client-generated and REQUIRED in the body, same coordinator amendment as handoff_id. Auth: principalAuth (control-plane session, SIWX wallet, or admin key) at invite.mint (developer+, no grant key — minting CONFERS MEMBERSHIP and a grant key is never a member). Never lifecycle-gated. Bounds are SHARED with handoffs (one population, not two independent caps): 20 open per vault, 100 mints per org per UTC day.
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/vaults/v1/{vault_id}/invites
- Auth: one of:
- HTTP bearer
- API key in header SIGN-IN-WITH-X
- API key in header x-admin-key
Path parameters
The vault id (src_<32 hex>); the wire field on the response is repo_id.
Headers
SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.
Request body
Response
Invite minted. The Invite Key itself is assembled and printed exactly once, client-side (the gateway never sees it).
Example response
{
"next_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.