cURL
curl --request POST \ --url https://mock-api.cevro.ai/v1/auth/player/login \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]" } '
{ "success": true, "session_id": "sess_a1b2c3d4-e5f6-7890-abcd-ef1234567890", "player_id": "5832", "expires_at": "2023-11-07T05:31:56Z", "expires_in": 3600 }
API Bearer token. For this demo, any non-empty string is accepted.
"[email protected]"
Successful authentication
true
"sess_a1b2c3d4-e5f6-7890-abcd-ef1234567890"
"5832"
Seconds until expiry
3600