v2

latestOpenAPI 3.1.0Proprietary2026-07-26127193620.1 KB
CLI

Verify CLI signup and create OAuth session

Verifies the email code for a CLI signup session and creates the account. When the session was started with a signup_code, the reserved code is redeemed; sessions started without a code skip the redemption step. Either way an org-scoped OAuth CLI session is created and the token set is returned exactly once. This endpoint does not require an API key.

post/cli/signup/verify

Headers

Idempotency-Keystring

Optional client-supplied idempotency key. Retrying a request with the same key returns the original result instead of performing the action a second time; if omitted the server derives one from the canonical payload hash. Safe to retry network failures without duplicating side effects.

Request body

signup_tokenstring required
verification_codestring required
passwordstring

Response

CLI signup verified and OAuth token set created

successtrue required