---
title: Como configurar uma integração via webhook e JSON Web Tokens (JWT)
description: Assista o video e saiba como criar e configurar uma integração via webhook.
---

[Pular para o conteúdo](https://help.leadster.com.br/pt-br/article/58-como-configurar-uma-integracao-via-webhook#main-content)

Português - Brasil

Mostrar submenu para traduções

[![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=pt-br)

Abrir navegação principal

Fechar navegação principal

- Português - Brasil
  
  Mostrar submenu para traduções
- [Fale conosco](https://survey.hsforms.com/1dmIUytXBR8KNMnTsArZOZQejqhe)

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

 Como podemos te ajudar?

- Não há sugestões porque o campo de pesquisa está em branco.

1. [Central de Ajuda - Leadster](https://help.leadster.com.br/pt-br?hsLang=pt-br)
2. [Integrações](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br)
3. [Webhook e conectores](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#webhook-e-conectores)

# Como configurar uma integração via webhook e JSON Web Tokens (JWT)

**Neste artigo**

- [Assista ao vídeo](https://help.leadster.com.br/pt-br/article/58-como-configurar-uma-integracao-via-webhook#assista-ao-video)
- [Exemplos de post utilizados no video](https://help.leadster.com.br/pt-br/article/58-como-configurar-uma-integracao-via-webhook#exemplos-de-post-utilizados-no-video)

## Assista ao vídeo

Assista o video e saiba como criar e configurar uma integração via webhook:

<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>

## Exemplos de post utilizados no video

**Quando os campos são mapeados:**

```
{  "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/"  }}
```

**Quando os campos não são mapeados:**

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

Caso tenha dúvidas envie uma mensagem no chat dentro da plataforma.

Grande abraço!

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

    - [Erros e soluções](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#erros-e-solu%C3%A7%C3%B5es)
    - [Templates](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#templates)
    - [Equipe e configurações](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#equipe-e-configura%C3%A7%C3%B5es)
    - [Campanhas e disparos](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#campanhas-e-disparos)
    - [Relatórios](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#relat%C3%B3rios)
    - [Agente de IA](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#agente-de-ia)
    - [Caixa de entrada e conversas](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#caixa-de-entrada-e-conversas)
    - [Integrações e rastreamento de origem](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#integra%C3%A7%C3%B5es-e-rastreamento-de-origem)
    - [Primeiros passos](https://help.leadster.com.br/pt-br/whatsapp-suite?hsLang=pt-br#primeiros-passos)
- [Website Suite](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#main-content)

    - [Instalação no site](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#instala%C3%A7%C3%A3o-no-site)
    - [Design e exibição](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#design-e-exibi%C3%A7%C3%A3o)
    - [Eventos de conversão (GA4, Meta e Ads)](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#eventos-de-convers%C3%A3o-ga4-meta-e-ads)
    - [Agente de IA e Live Chat](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#agente-de-ia-e-live-chat)
    - [Criar e editar o fluxo](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#criar-e-editar-o-fluxo)
    - [Qualificação e condicionais](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#qualifica%C3%A7%C3%A3o-e-condicionais)
    - [Dashboard e Analytics](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#dashboard-e-analytics)
    - [Chamadas de conversão](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#chamadas-de-convers%C3%A3o)
    - [Redirecionamento para WhatsApp e agenda](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#redirecionamento-para-whatsapp-e-agenda)
    - [Fluxos por página e dispositivo](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#fluxos-por-p%C3%A1gina-e-dispositivo)
    - [Leads do chat do site](https://help.leadster.com.br/pt-br/website-suite?hsLang=pt-br#leads-do-chat-do-site)
- [ShopBot](https://help.leadster.com.br/pt-br/shopbot?hsLang=pt-br#main-content)

    - [Conectar sua loja](https://help.leadster.com.br/pt-br/shopbot?hsLang=pt-br#conectar-sua-loja)
    - [Configurar o ShopBot](https://help.leadster.com.br/pt-br/shopbot?hsLang=pt-br#configurar-o-shopbot)
- [Integrações](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#main-content)

    - [Eventos de marketing (Meta e GA4)](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#eventos-de-marketing-meta-e-ga4)
    - [RD Station](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#rd-station)
    - [CRMs](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#crms)
    - [Webhook e conectores](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#webhook-e-conectores)
    - [Automação de marketing e outras ferramentas](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#automa%C3%A7%C3%A3o-de-marketing-e-outras-ferramentas)
    - [Visão geral e solução de problemas](https://help.leadster.com.br/pt-br/integra%C3%A7%C3%B5es?hsLang=pt-br#vis%C3%A3o-geral-e-solu%C3%A7%C3%A3o-de-problemas)
- [Leads e relatórios](https://help.leadster.com.br/pt-br/leads-e-relat%C3%B3rios?hsLang=pt-br#main-content)

    - [Recebimento e relatórios de leads](https://help.leadster.com.br/pt-br/leads-e-relat%C3%B3rios?hsLang=pt-br#recebimento-e-relat%C3%B3rios-de-leads)
- [Conta e planos](https://help.leadster.com.br/pt-br/conta-e-planos?hsLang=pt-br#main-content)

    - [Assinatura, pagamento e cancelamento](https://help.leadster.com.br/pt-br/conta-e-planos?hsLang=pt-br#assinatura-pagamento-e-cancelamento)
    - [Conheça a Leadster](https://help.leadster.com.br/pt-br/conta-e-planos?hsLang=pt-br#conhe%C3%A7a-a-leadster)
    - [Acesso, usuários e segurança](https://help.leadster.com.br/pt-br/conta-e-planos?hsLang=pt-br#acesso-usu%C3%A1rios-e-seguran%C3%A7a)
    - [Planos e teste grátis](https://help.leadster.com.br/pt-br/conta-e-planos?hsLang=pt-br#planos-e-teste-gr%C3%A1tis)

[![](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=pt-br)

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

Copyright © 2026, Leadster