cURL
curl --request POST \ --url https://api.retailreadyai.com/api/auth/token \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>" } '
{ "message": "API token issued successfully", "data": { "access_token": "<string>", "token_type": "<string>", "expires_in": 123 } }
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
JWT access token
Type of token
Token expiration time in seconds