---
url: >-
  https://game-engine-io.github.io/enginex-frontend-sdk/reference/api/@getenginex/sdk/interfaces/ConfigApi.md
---
[Reference](../../../index.md) / [@getenginex/sdk](../index.md) / ConfigApi

# ConfigApi

Operator public configuration. Does not require login.

## Methods

### get()

> **get**(`params?`, `options?`): `Promise`<[`OperatorConfig`](OperatorConfig.md)>

Operator configuration: currency, limits, payment methods, captcha and OTP.

#### Parameters

##### params?

[`NoParams`](../type-aliases/NoParams.md)

##### options?

[`CallOptions`](CallOptions.md)

#### Returns

`Promise`<[`OperatorConfig`](OperatorConfig.md)>

#### Example

```ts
const config = await enginex.config.get()
config.currency.decimalPlaces // 2
```

#### Throws

`INVALID_ARGUMENT` when the domain does not belong to any operator;
`VALIDATION_ERROR`, also in `'warn'`, with money or currency outside the format (currency, limits,
payment methods).

***

### getBranding()

> **getBranding**(`params?`, `options?`): `Promise`<[`Branding`](Branding.md)>

Colors, logos, legal links and contact of the operator.

#### Parameters

##### params?

[`NoParams`](../type-aliases/NoParams.md)

##### options?

[`CallOptions`](CallOptions.md)

#### Returns

`Promise`<[`Branding`](Branding.md)>

#### Example

```ts
const { colors, logos } = await enginex.config.getBranding()
```

***

### getProducts()

> **getProducts**(`params?`, `options?`): `Promise`<[`ProductsConfig`](ProductsConfig.md)>

Products enabled (casino, sportsbook, predictions) with route and order.

#### Parameters

##### params?

[`NoParams`](../type-aliases/NoParams.md)

##### options?

[`CallOptions`](CallOptions.md)

#### Returns

`Promise`<[`ProductsConfig`](ProductsConfig.md)>

#### Example

```ts
const { products } = await enginex.config.getProducts()
```

***

### getSportsbook()

> **getSportsbook**(`params?`, `options?`): `Promise`<[`SportsbookConfig`](SportsbookConfig.md)>

Provider and configuration of the sportsbook.

#### Parameters

##### params?

[`NoParams`](../type-aliases/NoParams.md)

##### options?

[`CallOptions`](CallOptions.md)

#### Returns

`Promise`<[`SportsbookConfig`](SportsbookConfig.md)>

#### Example

```ts
const sb = await enginex.config.getSportsbook()
if (sb.enabled && sb.provider === 'first') console.log(sb.config?.sportsbookUrl)
```

***

### getSupport()

> **getSupport**(`params?`, `options?`): `Promise`<[`SupportConfig`](SupportConfig.md)>

Support widget configuration.

#### Parameters

##### params?

###### type?

`string`

##### options?

[`CallOptions`](CallOptions.md)

#### Returns

`Promise`<[`SupportConfig`](SupportConfig.md)>

#### Example

```ts
const support = await enginex.config.getSupport({ type: 'intercom' })
```
