Registers a new member.
Typically, after a successful registration, you generate and use member tokens for the
registered member so that subsequent API calls are called as part of a member session.
Use the sessionToken
in the response to get the site member's access and refresh tokens.
If the email used to register the member already exists as a contact email, the registering member need to verify the email address using a code that is sent to the address.
function registerV2(
loginId: LoginId,
options: RegisterV2Options,
): Promise<StateMachineResponse>;
Identifier of the registering member.
import { authentication } from "@wix/identity";
async function registerV2(loginId, options) {
const response = await authentication.registerV2(loginId, options);
}
There are 13 errors with this status code.
There are 5 errors with this status code.
There is 1 error with this status code.
There is 1 error with this status code.
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.