> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Login Resolved

An event triggered when the player successfully completes the login process and is authenticated.

**Event Data**

<ResponseField name="timestamp" type="number">
  The time when the event occurred. Example: `1632345000`
</ResponseField>

<ResponseField name="event" type="string">
  The type of player authentication event. In this case, login\_resolved. Example: `login_resolved`
</ResponseField>

<ResponseField name="platform" type="string">
  The device platform used by the player. Example: `mobile`
</ResponseField>

<ResponseField name="source" type="string">
  The interface through which the player accessed the login page. Supported values:

  * `browser app`: Mobile or desktop browser.
  * `webview`: An in-app webview.
  * `homescreen bookmark`: A saved home screen shortcut or bookmark.
</ResponseField>

<ResponseField name="countryCode2" type="string">
  The two-letter country code of the player. Example: `US`
</ResponseField>

<ResponseField name="sessionId" type="string">
  The [session ID](../introduction#session-id) of the player’s current session. Example: `345397c6-d963-4aa4-a0ba-2aaca6c3ee05`
</ResponseField>

<ResponseField name="loginMethod" type="string">
  The authentication method selected by the player in the main login screen. Optional Values: facebook, google, apple, user\_name, OTP. Example: `facebook`
</ResponseField>

<ResponseField name="result" type="string">
  The result of the login\_resolved event. Example: `success`
</ResponseField>

<ResponseField name="reason" type="string">
  Optional. The reason for the login\_resolved failure. Example: `invalid_credentials`
</ResponseField>

<ResponseField name="sessionMetadata" type="object">
  Relevant only to Personalization API users, the player session metadata object received from the Personalization API. Example: `{ "metadata": "data" }`
</ResponseField>

<ResponseField name="utmSource" type="string">
  Identifies the source of your traffic. Optional Values: google, facebook, instagram. Example: `google`
</ResponseField>

<ResponseField name="utmMedium" type="string">
  Specifies the medium through which the traffic arrived. Optional Values: cpc, email, social, referral. Example: `cpc`
</ResponseField>

<ResponseField name="utmCampaign" type="string">
  Identifies the marketing campaign associated with the traffic. Optional Values: spring\_sale, retargeting, black\_friday. Example: `spring_sale`
</ResponseField>

<ResponseExample>
  ```json Event Payload theme={"system"}
  {
    "timestamp": 1632345000,
    "event": "login_resolved",
    "platform": "mobile",
    "source": "webview",
    "countryCode2": "US",
    "sessionId": "345397c6-d963-4aa4-a0ba-2aaca6c3ee05",
    "loginMethod": "facebook",
    "result": "success",
    "reason": "invalid_credentials",
    "sessionMetadata": { 
      "metadata": "data" 
    },
    "utmSource": "google",
    "utmMedium": "cpc",
    "utmCampaign": "spring_sale"
  }
  ```
</ResponseExample>
