GetComplied
  • Introduction 👋
  • How to Install 🛠️
  • Configure 🖊️
  • Web SDK
    • Showing the Popup
    • Language
    • Custom Position
    • Layer
    • Animation
    • Continue Anyway
    • Auto Open
    • Inputs
    • Input Lock
    • Rights Managment
      • Right to rectification
      • Right to data portability
      • Right to data access
      • Right to erasure (right to be forgotten)
    • Data-Attributes
    • Events
    • Query String
    • Callbacks
    • Api Commands
    • Debug Console
    • Webhook
  • GetComplied UI
    • Dashboard
    • Policies
    • Cookies
    • Projects
    • Contacts
    • Incidents
    • Incidents
    • Submissions
  • CRM, CMS & ERP
    • Integrations
  • HELP // SUPPORT
    • Still need help?
Powered by GitBook
On this page

Was this helpful?

  1. Web SDK

Webhook

You can always be up to date with your contacts. Receive the response below whenever a contact or his consents change.

PreviousDebug ConsoleNextDashboard

Last updated 5 years ago

Was this helpful?

To use the Web SDK please the snippet first.

Response:

{
    "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"
        }
    ]
}
											

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

install