> For the complete documentation index, see [llms.txt](https://docs.lhv.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lhv.com/home/connect/services/webhooks/full-bodied-webhooks.md).

# Full Bodied Webhooks

By default, webhook notifications include only key event details, which can be used to retrieve full message information from [Messages Services](/home/connect/services/messages.md). However, users have the option to include the entire message body for more comprehensive processing. This setting is configurable, allowing flexibility based on specific requirements. When enabled, the webhook notification includes an additional field, `messageBase64`, which contains the full message encoded in Base64 for efficient transmission and processing.

```
{
    "eventId": "8e0f3c1a-9b5d-4e7e-8f6c-2f1e2d3a4b5c",
    "eventTimestamp": "2024-03-16T05:01:02.171+00:00",
    "subscriptionReference":"232af6ba-6758-475b-ae2d-a957f470c298",
    "messageResponseId": "RESad6d57e211a94f1591b72fba9d63092b",
    "messageRequestId": "REQdc1be8be0f274bcda6c3e027b44cdd8c",
    "messageType": "ACCOUNT_STATEMENT",
    "messageCreatedTime": "2024-03-16T05:01:02.171+00:00",
    "regCode": "110022",
    "regCodeIssuer": "GB",
    "bankCode": "LHVUK",
    "messageBase64": "PHh...sxbV9jb250ZW50Lz4="   // Base64 encoded data here
}
```

### Enabling/ Disabling Full Bodied Webhooks&#x20;

The `attachFullBody` field allows users to enable or disable the inclusion of the full message body in he webhook. By setting this flag to `true`, the full message will be attached to the webhook payload encoded in base64, providing full information for efficient message handling.

This field can be configured during the creation of a webhook configuration or updated later through the edit configuration endpoint, offering flexibility to adjust the webhook content  as requirements evolve. See [Managing Webhook Configurations](/home/connect/services/webhooks/managing-webhook-configurations.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.lhv.com/home/connect/services/webhooks/full-bodied-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.
