Token Generation
Use the token generated here as a value for the Authorization header (Bearer token) where it is required.
POST {{env_url}}/auth/account/v2/login
Passing your credentials to obtain a token.
Request body
Name
Type
Description
username
String
Your account email
password
String
account password
Respond body
{
"message": "success",
"error": null,
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"
}
}{
"message": "Invalid email or password.",
"error": "wrong login details",
"data": null
}Last updated
