# Integrated Webhook - Viewing the received payload

<figure><img src="/files/5edc01048dde19eea6a59d9a8f74689edb34bcb0" alt=""><figcaption></figcaption></figure>

### Introduction

In the context of automation and systems integration, webhooks play a crucial role by allowing different applications to communicate effectively and in real time. When a specific event occurs, a webhook can send an HTTP request to a predefined endpoint, carrying a payload that contains detailed information about the event.&#x20;

### Viewing the Received Payload

When configuring a webhook, it is essential to be able to view and analyze the received payload to ensure that the data is being transmitted correctly and to facilitate troubleshooting. On the Sprinthub platform, you can view the payload in two ways: raw format and code format.

To view the webhook results, click the webhook name to see the statistics.

<figure><img src="/files/f9b526b0e6faf0d0f4099031415a346ad78f1bf1" alt=""><figcaption></figcaption></figure>

### Example of Received Payload

The image below shows an example of a payload received by a webhook, where the data is presented in JSON format.

```
{
  "leadId": 2039,
  "opportunityId": 5804,
  "attendanceId": null,
  "requestData": {
    "version": 1,
    "name": "lingoplace",
    "status": "success",
    "code": 200,
    "message": "Ok",
    "path": "/signin?",
    "result": {
      "_id": "666f7c7cad297253a02c7742",
      "updatedAt": "2024-06-17T00:20:04.051Z",
      "createdAt": "2024-06-16T23:59:56.539Z",
      "accessedAt": "2024-06-16T23:59:56.539Z",
      "birthdate": "2000-11-08T00:00:00.000Z",
      "email": "dev.pdaug@gmail.com",
      "name": "Pedro Mundo",
      "active": true,
      "language": "English (British)",
      "phone": "11 944966894",
      "username": "pdaug",
      "token": "66a1413f531aaf27639525d1"
    },
    "timestamp": 1721844031880
  }
}
```

**Raw Format**

In raw format, the payload is displayed exactly as it was received, without any additional formatting. This format is useful for a quick inspection and to verify the integrity of the transmitted data.

<figure><img src="/files/bd7ccca94dddfbb5ec1c56b4e260ec1fa4a7b1e2" alt=""><figcaption></figcaption></figure>

**Code Format**

To facilitate reading and understanding, the payload can also be viewed in code format. This format highlights the JSON structure, making it easier to identify and analyze each field individually. See the following example:

<figure><img src="/files/209711f4e49fd35f09900fd3665f9a88870d9b90" alt=""><figcaption></figcaption></figure>


---

# 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://docs.sprinthub.com/en/topics/analyze/integrated-webhooks/integrated-webhooks-common-questions/integrated-webhook-viewing-the-received-payload.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.
