# Webhook

{% hint style="info" %}
To use the Web SDK please [install ](/how-to-install.md)the snippet first.
{% endhint %}

Response:

```javascript
{
    "UserId":"string",
    "CustomId":"string",
    "Name":"string",
    "Phone": {
        "CallingCode":"string",
        "Number":"string"
    },
    "PersonalEmail":"string",
    "BusinessEmail":"string",
    "Birthday": {
        "Day":"byte", // nullable
        "Month":"byte", // nullable
        "Year":"int" // nullable
    },
    "Gender":"string",
    "Address": {
        "Line1":"string",
        "Line2":"string"
    },
    "Country":"string",
    "City":"string",
    "ZipCode":"string",
    "ProjectId":"string",
    "Consents":[
        {
            "Id":"long",
            "Version":"int", // nullable
            "Type":"string",
            "Name":"string",
            "Grant":"bool" // true - accepted, false - not accepted, null - no response
            "Date":"DateTime"
        }
    ]
}
											
```

&#x20;In the Header you can find the field **"x-signature"** which is generated in the webhook creation is sent to verify the authenticity of the request


---

# 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.getcomplied.com/web-sdk/webhook.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.
