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

# Create a Webhook Inbox

> Create a webhook inbox to get a unique capture URL you can paste into any external service as a webhook destination.

Creating a webhook inbox takes less than a minute. Once created, you get a unique URL that any external service — Stripe, GitHub, Slack, or anything else that sends HTTP requests — can use as a webhook destination. Every request sent to that URL is captured and stored in your dashboard.

## Create an inbox

<Steps>
  <Step title="Open your project">
    Go to the [dashboard](https://swisstools.dev) and open the project where you want to add the webhook inbox.
  </Step>

  <Step title="Go to Webhooks">
    Click **Webhooks** in the project sidebar.
  </Step>

  <Step title="Click New Webhook">
    Click the **New Webhook** button in the top-right corner.
  </Step>

  <Step title="Fill in the details">
    Give your inbox a name. The description field is optional but useful when you have multiple inboxes in the same project.
  </Step>

  <Step title="Click Create">
    Click **Create**. Your inbox is created immediately and your unique webhook URL is displayed on the inbox detail page.
  </Step>
</Steps>

## Your webhook URL

After creation, the detail page shows a URL in this format:

```
https://abc12345-my-api.swisstools.dev/api/webhook/01H2X3Y4Z5ABC
```

Copy this URL and paste it as the webhook destination in the external service you want to receive events from. The service will send HTTP requests to this URL; Swisstools captures each one.

## Send a test request

You can verify your inbox is working by sending a request manually:

```bash theme={null}
curl -X POST https://abc12345-my-api.swisstools.dev/api/webhook/01H2X3Y4Z5ABC \
  -H "Content-Type: application/json" \
  -d '{"event": "payment.success", "amount": 9900}'
```

The request appears in the dashboard immediately. You can use any HTTP method and any payload — Swisstools records whatever arrives.

## Edit or delete an inbox

To rename an inbox or update its description, open the inbox from the Webhooks list and use the edit controls on the detail page. To remove an inbox entirely, click **Delete** on the inbox card in the Webhooks list. Deleting an inbox is permanent and removes all captured requests.

<Note>
  Swisstools stores up to 50 requests per inbox and retains them for 12 hours. Requests older than 12 hours are automatically removed. If you need to keep a payload longer, copy it from the dashboard before the window expires.
</Note>
