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

# API & webhooks

> Access Spacebring API and webhook add-on to build custom integrations and automated workflows with third-party platforms

Build your custom workflows and integrations between Spacebring and other third-party platforms using the Spacebring API and webhooks.

> [!NOTE]
>
> API & webhooks is a paid add-on to the Spacebring subscription. [Pricing](https://www.spacebring.com/pricing)

## Get access to API & webhooks

An [owner](https://www.spacebring.com/docs/administration/administrators.md#understand-administrator-roles) or a super administrator follows these steps:

1. Click your network name in the top left corner.
2. Go to **Network settings** > **Developers** page.
3. If you haven't yet, an owner [signs up for the API & webhooks add-on](https://www.spacebring.com/docs/administration/billing/make-changes-to-spacebring-subscription.md) from **Network settings** > **Billing**.
4. On the **API** tab, press **Generate credentials**, then copy the Client ID and Client Secret.
5. Use our documentation:
   * [API documentation and developer contacts](https://www.spacebring.com/docs/developer.md)
   * [Spacebring webhook event types](https://webhooks.spacebring.com/)

![](https://mintcdn.com/spacebring/lB6hDl1jiyHuiTyU/images/administration-api-&-webhooks-1.png?fit=max\&auto=format\&n=lB6hDl1jiyHuiTyU\&q=85\&s=b80529bea2363132713892f82300ec1d)

> [!TIP]
>
> If you have any API-related questions or run into issues, feel free to reach out to our team at [api@spacebring.com](mailto:api@spacebring.com).

## How API & webhooks work

**API**

* Acts as a two-way bridge, allowing your external software (like a CRM or access control system) to request information from and send commands to Spacebring.
* Enables you to build customized workflows and a cohesive tech stack by directly connecting Spacebring with your third-party platforms.

**Webhooks**

* Function as automated, real-time notifications from Spacebring to your application.
* Spacebring sends a webhook to a URL you specify whenever a particular event occurs in your network (e.g., a new booking is created, a user is added, a subscription ends).
* This ensures your connected systems are instantly updated without constant polling.

## Regenerate API credentials

For safety reasons, you might need to hide your credentials from someone who got access to them previously. In this case, an [owner](https://www.spacebring.com/docs/administration/administrators.md#understand-administrator-roles) or a super administrator can regenerate API credentials, and nobody except owners and super administrators will see them:

1. Click your network name in the top left corner.
2. Go to **Network settings** > **Developers** page.
3. Press **Regenerate credentials**.

> [!WARNING]
>
> After regenerating, the previous API credentials will become invalid, and nobody can access the API with them anymore.


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