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

# API Keys and Webhooks

> Create API keys for your own apps and integrations, and see the webhooks Hyperstack sends you.

Go to **Settings → Developers**. The page shows the API base URL, your API keys and your webhook log.

![The Developers page with the base URL, the authorization header and the API keys](https://mintcdn.com/hyperstack/BRB0JNPJFl2Fq7-q/images/developers.webp?fit=max\&auto=format\&n=BRB0JNPJFl2Fq7-q\&q=85\&s=280b708286ea9fcc9f1f1687098761d5)

> [!NOTE]
>
> Only administrators can manage API keys. API access depends on your plan.

## Create an API key

**1. Click New API key**

**2. Name the key**

Use one key per app or integration, so you can revoke one without breaking the others. You can also say how you will use it. This helps our team support you.

![The New API key dialog](https://mintcdn.com/hyperstack/BRB0JNPJFl2Fq7-q/images/developers-new-key.webp?fit=max\&auto=format\&n=BRB0JNPJFl2Fq7-q\&q=85\&s=2b0ec1795c55c375743114b633bd0232)

**3. Click Create key, then copy it**

Send the key in the `Authorization` header of every request:

```bash theme={null}
curl https://api.thehyperstack.com/v1/auth \
  -H "Authorization: Bearer YOUR_API_KEY"
```

> [!WARNING]
>
> Keep your keys secret. Anyone with a key can issue credentials from your organization.

To revoke a key, open the menu on its row and click **Revoke key**. Every app that uses it stops working at once. Credentials already issued with it are not affected.

See the [API guide](/docs/api-guide/overview) for every endpoint.

## Webhooks

Hyperstack can call your endpoint each time a credential is issued. To set up the endpoint, call [Subscribe to webhook](/docs/api-guide/webhook-subscribe) with your URL and the `credential.issued` event.

The **Webhooks** section then shows your endpoint and a log of every webhook sent in the last 90 days, with its payload and your endpoint's reply. Use it to find out why a webhook failed.

![The webhook log with delivered and failed webhooks](https://mintcdn.com/hyperstack/BRB0JNPJFl2Fq7-q/images/developers-webhooks.webp?fit=max\&auto=format\&n=BRB0JNPJFl2Fq7-q\&q=85\&s=dc6b5a6a4535822e74ce9a416095951a)

See [Webhook events](/docs/api-guide/webhook-events) for the payload.


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