Skip to content
Seismic Orchestration

api.auth.signup

Create a new account. Does not return tokens. Call auth.login next.

const {  } = await ..({
  : "alice@example.com",
  : "hunter22!hunter22",
  : "Alice",
  : "Anderson",
});

A single SignupRequest object:

FieldType
emailstring
passwordstring
first_namestring
last_namestring

Returns: Promise<{ user_id: string }>.

Throws: ApiError with status: 400 (password < 10 chars, malformed email, missing first_name/last_name) or status: 409 (email exists).

REST endpoint: POST /auth/signup.