Record a security event
Record a client-side security-relevant event for the customer with Grid’s risk engine (e.g. a sign-in, a sensitive view), to feed adaptive-authentication signals.
This endpoint is only meaningful for customers in a region where SCA is required (e.g. EU). For customers outside SCA-regulated regions, this returns 409.
Authorizations
API token authentication using format <api token id>:<api client secret>
Query Parameters
The unique identifier of the customer the security event is recorded for.
Body
Records a client-side security event for the customer so Grid can maintain the customer's login-security state (SCA session revocation and failed-login lockout).
The security event to record:
RESET_PASSWORD_COMPLETED, FAILED_LOGIN_ATTEMPT "FAILED_LOGIN_ATTEMPT"
Response
Event recorded; the customer's resulting login-security state is returned (including any lockout).
The customer's login-security state after recording the event, so the integrator can surface a lockout to the end user.
The event that was recorded.
RESET_PASSWORD_COMPLETED, FAILED_LOGIN_ATTEMPT "FAILED_LOGIN_ATTEMPT"
Whether the customer's login is currently suspended (locked with no automatic expiry). A suspended customer must go through a password reset (RESET_PASSWORD_COMPLETED) to clear the lockout.
The customer's current cumulative failed-login count.
5
When the customer may attempt to log in again, if temporarily locked. Null when not locked, or when suspended is true (no automatic expiry).
"2025-10-03T12:15:00Z"