Endpoint
POST /oapi/auth/gen-secret-key/derivative
Required body parameters
username— Account username. Example:022C099995password— Account password. Example:123456aA@
Response fields
access_token(string) — Access token for authenticated requests.refresh_token(string) — Refresh token for renewing the session.expires_in(number) — Access token lifetime in seconds.otp_token(string) — OTP token returned by the authentication flow.token_type(string) — Token type. Example:Bearer
cURL
Python
Example response
Error response
Replace BASE_URL with your API host. Upstream error messages can be returned in Vietnamese.