> For the complete documentation index, see [llms.txt](https://docs.lootlocker.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lootlocker.com/players/white-label-login/how-to/request-user-verification.md).

# Request User Verification

If you want your White Label users to verify the provided emails then you can use the following example to do so. To use this however you need to have enabled account verification in the [Platform Settings](https://console.lootlocker.com/settings/platforms/white_label_login).

{% tabs %}
{% tab title="Unity" %}
{% hint style="warning" %}
This requires you to have enabled Account Verification in [Platform Settings](https://console.lootlocker.com/settings/platforms/white_label_login).
{% endhint %}

```csharp
// Remember to use the LootLocker namespace in the top of your file.
using LootLocker.Requests;

// This code should be placed in a handler when the user verifies their email.
int userId = 1234;
LootLockerSDKManager.WhiteLabelRequestVerification(userId, (response) =>
{
    if (!response.success)
    {
        Debug.Log("error requesting account verification");

        return;
    }

    Debug.Log("account verification requested successfully");
});
```

{% endtab %}

{% tab title="Unreal" %}
{% hint style="warning" %}
This requires that you have [set up the Unreal SDK in your game.](/the-basics/unreal-quick-start.md)
{% endhint %}

{% hint style="warning" %}
This requires you to have enabled Account Verification in [Platform Settings](https://console.lootlocker.com/settings/platforms/white_label_login).
{% endhint %}

<figure><img src="/files/QrTh9UD6sdKiDqT1pPFO" alt="Shows an example of how to implement account verification for a White Label user in Unreal Blueprints - see link: https://blueprintue.com/blueprint/mhgc3j5y/"><figcaption><p><a href="https://blueprintue.com/blueprint/mhgc3j5y/">Blueprint example of account verification for a White Label User</a></p></figcaption></figure>

Above is an example of how to implement account verification for a White Label user using blueprints in Unreal Engine. For an example you can copy and paste into your editor, [look here](https://blueprintue.com/blueprint/mhgc3j5y/).

**Input**

You need to exchange the `TriggerWhiteLabelUserVerification`event for whatever event you want to use to trigger the login flow.

You also need to replace the node `REPLACE: Input` with the users id.

**Output**

We recommend branching the completed events on the success flag, and if you do this you will probably want to add error handling in case the request fails as well as what (if any) continued actions you want on success.
{% endtab %}

{% tab title="Godot" %}
{% hint style="warning" %}
This requires you to have enabled Account Verification in [Platform Settings](https://console.lootlocker.com/settings/platforms/white_label_login).
{% endhint %}

```gdscript

var response = await LL_WhiteLabel.RequestVerification.new("an-email").send()
if(!response.success) :
    # Request failed, handle errors
    pass
else:
    # Request succeeded, use response as applicable in your game logic
    pass
```

{% endtab %}

{% tab title="REST" %}

```bash
curl -X POST "https://api.lootlocker.io/white-label-login/request-verification" \
  -H "domain-key: 11aaa11" \
  -H "is-development: true" \
  -H "Content-Type: application/json" \
  -d "{\"user_id\": 406}"
```

This will return a 204 without a body response.
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lootlocker.com/players/white-label-login/how-to/request-user-verification.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
