---
title: How to Generate an API Key and Add a Webhook in mailfloss
slug: how-to-generate-an-api-key-and-add-a-webhook-in-mailfloss
docTags: 
createdAt: 2023-06-27T22:52:30.953Z
---

To generate a mailfloss API key, or to add a webhook, follow these steps:&#x20;

Log in to your mailfloss account.&#x20;

1. Go to **Account Settings&#x20;**&#x69;n the sidebar.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/nI1IqBVl3eh4VDD_ijx1t_account-settings-in-the-sidebar-highlighted.png" size="34" width="504" height="846" position="center" darkWidth="504" darkHeight="846" showCaption="false"}

2\. To create an API key, click the **API keys** tab. Enter an optional **Label**, choose when the key **Expires** and its **Access** (**Full access** or **Restricted**), then click **Create API key**. mailfloss shows the full key only once, so copy it right away.

![](https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/VG68-KYsBYc-wpIQWvns8_api-keys-tab-create-api-key.png)

3\. To add a webhook, click the **Additional Settings** tab and turn on **Enable webhooks** in the **Webhooks** card. Webhooks require a Business or Pro plan.

![](https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/oasxRpR4Gd9YqgHZ1Wi0W_additional-settings-enable-webhooks.png)

Once activated, a new option called **"API & Webhooks"&#x20;**&#x77;ill appear in the sidebar.&#x20;



4\. Click on **API & Webhooks&#x20;**&#x69;n the sidebar.&#x20;

5\. From there, click "Add Webhook" to configure a webhook.



API keys may be needed for 3rd party integrations that use the mailfloss API, such as Zoho CRMs mailfloss extension, which was written by a third party and is not officially supported.

Zapier is another app that requires the API key, as well as our official API.
