---
title: How to set up a webhook integration and JSON Web Tokens (JWT)
description: Watch the video (in Portuguese) to learn how to create and set up a webhook integration.
---

[Skip to content](https://help.leadster.com.br/en-us/article/58-how-to-set-up-a-webhook-integration-and-json-web-tokens-jwt#main-content)

- [English - United States](https://help.leadster.com.br/en-us/article/58-how-to-set-up-a-webhook-integration-and-json-web-tokens-jwt)
- [Español](https://help.leadster.com.br/es/article/58-como-configurar-una-integracion-via-webhook-y-json-web-tokens-jwt)
- [Português - Brasil](https://help.leadster.com.br/pt-br/article/58-como-configurar-uma-integracao-via-webhook)

English - United States

Show submenu for translations

[![leadster](https://help.leadster.com.br/hs-fs/hubfs/leadster-logo-colorida.png?width=168&height=36&name=leadster-logo-colorida.png)](https://help.leadster.com.br/pt-br?hsLang=en-us)

Open main navigation

Close main navigation

- - [English - United States](https://help.leadster.com.br/en-us/article/58-how-to-set-up-a-webhook-integration-and-json-web-tokens-jwt)
    - [Español](https://help.leadster.com.br/es/article/58-como-configurar-una-integracion-via-webhook-y-json-web-tokens-jwt)
    - [Português - Brasil](https://help.leadster.com.br/pt-br/article/58-como-configurar-uma-integracao-via-webhook)

  English - United States
  
  Show submenu for translations
- [Fale conosco](https://survey.hsforms.com/1dmIUytXBR8KNMnTsArZOZQejqhe)

[Fale conosco](https://survey.hsforms.com/1dmIUytXBR8KNMnTsArZOZQejqhe)

 Como podemos te ajudar?

- There are no suggestions because the search field is empty.

1. [Help Center - Leadster](https://help.leadster.com.br/en-us?hsLang=en-us)
2. [Integrations](https://help.leadster.com.br/en-us/integrations?hsLang=en-us)
3. [Webhook and connectors](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#webhook-and-connectors)

November 30, 2026

# How to set up a webhook integration and JSON Web Tokens (JWT)

**In this article**

- [Watch the video](https://help.leadster.com.br/en-us/article/58-how-to-set-up-a-webhook-integration-and-json-web-tokens-jwt#assista-ao-video)
- [POST examples used in the video](https://help.leadster.com.br/en-us/article/58-how-to-set-up-a-webhook-integration-and-json-web-tokens-jwt#exemplos-de-post-utilizados-no-video)

## Watch the video

Watch the video (in Portuguese) to learn how to create and set up a webhook integration:

<iframe width="560" height="315" src="https://www.youtube.com/embed/nc36RHbTPeY" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> </iframe>

## POST examples used in the video

**When the fields are mapped:**

```
{  "method": "POST",  "path": "/",  "query": {},  "headers": {    "x-forwarded-for": "187.23.74.204",    "x-forwarded-proto": "https",    "x-forwarded-port": "443",    "host": "b49d7154afc0aa78bd28a33d58728909.m.pipedream.net",    "x-amzn-trace-id": "Root=1-5fa43252-5638cea6170999f2337bd3ed",    "content-length": "108",    "content-type": "application/json"  },  "bodyRaw": "{\"phone\":\"(41) 99999-9999\",\"name\":\"André\",\"email\":\"andre@neurologic.com.br\",\"url\":\"http://localhost:8000/\"}",  "body": {    "phone": "(41) 99999-9999",    "name": "André",    "email": "andre@neurologic.com.br",    "url": "http://localhost:8000/"  }}
```

**When the fields are not mapped:**

```
{  "method": "POST",  "path": "/",  "query": {},  "headers": {    "x-forwarded-for": "187.23.74.204",    "x-forwarded-proto": "https",    "x-forwarded-port": "443",    "host": "b49d7154afc0aa78bd28a33d58728909.m.pipedream.net",    "x-amzn-trace-id": "Root=1-5fa43252-119b26c84c692fff35eab1a3",    "content-length": "1085",    "content-type": "application/json"  },  "bodyRaw": "{\"lead\":{\"id\":\"7151042b-3ee3-9eac-19d3-fadcd342d13b\",\"data\":{\"url\":\"http://localhost:8000/\",\"nome\":\"André\",\"e_mail\":\"andre@neurologic.com.br\",\"telefone\":\"(41) 99999-9999\"},\"script\":{\"id\":8025,\"name\":\"Principal - editando\",\"default\":true,\"enabled\":true,\"ab_test_id\":null,\"company_id\":10,\"discarded_at\":null,\"script_rule_id\":7778,\"script_version_id\":59945,\"privacy_policy_url\":null},\"synced\":false,\"email_to\":\"felipe@test.com\",\"lead_data\":[{\"key\":\"1::Telefone\",\"step\":1,\"value\":\"(41) 99999-9999\",\"created_at\":\"2020-11-05T14:11:32.642-03:00\"},{\"key\":\"9999::URL\",\"step\":1,\"value\":\"http://localhost:8000/\",\"created_at\":\"2020-11-05T14:11:32.646-03:00\"},{\"key\":\"2::Nome\",\"step\":2,\"value\":\"André\",\"created_at\":\"2020-11-05T14:11:38.507-03:00\"},{\"key\":\"3::E-Mail\",\"step\":3,\"value\":\"andre@neurologic.com.br\",\"created_at\":\"2020-11-05T14:11:45.707-03:00\"}],\"script_id\":8025,\"created_at\":\"2020-11-05T14:11:32.636-03:00\",\"email_from\":\"leads@neurologic.com.br\",\"updated_at\":\"2020-11-05T14:11:45.723-03:00\",\"integrations\":{},\"email_subject\":\"Novo lead gerado [Leadster]\",\"script_version_id\":59945}}",  "body": {    "lead": {      "id": "7151042b-3ee3-9eac-19d3-fadcd342d13b",      "data": {        "url": "http://localhost:8000/",        "nome": "André",        "e_mail": "andre@neurologic.com.br",        "telefone": "(41) 99999-9999"      },      "script": {        "id": 8025,        "name": "Principal - editando",        "default": true,        "enabled": true,        "ab_test_id": null,        "company_id": 10,        "discarded_at": null,        "script_rule_id": 7778,        "script_version_id": 59945,        "privacy_policy_url": null      },      "synced": false,      "email_to": "felipe@test.com",      "lead_data": [        {          "key": "1::Telefone",          "step": 1,          "value": "(41) 99999-9999",          "created_at": "2020-11-05T14:11:32.642-03:00"        },        {          "key": "9999::URL",          "step": 1,          "value": "http://localhost:8000/",          "created_at": "2020-11-05T14:11:32.646-03:00"        },        {          "key": "2::Nome",          "step": 2,          "value": "André",          "created_at": "2020-11-05T14:11:38.507-03:00"        },        {          "key": "3::E-Mail",          "step": 3,          "value": "andre@neurologic.com.br",          "created_at": "2020-11-05T14:11:45.707-03:00"        }      ],      "script_id": 8025,      "created_at": "2020-11-05T14:11:32.636-03:00",      "email_from": "leads@neurologic.com.br",      "updated_at": "2020-11-05T14:11:45.723-03:00",      "integrations": {},      "email_subject": "Novo lead gerado [Leadster]",      "script_version_id": 59945    }  }}
```

If you have any questions, send us a message in the chat inside the platform.

Best regards!

- [WhatsApp Suite](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#main-content)

    - [Integrations and source tracking](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#integrations-and-source-tracking)
- [Integrations](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#main-content)

    - [Webhook and connectors](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#webhook-and-connectors)
- [Account and plans](https://help.leadster.com.br/en-us/account-and-plans?hsLang=en-us#main-content)

    - [Access, users, and security](https://help.leadster.com.br/en-us/account-and-plans?hsLang=en-us#access-users-and-security)

[![](https://help.leadster.com.br/hs-fs/hubfs/leadster-logo-colorida-2.png?width=187&height=40&name=leadster-logo-colorida-2.png)](https://leadster.com.br/?hsLang=en-us)

<https://www.instagram.com/leadster.ai/> <https://leadster.com.br/blog/?hsLang=en-us> [mailto:atendimento@leadster.com.br](mailto:atendimento@leadster.com.br)

Copyright © 2026, Leadster

```json
{
  "@context" : "https://schema.org",
  "@type" : "TechArticle",
  "author" : {
    "@type" : "Organization",
    "name" : "Leadster",
    "url" : "https://leadster.com.br"
  },
  "dateModified" : "2026-11-30T20:56:28Z",
  "datePublished" : "2026-11-30T20:56:27Z",
  "description" : "Watch the video (in Portuguese) to learn how to create and set up a webhook integration.",
  "headline" : "How to set up a webhook integration and JSON Web Tokens (JWT)",
  "inLanguage" : "en-US",
  "mainEntityOfPage" : "https://help.leadster.com.br/en-us/article/58-how-to-set-up-a-webhook-integration-and-json-web-tokens-jwt",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://leadster.com.br/img/leadster-logo-v2.webp"
    },
    "name" : "Leadster",
    "url" : "https://leadster.com.br"
  },
  "url" : "https://help.leadster.com.br/en-us/article/58-how-to-set-up-a-webhook-integration-and-json-web-tokens-jwt"
}
```