v1 · OpenAPI 3.1Panel

API referansı İngilizcedir.

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.

Gereken yetki
events:read
Kimlik doğrulama
Secret key · Organization API key

Yol parametreleri

  • app_idstringzorunlu

    Örnek: app_seller

Sorgu parametreleri

  • user_idstring

    Only this user's events.

  • limitinteger

    Varsayılan: 50

  • cursorstring

    next_cursor from the previous page

Yanıtlar

  • 200OKobject

    Events, newest first

    • dataEvent[]

      7 alan
      • idstring

        Örnek: evt_8f2c91a7

      • typestring

        user.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.provider is google). The last two are not in WebhookEventType. Google sign-ins record user.created and user.signed_in with data.method google.

        Örnek: sign_in.failed

      • user_idstringboş olabilir

      • ipstringboş olabilir

      • user_agentstringboş olabilir

      • created_atstring (date-time)

      • dataobject

    • next_cursorstringboş olabilir

    • regions_unavailablestring[]

      Regions that did not answer. Their results are missing.

      Değerler: EU TR

    • partialboolean

      true when one or more regions did not answer and the results are incomplete.

      Varsayılan: false

  • 503Service UnavailableError

    region_unavailable: the user's region cannot answer right now. Retry after Retry-After seconds.

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • detailsobject