cURL
curl --request POST \ --url https://api.retailreadyai.com/api/auth/token \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "password": "JohnDoe123!" } '
{ "message": "API token issued successfully", "data": { "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 86400 } }
Exchange email and password for a JWT access token
User's email
User's password
Successfully generated access token
Success message
"API token issued successfully"
Show child attributes