# API Key

1. Sign up on [AIHomeDesign.com.](https://aihomedesign.com/)
2. To access the API key, you need to subscribe to one of our Enterprise plans.&#x20;
3. After subscribing to an Enterprise plan, click the icon next to the "All Tools" button. From there, select "API Key" to access your key.

<figure><img src="https://1694203522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fanw8A7ZZEFkicjKXkFik%2Fuploads%2FdbGNuaRypjxvpkA1DYG1%2Fapi-access.png?alt=media&#x26;token=50353ca8-503b-444c-b2b0-9956ae3d82c1" alt=""><figcaption></figcaption></figure>

In this section, you can view your API key or generate a new one by clicking the "Regenerate" button.

{% hint style="danger" %}
**Please note that if you reset your API key, the current key will be permanently deleted and cannot be recovered, so proceed with caution.**
{% endhint %}

<figure><img src="https://1694203522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fanw8A7ZZEFkicjKXkFik%2Fuploads%2FczrpEkcv94cMmyKstuMx%2Fapi-key.png?alt=media&#x26;token=4b231d35-36ff-4d6a-b989-38a136b072aa" alt=""><figcaption></figcaption></figure>

## Set your Webhook

You need to configure your webhook endpoint on the [API Access](https://aihomedesign.com/api-access) page. Your endpoint will be called whenever your images (order) are processed.

<figure><img src="https://1694203522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fanw8A7ZZEFkicjKXkFik%2Fuploads%2F0hZeYkvOeZWWfkNGPzhT%2Fwebhook.png?alt=media&#x26;token=c933d279-f46d-4b1c-a9bc-cbc9b047c863" alt=""><figcaption></figcaption></figure>

You can also view webhook logs here to monitor and troubleshoot your webhook activity.

{% hint style="info" %}
**What is Webhook and why do I need it?**

A **webhook** is a way for one application to send real-time updates to another application. It's like setting up a callback URL where you'll automatically receive notifications when an event occurs—no need to keep checking manually!

In this case, you need a webhook to receive the **generated image URL** (`after_src`) once your order is processed. This ensures you get the results instantly without delays or manual intervention. Set it up in the **API-access** section of your dashboard to get started!

[Learn more about Webhooks](https://doc.aihomedesign.com/api-endpoints/generated-image-webhook)
{% endhint %}
