POST

Register V 2


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.

Endpoint
POST
https://www.wixapis.com/_api/iam/authentication/v2/register

Body Params
loginIdLoginIdRequired

Identifier of the registering member.


passwordstring

Password of the registering member.


profileProfile

Profile information of registering member.


captchaTokensArray <CaptchaToken>

CAPTCHA tokens, when CAPTCHA setting is on.


clientMetaDatastruct

Additional data that's relevant for the flow.

Response Object
statestring

Current state of the login or registration process.


sessionTokenstring

Session token. If state is not SUCCESS, this field is undefined.


stateTokenstring

Token that represents the current state of the login or registration process.


identityIdentity

Identity of the current member.


additionalDataMap <string, CustomValue>format map

Additional data relevant to the login or registration process.

Request
cURL
Response
JSON
Errors
400Invalid Argument

There are 13 errors with this status code.

403Permission Denied

There are 5 errors with this status code.

409Already Exists

There is 1 error with this status code.

429Resource Exhausted

There is 1 error with this status code.

500Internal

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?