Mint device key
Authenticated by the session-key signature in the X-PUBLIC-KEY / X-SIGNATURE /
X-REQUEST-ID headers (same as POST /api/v1/api-keys); a pinned device key cannot exceed
the signing session’s reach. The raw secret is returned once in the response body; the client
stores it and presents it in the X-DEVICE-KEY header on subsequent requests.
Authorizations
Base64 ed25519 session public key. Part of the SessionSig triple; not an API key.
UUIDv7 replay nonce; its embedded timestamp must fall inside the skew window [now-15s, now+5s]. Part of the SessionSig triple.
Base64 ed25519 signature over the canonical request message. Part of the SessionSig triple.
Body
Account that owns the new device key.
x >= 012345
Optional human-readable label for the device (max 64 chars).
"laptop"
Optional subaccount to pin the device key to. Omit for an account-wide key.
x >= 00
Response
Device key minted
Creation timestamp.
"2024-06-23T16:00:00.000Z"
Identifier of the newly minted device key.
"0190b6c2-7e4a-7c3b-9f21-2b6a1c4e5d8f"
The raw device-key secret, returned once. The client stores it and sends it back in the
X-DEVICE-KEY header on subsequent requests.
"k8Jq...redacted"
Subaccount the key is pinned to, if any.
x >= 00