# Client (WIP)

## Initialize

<mark style="color:blue;">`GET`</mark> `https://api.koople.com/proxy/client/initialize`

This endpoint returns all the features enabled and the remote configs for the requested id.

#### Headers

| Name      | Type   | Description                 |
| --------- | ------ | --------------------------- |
| x-api-key | string | Environment client API key. |

#### Request Body

| Name    | Type   | Description     |
| ------- | ------ | --------------- |
| id      | string | User identifier |
| context | string | User attributes |

{% tabs %}
{% tab title="200 Evaluation successfully retrieved." %}

```
{
    "featureFlags": {
        "awesomeFeature": true,
        "superFeature": true
    },
    "remoteConfigs": {
        "theme": "light"
    }
}
```

{% endtab %}

{% tab title="404 Could not find an environment that matches the requested API key." %}

```
{
    // TODO
}
```

{% endtab %}
{% endtabs %}
