Webhooks, API & AI
14 articlesSend LeadPattern events to your own systems with signed webhooks, and connect AI apps like Claude and ChatGPT.
Guides in this section
AI Connectors (MCP) Overview
The LeadPattern MCP server lets Claude, ChatGPT and Cursor read your chats and, after you confirm, send messages, tag customers or build bots.
Build Bots by Describing Them
Describe an automation in plain words to Claude, ChatGPT or another AI app and it builds the LeadPattern bot for you, switched off until you turn it on.
Confirm and Approve AI Changes (MCP)
Every change an AI app makes through the LeadPattern MCP server is previewed first and only happens after you say yes. How it works, with examples, and how to also require approval in LeadPattern.
Connect ChatGPT to LeadPattern (MCP)
Add LeadPattern as a connector in ChatGPT so it can read your chats and customers and, with your confirmation, make changes in your workspace.
Connect Claude Code or Cursor (MCP)
Add the LeadPattern MCP server to Claude Code with one command, or to Cursor with a few lines of config.
Connect Claude to LeadPattern (MCP)
Add the LeadPattern MCP server as a custom connector in Claude (web or desktop) so Claude can work with your chats, customers, templates and bots.
Create a Webhook
Register a webhook endpoint in LeadPattern, choose the events it receives, sign deliveries with a secret, and send a test before saving.
Manage AI App Connections (MCP)
Connect AI apps to one or more LeadPattern workspaces, see which apps are connected, track what they did in the activity log and disconnect them any time.
Manage Webhooks
Edit LeadPattern webhooks, rotate or replace signing secrets with a 24-hour grace period, pause and resume deliveries, and understand each status badge.
Verify Webhook Signatures
Sign LeadPattern webhook deliveries and verify the HMAC-SHA256 X-Webhook-Signature header, with Node.js and Python examples that handle secret rotation.
Webhook Events
The 41 LeadPattern webhook events (messages, conversations, contacts, notes, flows, calls and WooCommerce) and the envelope every delivery uses.
Webhook Logs & Retries
How LeadPattern retries failed webhooks for ~24 hours, how to redeliver an event, when a webhook is auto-disabled, and how to read 30-day delivery logs.
Webhooks Overview
LeadPattern webhooks send real-time events, such as new messages, chat assignments and calls, to your own server as signed HTTPS POST requests.
What AI Apps Can Do in LeadPattern (MCP)
Everything Claude, ChatGPT and other AI apps can read and change through the LeadPattern MCP server, with example requests.

