> For the complete documentation index, see [llms.txt](https://developer.securecontainerrelease.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.securecontainerrelease.com/how-to/configure-event-notifications-and-webhooks/register-a-callback-url-for-notifications..md).

# Register a callback url for notifications.

Subscriptions (or webhooks) serve to specify a callback url that should be invoked when an event occurs.

### <mark style="color:yellow;">POST</mark> /subscriptions

#### Request:

```json
{
    "eventType": "string",
    "callback_url": "string"
}
```

**EXAMPLE**

<figure><img src="https://3962621206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42KNM6Ikou97oywFeUuW%2Fuploads%2Fb1AbhcELQwAPze3uZR0Z%2Fafbeelding.png?alt=media&amp;token=eced5cb3-e85d-4716-9a1c-ae13ffd288b6" alt=""><figcaption><p>server = <a href="https://URL+PORT/tmining/api/v1">https://url:port/tmining/api/v1</a></p></figcaption></figure>

The following `event types` are currently supported:

1. [`onRelease` ](/how-to/configure-event-notifications-and-webhooks/event-types./onrelease.md)
2. [`onAcceptInvitation`](/how-to/configure-event-notifications-and-webhooks/event-types./onacceptinvitation.md)
