What you need
An API key lets your CRM use Welkai as you. A webhook makes Welkai tell your CRM, as it happens, when something happens, such as a new message.
Check these before you start:
| What | Where to check |
|---|---|
| The plan includes the API | Growth and up for sending, contacts and starting flows; Business and up for the full API and webhook settings by key |
| An API key for the CRM | API and webhooks > API keys |
| A webhook address on each number the CRM follows | Channels > Your channels, the card menu, Channel webhook |
| A test event that arrived | API and webhooks > Webhooks > Deliveries |
Connect it in five steps
- Make a key: open API and webhooks > API keys, press New API key, name it after your CRM, keep Read, Send and Contacts under What it can do (add Flows to start flows), then press Create key and copy it.
- In your CRM, paste your Welkai address (the API address on that page) and the key where it asks for them.
- Save your CRM's webhook address: in Channels > Your channels, open Channel webhook in the number's card menu, paste it under Webhook URL and press Save webhook. Give the Signing secret to the CRM so it can check each event.
- Press Send a test event in the same dialog. The answer from your CRM shows at once, and every event later shows under Deliveries.
- Give your contacts your CRM's ids: the CRM sends them as it adds contacts, or you type one in a contact's CRM id field. Then your CRM finds each person by its own id, and every event names it.
Start flows and show Welkai inside your CRM
Your CRM can start a flow for a contact, such as an order update or a welcome series. A system that cannot hold an API key, such as a form or a shop, can use the flow's own address instead: in the flow editor open Flow settings > Webhook trigger.
Your team can edit a number's flows inside your CRM: make an Embed key from the number's card menu and list the CRM's site under API and webhooks > Website embed.
Your developer finds every request, with examples, in your API description: your API address followed by /openapi.yaml.
Connect Claude or ChatGPT
- In Claude or ChatGPT, add a custom connector (Claude) or a custom MCP server (ChatGPT) with your Welkai address followed by /mcp, and choose sign-in (OAuth).
- The app sends you to Welkai: sign in, pick what it can do and which numbers, and press Allow.
- It appears under Connected apps on the API keys tab. Press Disconnect to stop it at once.
Check webhooks and fix problems
Check each event is really from us before your CRM uses it. Every event carries the header X-Hub-Signature-256: sha256= and then the HMAC-SHA256 of the raw body, in hex, made with your Signing secret.
Your CRM makes the same value from the body exactly as it arrived, before reading the JSON, and compares the two with a constant-time compare. In Node.js: crypto.createHmac('sha256', secret).update(rawBody).digest('hex'). Refuse the event when they differ.
An event your CRM did not accept is tried again 10 times over about 3 days. You get a notice when a number's webhook keeps failing; fix the address or the CRM, then press Send again in Deliveries.
A key stops working on its end date, when it is revoked, or when the person who made it leaves the team. Make a new one and paste it into the CRM.