> For the complete documentation index, see [llms.txt](https://docs-v1.archipels.io/archipels-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v1.archipels.io/archipels-documentation/set-up/create-a-webhook.md).

# Create a Webhook

In this section we explain how to create and use a Webhook

Webhooks allow interaction between wallets and web applications through the use of custom callbacks.

Webhooks are used to receive notifications about attestation status, connection status, presentation and message.

## Set a Webhook

* Before creating a webhook linked to your wallet, you need to use a tool to receive the event message. If you don't have any tool able to handle webhook, we suggest using <https://webhook-test.com/> or <https://webhook.site/> for the test.
* When you click on the first link above, you land on a page where a unique webhook is automatically generated

<figure><img src="https://3286990890-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgeupdY3hrGssCi0E9aI%2Fuploads%2FVBiokjlK2buA0xteO7T2%2Fimage.png?alt=media&amp;token=cf81e75e-9fe8-4fd4-869a-564a0cb89463" alt=""><figcaption></figcaption></figure>

* For a better understanding, we suggest to edit this unique webhook URL.&#x20;

  * Click on `Edit`
  * Set a Title. For this first webhook, let's set for example "Holder"

  <figure><img src="https://3286990890-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgeupdY3hrGssCi0E9aI%2Fuploads%2FBg4AySvqLvkomWnVIBM5%2Fimage.png?alt=media&amp;token=66e6eb33-7000-4176-86a2-dc1e31583a42" alt=""><figcaption></figcaption></figure>
* Then copy the URL: like in our example (but your own generated URL <https://webhook-test.com/2b652ab07311bea8dfa30683ddaf9e30>)
* You will use it in the step below

## Create a webhook in your wallet

* From the web interface of your wallet, click on `Settings`
* In the Settings section, click on `Webhooks`&#x20;
* Click on the button `Create a webhook`
* Past in the URL field, the webhook URL you have copied above
* Create a secret token
* Select all events

{% hint style="info" %}
Select only events needed to avoid any unnecessary webhook calls. One suggestion is to create several webhooks: one webhook per specific topics (webhook for connection, webhook for attestation...)
{% endhint %}

<figure><img src="https://3286990890-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgeupdY3hrGssCi0E9aI%2Fuploads%2FTamIZDxwz4SoF8XXBjxw%2Fwebhook-creation.png?alt=media&amp;token=6b7a4d56-3605-4068-a85f-7d6c53f2119a" alt=""><figcaption></figcaption></figure>

* Then click on `Create`

We will use the webhook feature in the section [Accept attestation](/archipels-documentation/create-attestation-request/create-an-email-attestation-request-against-archipels/accept-attestation.md), please check [Create an attestation](/archipels-documentation/create-attestation-request/create-an-email-attestation-request-against-archipels.md)
