curl -X POST https://api.thalbank.com/login \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "sua_senha" }'
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "550e8400-e29b-41d4-a716-446655440000", "user": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Nome do Usuario", "email": "[email protected]", "role": "SELLER" } }
Autentica o usuario e retorna tokens de acesso
accessToken
refreshToken
Was this page helpful?