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)
Polling pattern
Poll this endpoint after calling POST /api/shell-auth untilverified is true:
Org selection
Theorgs 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
rolefield 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 selectedorg_name.