curl -X POST https://secureapi.gridlog.io/api/v1/auth/login \ -H "Content-Type: application/json" \ -d '{ "email": "admin@yourcompany.com", "password": "SecurePassword123!" }'
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "tokenType": "Bearer", "account": { "id": "123e4567-e89b-12d3-a456-426614174000", "email": "admin@yourcompany.com" } }
Authenticate with email and password to receive a JWT access token
Authorization: Bearer
"Bearer"
Show account fields