POST No authentication
Log in
Authenticate with an email address and receive an access token.
01
Endpoint reference
Overview
Verified against current code
Methods, paths, and active parameters come from the current API modules and their callers. Legacy ReadMe placeholders and copied paths are intentionally excluded.
02
AUTH
Authentication
No authentication
No authorization header is required. Supply a valid email address.
03
INPUT
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
emailRequired | body | string | Email address used to sign in. |
loginTypeRequired | body | enum | Choose password or verification-code authentication. |
passWordSensitive | body | string | Required when loginType is pwd. |
verifyCodeSensitive | body | string | Required when loginType is code. |
04
OUTPUT
Response examples
200Successful loginapplication/json
{
"code": 200,
"message": "Success",
"body": {
"id": 1024,
"name": "developer",
"token": "<ACCESS_TOKEN>"
}
}400Business or validation errorapplication/json
{
"code": 500,
"message": "Invalid request",
"body": null
}SDK / HTTP
Code examples