Skip to main content
cURL
Log in to obtain an access token for the account, usage, proxy asset, and short-lived generation endpoints. This request does not require an existing token.

Complete authentication

  1. Enter your email and choose a login method.
  2. For loginType=pwd, provide passWord. For loginType=code, provide verifyCode. Send only the credential for the selected branch.
  3. Check the HTTP status and JSON business result. On success, deliberately reveal or copy body.token and enter it on the endpoint you want to use.
This endpoint submits a verification code you already have; it does not request a new code. The source does not specify token lifetime or refresh behavior. Log in again when the service requires a new token. See API authentication and response handling before using the token. Dynamic and unlimited proxy generation use product query credentials instead.

Online debugging

Source: official login reference.

Body

application/json
loginType
enum<string>
required

Choose password or verification-code authentication.

Available options:
pwd
Example:

"pwd"

email
string
required

Email address used to sign in.

Example:

"you@example.com"

passWord
string<password>
required

Required when loginType is pwd.

verifyCode
string<password>

Required when loginType is code.

Response

Successful login

code
integer
message
string
body
object