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

# API Settings

> Configure Enrow API access, your API key, a default webhook URL, and the country_code parameter from the dashboard

API settings control how you access the Enrow API and how it behaves on every request. This page covers who can access the API, where to find your API key, how to set a default webhook URL, and how the `country_code` parameter changes search behavior.

## Who can access the Enrow API?

The Enrow API is available to customers with an **active subscription** or **pay-as-you-go credits**. If your account has neither, the API section won't be accessible. To see how credits are consumed per endpoint, see [Credits & billing](https://docs.enrow.io/credits-billing.md).

## Where do I find my API key?

Your API key is in the [Enrow Dashboard](https://app.enrow.io) — click **API** in the left menu and copy the key. The same key authenticates every endpoint through the `x-api-key` header. For request examples and error handling, see [Authentication](https://docs.enrow.io/authentication.md).

> [!WARNING]
>
> Keep your API key secure. Never commit the API key to version control or share it publicly. Treat it like a password.

## How do I set a default webhook URL?

You can set a default webhook URL on the [API page](https://app.enrow.io/api) of the dashboard. Enrow checks the URL when you save it: see [How do I verify my webhook endpoint?](https://docs.enrow.io/how-webhooks-work.md#verify). This URL is used whenever no `webhook` is specified in an individual request, so you don't have to repeat it on every call.

When a request does include a `webhook` in its `settings` object, it replaces the dashboard default for Phone Finder and Email Verifier requests. For Email Finder requests, Enrow notifies both URLs.

For payload formats, deliveries, and security, see [How Webhooks Work](https://docs.enrow.io/how-webhooks-work.md).

## What does the country\_code parameter do?

The `country_code` parameter (ISO 3166-1 alpha-2) sets which local version of Google the API uses to resolve a company. Pass it in the `settings` object of your request. If nothing is provided, the default is `US`.

> [!NOTE]
>
> The country code is only useful when searching with `company_name` (not `company_domain`). It tells Enrow which local version of Google to use for resolving the company — for example, `google.de` for Germany or `google.fr` for France.

The country code is particularly useful for **homonyms** — companies that share the same name in different countries:

```json theme={null}
// Dove the soap brand (UK)
{
  "company_name": "Dove",
  "fullname": "John Doe",
  "settings": { "country_code": "GB" }
}

// Dove the chocolate brand (Germany)
{
  "company_name": "Dove",
  "fullname": "Hans Müller",
  "settings": { "country_code": "DE" }
}
```

The `settings` object also accepts `webhook` (a per-request webhook URL) and `retrieve_gender` (boolean). See the [Find Single Email](https://docs.enrow.io/api-reference/email-finder/find-single.md) reference for the full list of available settings.

## FAQ

> [accordion] Do I need a separate API key per endpoint?
>
> No. One API key authenticates every endpoint — [Email Finder](https://docs.enrow.io/api-reference/email-finder/find-single.md), [Email Verifier](https://docs.enrow.io/api-reference/email-verifier/verify-single.md), and [Phone Finder](https://docs.enrow.io/api-reference/phone/find-single.md). Pass the key in the `x-api-key` header on every request.

> [accordion] Does country\_code work with company\_domain?
>
> No. The `country_code` parameter only affects searches that use `company_name`. When you pass a `company_domain`, the domain already identifies the company, so the country code has no effect.

> [accordion] What happens if I set both a dashboard webhook and a per-request webhook?
>
> It depends on the endpoint. For Email Finder searches, Enrow sends the result to both URLs (once if they are the same). For Phone Finder searches and Email Verifier checks, the per-request `webhook` in the `settings` object replaces the dashboard default, which is only used when a request does not include its own `webhook` URL.

## Next steps

> [card] [Authentication](https://docs.enrow.io/authentication.md)
>
> How to pass your API key in the x-api-key header.

> [card] [How Webhooks Work](https://docs.enrow.io/how-webhooks-work.md)
>
> Set up webhooks to get notified when a search completes.

> [card] [Credits & billing](https://docs.enrow.io/credits-billing.md)
>
> See how credits are consumed for each endpoint.

> [card] [Find an email](https://docs.enrow.io/api-reference/email-finder/find-single.md)
>
> Run a single email search with custom settings.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.