Skip to main content

Initiate Authentication

Start the Shell Auth flow by submitting an email and SSH public key. Sends a verification email to confirm ownership.

Endpoint

Request

Response

Success (200)

Errors

What happens next

After calling this endpoint:
  • New users: An account is created. On email verification, an organization and free subscription are provisioned automatically.
  • Existing users: The SSH key is registered. On email verification, it’s activated for authentication.

Alias emails

You can use + syntax (e.g., alice+agent@company.com) to create agent accounts that share the primary user’s organizations. The primary account (alice@company.com) must exist and be verified first.

Example

Next step

Poll POST /api/shell-auth/verify-key until the user clicks the verification link.