குழுவை நிர்வகியுங்கள்
How to use the LumaKol API and webhooks
Create API keys your tools use to read and write leads and calls, and add webhooks that push signed events to your endpoint. Both come with paid plans.
Short answer
To use the LumaKol API, create a key in Get leads in → API & webhooks with only the permissions a tool needs; it is shown once and sent as a bearer token. Add a webhook and LumaKol pushes signed lead, call and task events to your https endpoint as they happen, retrying failed deliveries. Both come with paid plans.
- Owner or admin access: API & webhooks is in the sidebar under Get leads in, which only people who can change settings see
- A paid plan: during the free trial the API & webhooks page is locked, so no keys or webhooks can be added and the API cannot be used
- Someone who can write a little code, or a tool that accepts an API key
- For webhooks: an https address of your own that the internet can reach
- 1
Create a key with only the permissions that tool needs
Go to Get leads in → API & webhooks and press Create key. Name it after the tool rather than the person, because that name is what you will see in this list and in the security log months from now. Then tick only the permissions the tool needs. A key that can only read cannot be made to write anything.
- leads:read (read leads, stages and outcomes)
- leads:write (create, update and delete leads, add notes)
- calls:read (read the call history)
- users:read (read the people in this workspace)
- webhooks:manage (create and delete webhooks)
குறிப்பு: A dashboard that only displays numbers needs leads:read and nothing else. Add a write permission on the day a tool needs to write. You can also give a key an expiry date and a list of the IP addresses it may be used from, and change both later without changing the key.
- 2
Copy the key now: it is shown once
The key starts with lk_live_ and appears exactly once, in the dialog straight after you create it. Only a hash of it is stored, so nobody can read it back later; the list shows the first few characters so you can tell your keys apart. If you lose it, revoke that key and create a new one. A key belongs to the workspace rather than to one agent, because an integration that saw only part of your leads would sync half your data and look broken. Everything a key writes is attributed to it in the security log.
- 3
Base URL and the first call
Get leads in → API & webhooks shows your base URL (today https://api.lumakol.com/api/v1), and the key goes on every request as a bearer token. Make GET /ping your first call: it answers with the workspace the key belongs to and the permissions it carries, which proves the key, the header and the address are right before you write any real code. Every endpoint, field and error code is listed in the API reference, under Get leads in → API & webhooks → API reference (you need to be signed in).
- curl https://api.lumakol.com/api/v1/ping -H "Authorization: Bearer lk_live_…"
- 4
Read your leads
GET /leads returns a page of leads, filtered by stage, owner, source, tag or q for a text search, with limit up to 200 at a time. The answer is an object rather than a bare list: the leads are in data, with next_cursor and has_more beside them.
- curl "https://api.lumakol.com/api/v1/leads?limit=100" -H "Authorization: Bearer lk_live_…"
- GET /leads/find looks one lead up by phone, email or the external_id you set yourself
- GET /stages and GET /dispositions give you the ids behind your own pipeline and outcome lists
- 5
Paging, and keeping a copy in step
To page, pass a page’s next_cursor back as cursor and repeat until has_more is false. The cursor is stable, so leads that change while you are paging cannot make you skip a row. For an ongoing sync, remember when you last ran and send that as updated_since on the next run: you get only what changed since, and you page through it the same way. Each key may make 60 requests a minute, and a workspace 120 a minute across its keys and 5,000 a day. API keys and webhooks are available on paid plans, not during the free trial. Responses carry RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers, and a 429 comes with Retry-After. When Remaining reaches zero, wait for the reset instead of retrying in a loop.
குறிப்பு: updated_since plus cursor is the whole sync: one full pass the first time, then only the changed rows on every run after that. - 6
Add a webhook
Go to Get leads in → API & webhooks and press Add webhook. The URL must be https and reachable from the internet; a private or internal address is refused. Tick the events you want, then use Test to queue a sample delivery and prove your receiver works before you rely on it. Deliveries arrive within seconds.
- lead.created: a lead is added by hand, through the API, a form, a lead source, Google Sheets sync, CRM sync, the website chat or a missed call (not by a file import)
- lead.updated: a lead is edited, in the app, through the API or by an automation rule (logging a call outcome sends call.logged instead)
- lead.stage_changed: a lead moves to another pipeline stage
- lead.assigned: a lead is given to someone, or taken away
- call.logged: an outcome is logged against a call
- follow_up.due: a lead with an owner has a follow-up due within 15 minutes
- task.created: a to-do or meeting is added to a lead
- task.updated: a to-do or meeting is changed, done, cancelled or marked a no-show
- Something happensa lead arrives, an outcome is logged
- Recordedqueued before it is sent
- Signed POSTJSON over https
- Your endpoint answersany 2xx and it is done
One delivery. The event is recorded first, so a restart cannot lose it - 7
Verify the webhook signature
Every webhook request carries four headers: X-LumaKol-Event, X-LumaKol-Delivery, X-LumaKol-Timestamp and X-LumaKol-Signature. The signature is sha256= followed by an HMAC-SHA256 of the timestamp, a full stop and the raw body, keyed with the signing secret shown when you created the webhook (it starts with whsec_). Recompute it over the bytes you actually received rather than your re-serialised JSON, compare the two in constant time, and reject anything whose timestamp is not recent. A request that does not match did not come from LumaKol.
- The signed string is the timestamp, a full stop, then the body, in that order
- X-LumaKol-Delivery stays the same across retries: store it and ignore a repeat, because a delivery that timed out on our side is retried even if your server finished it
- New secret rotates the key and the old one stops working at once, so update your receiver first
- 8
The delivery log and the retries
Recent deliveries, under each webhook, lists the last deliveries with the event, whether they went through, the status code your server returned or the error we hit, and when. Anything that is not a 2xx (a redirect counts as a failure) is retried after five minutes, fifteen minutes, an hour, three hours, six hours and six hours again: seven attempts over about sixteen hours. A receiver that is down for a while loses nothing, and one that is down all day is eventually given up on. Only the status code or error is kept, never your response body. The webhook keeps showing its last failure until it succeeds or you switch it off and on.
- The switch pauses a webhook without deleting it, which is what you want while you redeploy. LumaKol also switches a webhook off by itself after five deliveries in a row fail every retry, and tells the owners and admins
- Delivery rows are for debugging and are cleared after 30 days
- Deleting a webhook drops whatever is still queued for it
- 9
Revoke a key you no longer need
Revoke stops everything using that key immediately, and it cannot be undone; keys have no pause. Revoke when a tool is retired, when the person who set it up leaves, or the moment you suspect a key has leaked, then create a new one and paste it into the tool. The list shows when each key was last used, which is the quickest way to spot one that nothing needs any more.
இறுதியில் உங்களிடம் இருப்பது
- A key per tool, carrying only the permissions that tool needs
- A sync that reads only what changed since it last ran
- Signed events arriving at your own endpoint, with a log of failed deliveries
பொதுவான கேள்விகள்
Can an API key be limited to one agent’s leads?
No. Keys cover the whole workspace, because an integration that could see only part of the data would sync half your leads and look broken. Limit what a key can do with its permissions instead.
What happens if my webhook endpoint is slow?
LumaKol waits about ten seconds for an answer, then treats it as a failure and retries. Answer with a 2xx as soon as you have the payload and do your own work afterwards.
Do I need an API key to use webhooks?
No. You add webhooks yourself, under Get leads in → API & webhooks, on a paid plan. The webhooks:manage permission is only for a tool that needs to subscribe on your behalf.
Can I try the API or webhooks during the free trial?
No. The API, API keys and webhooks come with paid plans, so the page is locked during the trial. Choose a plan and they work straight away. Lead sources, forms, Google Sheets sync and CRM sync can all be tried in the trial.
Can LumaKol check the signature of leads I send in?
Yes. A Website or other app, Zapier, Pabbly Connect or Make lead source can have a signing secret. Sign each request with it in an X-LumaKol-Signature header, the same way LumaKol signs its own webhooks, and the source refuses any request without a matching signature. Lead sources need no API key.
Is there a test workspace for the API?
There is no separate sandbox. Use Test on a webhook, which sends a sample payload marked as a test, and a read-only key against your real workspace, which cannot change anything.
Can I use Zapier instead of writing code?
Yes. LumaKol has its own Zapier app: add it from the Zapier integration page, then paste a key with leads:read, leads:write, calls:read, users:read and webhooks:manage when Zapier asks to connect. New leads, stage moves and call outcomes can start a Zap, and a Zap can create, find and update leads or add a note. API keys work on every paid plan; creating leads through the API or a Zap needs Growth or above.
தொடர்புடையவை
- தயாரிப்புஇணைப்புகள்Google Ads, IndiaMART, போர்ட்டல் மின்னஞ்சல்கள், படிவக் கருவிகள், API
- கட்டுரைLumaKol API and webhooks: connect your other software
- வழிகாட்டிHow to connect Facebook, Google Ads and IndiaMART leads
ஆதரவுக் குழுவுக்கு எழுதுங்கள் — ஒவ்வொரு செய்திக்கும் ஒரு வணிக நாளுக்குள் ஒரு நபர் பதிலளிப்பார்.
ஆதரவைத் தொடர்பு கொள்ளுங்கள்




