Token Generation
Use the token generated here as a value of the Authorization header (Bearer token) for api requests where it is required.
Request body
Name
Type
Description
Response
{
"message": "success",
"error": null,
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"
}
}{
"message": "Invalid email or password.",
"error": "wrong login details",
"data": null
}Last updated