loginV2( )


Logs in an existing member.

Typically, after a successful login, you generate and use member tokens for the logged-in 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.

Method Declaration
Copy
Method Parameters
loginIdLoginIdRequired

Identifier of identity logging in.


optionsLoginV2Options
Returns
Return Type:Promise<StateMachineResponse>
Errors
400Invalid Argument

There are 2 errors with this status code:

401Unauthenticated

There is 1 error with this status code:

403Permission Denied

There are 2 errors with this status code:

429Resource Exhausted

There is 1 error with this status code:

500Internal

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Did this help?