POST
/
api
/
auth
/
token
Authenticate
curl --request POST \
  --url https://api.retailreadyai.com/api/auth/token \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "john@doe.com",
  "password": "JohnDoe123!"
}'
{
  "message": "API token issued successfully",
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "token_type": "Bearer",
    "expires_in": 86400
  }
}

Body

application/json

Response

200
application/json

Successfully generated access token

The response is of type object.