cURL
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 } }
Exchange email and password for a JWT access token
Successfully generated access token
The response is of type object.
object