# Bot Webhooks

Konverse platform lets you Webhook any session data from the bot to your desired endpoint

![Settings for Web-hook](https://3300248524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDd7Ctz3jgnCJLDydlP%2Fuploads%2Fk5A3vD7ZXwu5VQzHrFfg%2FScreenshot_2021-12-24_13-13-42.png?alt=media\&token=f2518fa6-a720-4c26-b912-274a4f895113)

Konverse platform also allows to instruct bot to send text, quick reply or attachment through the Webhook response. Please refer to response formats below. &#x20;

### Text

```json
{
	"konverse": {
		"type": "text",
		"text": ["Hello from webhook"]
	}
}
```

### Attachment

```json
{
	"konverse": {
		"type": "attachment",
		"attachment": {
			"url": "https://cdn.pixabay.com/photo/2020/06/17/12/33/watermelon-5309310_960_720.png",
			"mime": "image/jpeg"
		}
	}
}
```

#### Supported Mime types

| Media      | Supported Content-Types                                                                                                                                                                                                          |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `audio`    | `audio/aac`, `audio/mp4`, `audio/amr`, `audio/mpeg`                                                                                                                                                                              |
| `document` | `application/pdf`                                                                                                                                                                                                                |
| `image`    | `image/jpeg`, `image/png`                                                                                                                                                                                                        |
| `sticker`  | `image/webp`                                                                                                                                                                                                                     |
| `video`    | <p><code>video/mp4</code>, <code>video/3gpp</code><br></p><p><strong>Notes:</strong></p><ul><li>Only H.264 video codec and AAC audio codec is supported.</li><li>Only videos with a single audio stream are supported.</li></ul> |

### Stop Propagation

```json
{
	"konverse": {
		"stopPropagation": true
	}
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.konverse.ai/platform/bot-webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
