Login
All API calls need to complete the account login first and obtain the token in the returned value. And put this token in the following request header. The validity period of the token is 60 minutes.
✨ Example
Request
curl --location -g '{{EU}}/loginv2/auth' \
--data-raw '{
"authAccount": "openapi@gmail.com",
"authPassword": "openapi4test"
}'
Response
{
"errorCode": 0,
"info": null,
"body": "eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MjM3MjAxMDMsIlVfSUQiOiI2NTZlODBhNDAwNWIwMDAwY2IwMDIwMDAiLCJVX05BTUUiOiJvcGVuYXBpQGdtYWlsLmNvbSIsIklTX0FETUlOIjpmYWxzZSwiQ1JFQVRFX1RJTUUiOjE3MjM3MjAxMDMwNDV9.5qBLEJmrWjpXpj_p1V7dh2RlpjdmI53-OYCuu1QiP-c",
"successful": true
}