# Resource webhooks

Receive webhook notifications whenever resources are created, updated, or deleted. Resource webhooks can be used to trigger actions in your application whenever a resource is changed, for example to create licenses or update an external inventory systems.

## Events[​](#events "Direct link to Events")

| Event              | Description                                           |
| ------------------ | ----------------------------------------------------- |
| `resource.created` | Occurs whenever a new resource is created.            |
| `resource.updated` | Occurs whenever a resource's information has changed. |
| `resource.deleted` | Occurs whenever a resource is deleted.                |

## Example Payload[​](#example-payload "Direct link to Example Payload")

We return JSON-formatted content with the following structure.

| Name    | Example content                                                                              | Description                                                |
| ------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| `id`    | `882a3ceb-319a-4cca-a6e7-65ead0760726`                                                       | UUID of the trigger resource                               |
| `type`  | `resource`                                                                                   | Resource type                                              |
| `event` | `resource.updated`                                                                           | Event that triggered the webhook, lowercase, dot-separated |
| `url`   | `https://app.freispace.com/planning/resources/882a3ceb-319a-4cca-a6e7-65ead0760726/overview` | URL to the updated resource                                |
| `data`  | `{}`                                                                                         | The resource's information                                 |

```
{

    "id": "a2dcb9dd-cf44-4c9c-8b77-f691e1745223",

    "type": "resource",

    "event": "resource.updated",

    "url": "https://app.freispace.com/resources/a2dcb9dd-cf44-4c9c-8b77-f691e1745223/overview",

    "data": {

        "id": "a2dcb9dd-cf44-4c9c-8b77-f691e1745223",

        "name": "Notebook 01",

        "number": "L01",

        "cost": 20,

        "cost_unit": "day",

        "cost_currency": "GBP",

        "byline": "ddd",

        "description": null,

        "color": "#000000",

        "email": null,

        "photo_url": "http://assets.app.freispace.io/freispace-public/resource_photos/a2dcb9dd-cf44-4c9c-8b77-f691e1745223.svg",

        "status": "active",

        "custom_fields": [],

        "global_fields": [],

        "created": "2026-09-29T13:35:48+00:00",

        "updated": "2026-10-05T12:46:49+00:00"

    }

}
```
