Logs & webhooks
List events
GET/v1/applications/{app_id}/events
The application's sign-up and sign-in events, newest first, from
its region. There is no type or since filter yet — filter
client-side, or by user_id. If the region does not answer,
data is empty, partial is true and the region is listed in
regions_unavailable — this is not a 503, so always check
partial.
Path parameters
app_idstringrequiredExample:
app_seller
Query parameters
user_idstringOnly this user's events.
limitintegerDefault:
50cursorstringnext_cursorfrom the previous page
Responses
200OKobject
Events, newest first
dataEvent[]7 properties
idstringExample:
evt_8f2c91a7typestringuser.created, user.signed_in, sign_in.failed, password.reset, mfa.enrolled, mfa.removed, sign_in.mfa_required, sign_up.existing_email and identity.linked (a Google account was linked to an existing user with the same email;
data.providerisgoogle). The last two are not inWebhookEventType. Google sign-ins recorduser.createdanduser.signed_inwithdata.methodgoogle.Example:
sign_in.faileduser_idstringnullableipstringnullableuser_agentstringnullablecreated_atstring (date-time)dataobject
next_cursorstringnullableregions_unavailablestring[]Regions that did not answer. Their results are missing.
Values:
EUTRpartialbooleantruewhen one or more regions did not answer and the results are incomplete.Default:
false
503Service UnavailableError
region_unavailable: the user's region cannot answer right now. Retry afterRetry-Afterseconds.errorobjectrequired5 properties
codestringrequiredStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Example:
region_unavailablemessagestringrequiredPlain English, for developers
regionstringnullableRegion that produced the error, if any
Values:
EUTRretryablebooleanrequireddetailsobject