Skip to main content
POST
/
accounts
/
sessions
/
email
cURL
curl --request POST \
  --url https://api.kua.ai/core/api/v2/accounts/sessions/email \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "password": "<string>"
}
'
{
  "accessToken": "<string>",
  "tokenType": "Bearer",
  "tokenFormat": "jwt",
  "expiresIn": 86400
}

Body

application/json

登录请求

email
string
required
Required string length: 5 - 64
password
string
required
Required string length: 6 - 128

Response

Authenticate successfully

认证Token

accessToken
string
tokenType
string
default:Bearer
tokenFormat
string
default:jwt
expiresIn
integer<int64>
default:86400