---
id: sdk.friendlycaptchasdkoptions
title: FriendlyCaptchaSDKOptions
hide_title: true
sidebar_class_name: sidebar-hidden
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@friendlycaptcha/sdk](./sdk.md) &gt; [FriendlyCaptchaSDKOptions](./sdk.friendlycaptchasdkoptions.md)

## FriendlyCaptchaSDKOptions interface

Options when creating a new SDK instance.

**Signature:**

```typescript
export interface FriendlyCaptchaSDKOptions 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[apiEndpoint?](./sdk.friendlycaptchasdkoptions.apiendpoint.md)


</td><td>


</td><td>

[APIEndpoint](./sdk.apiendpoint.md)


</td><td>

_(Optional)_ The API endpoint to use, defaults to `https://global.frcapi.com`<!-- -->.

Supports the following shortcuts: - `eu` - `https://eu.frcapi.com` - `global` - `https://global.frcapi.com`


</td></tr>
<tr><td>

[disableEvalPatching?](./sdk.friendlycaptchasdkoptions.disableevalpatching.md)


</td><td>


</td><td>

boolean


</td><td>

_(Optional)_ Whether to disable the patching of `window.eval`<!-- -->. Useful when the patching breaks your site, which in particular may affect some hot reloading functionality for Webpack (in `dev` mode).


</td></tr>
<tr><td>

[startAgent?](./sdk.friendlycaptchasdkoptions.startagent.md)


</td><td>


</td><td>

boolean


</td><td>

_(Optional)_ Start the background agent (and solver) immediately, defaults to `true`<!-- -->.


</td></tr>
</tbody></table>
