Methods

signUp

Sign up.

Parameters

firstName: string

The first name to use for the account that is to be created.

lastName?: string

An optional last name to use for the account that is to be created.

Result

number

The user identifier of the new account.

Syntax

// Required parameters only.
await client.signUp(firstName);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.signUp(firstName, { lastName });