Skip to main content

Verify Key

Check if an email + SSH key pair has been verified. Returns the user’s organization list for org selection.

Endpoint

Request

Response

Verified (200)

Not verified (401)

The user hasn’t clicked the verification link yet. Continue polling.

Polling pattern

Poll this endpoint after calling POST /api/shell-auth until verified is true:
Verification links expire after 10 minutes. If the user doesn’t verify in time, re-initiate with POST /api/shell-auth.

Org selection

The orgs array contains all organizations the user has access to. Use this to present an org picker to the user before creating an API key.
  • Users with one org can skip the picker
  • Users with multiple orgs should select which org to create the API key for
  • The role field indicates the user’s permissions in each org

Example

Next step

Once verified, create an API key with POST /api/shell-auth/api-keys, passing the selected org_name.