> For the complete documentation index, see [llms.txt](https://api.clarityflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.clarityflow.com/~/changes/JkGQxI2dRe0JHYjcOaL1/webhooks.md).

# Webhooks

Webhooks enable your app or service to listen for events happening in Clarityflow and get notified via HTTP POST requests.

{% hint style="info" %}
*Tip:* [*webhook.site*](https://webhook.site/) *is a handy utility for testing webhooks and inspecting their payloads.*
{% endhint %}

### Registering Webhooks

Go to Settings > Integrations > **Manage Webhooks**.

Input the Webhook URL.

Select at least 1 Clarityflow event to trigger sending to this webhook URL.  These events are available.  Click each to see more information.

* [New conversation created](/~/changes/JkGQxI2dRe0JHYjcOaL1/api-reference/conversations.md)
* [New message created](/~/changes/JkGQxI2dRe0JHYjcOaL1/api-reference/messages.md)
* [A message video or audio player was played](/~/changes/JkGQxI2dRe0JHYjcOaL1/webhooks.md)

![](/files/yUKPXwr7ZdkugKjZ2e62)

### Consuming Webhooks

When an event occurs that triggers a webhook, we will send an HTTP POST to the URL you specified, with a JSON-encoded body.

Webhook request bodies include:

```
{
  "type": "conversation_created",
  "id": "862f22c9-b692-4b3f-9d7e-dcf64172719e",
  "occurred_at": "2022-04-01T10:06:53.992-04:00",
  "payload": {
    ...
  }
}
```

### Webhook Events

As of this writing (December 2024), webhooks can be sent when the following events occur in Clarityflow.  Click each to get more information about the data sent with each request:

* New Conversation
* New Message
* A Message was viewed
* An appointment was scheduled
* A purchase was made
* A form was submitted
