Webhooks

Event catalog

Every event type you can subscribe to, grouped by what it is about. The list is generated from the API's source, so it always matches what the API accepts.

Subscribing

Subscribe to single events (lead.won), a group (lead.*) or everything (*). Each event's data.object has the id and object of the record it is about plus the fields listed below; the envelope around it is the same for every event.

field, label, old, new, from and to on change events: field is the field's key, label its name in the workspace's language, old and new the stored values (ids for references), and from and to the same values as shown to people (names instead of ids, where Kweko has them).

Events marked as not sent yet are accepted in subscriptions so you can prepare for them.

Events

lead.*

EventWhendata.object
lead.createdA lead was created: in Kweko, through the API, by an import, from an inbound message or call, or by an integration.From the API and the Kweko app: number, name, amount, currency, pipeline_id, stage_id, owner_id, source, tags. Leads created from messages, calls and integrations carry their own fields.
lead.updatedA lead was edited: one event per save, whatever changed. The specific events (lead.stage_changed, lead.field_changed and the rest) still follow.changed (the changed field names, for example stage_id).
lead.stage_changedA lead moved to another stage.from, to (stage ids), pipeline_id, from_type, to_type (incoming, open, won or lost).
lead.pipeline_changedA lead moved to another pipeline.from, to (pipeline ids).
lead.owner_changedA lead got another owner.field, label, old, new, from, to.
lead.field_changedA field of a lead changed (one event per field).field (the field key), label (in the workspace's language), old, new, from, to.
lead.wonA lead reached a won stage.stage_id, amount, loss_reason.
lead.lostA lead reached a lost stage.stage_id, amount, loss_reason.
lead.reopenedA won or lost lead moved back to an open stage.stage_id, amount, loss_reason.
lead.deletedA lead was deleted.name, number.
lead.restoredA deleted lead was restored.name.
lead.mergedTwo duplicate leads were merged (by a member, or automatically by a duplicate rule). The event's record is the lead that stays; the other one is gone.name, merged_from (the id of the merged-away lead), moved (how many tasks, notes, messages and other items moved, by kind), auto (true for a duplicate rule).

contact.*

EventWhendata.object
contact.createdA contact was created.From the API and the Kweko app: name, phones, tags.
contact.updatedA field of a contact changed (one event per field).field, label, old, new, from, to.
contact.deletedA contact was deleted.name.
contact.opted_outA contact asked not to get marketing messages: STOP in a chat, the unsubscribe link of an SMS broadcast, or a member. Broadcasts and follow-up sequences skip them.contact_id, source (keyword, link or manual).
contact.opt_out_removedA member removed a contact's opt-out (the client asked to hear from you again).contact_id.

company.*

EventWhendata.object
company.createdA company was created.name, tags.
company.updatedA field of a company changed (one event per field).field, label, old, new, from, to.
company.deletedA company was deleted.name.

message.*

EventWhendata.object
message.receivedA client wrote in a connected channel.conversation_id, message_id, channel_id, channel, text, lead_id, contact_id; button when the client tapped a reply button (its id; text is its label), start for a Telegram /start link payload, new_conversation on the first message of a conversation.
message.sentAn outgoing message was accepted by the channel, or the owner of a Telegram Business account wrote to a client from their own Telegram app (then external is true).message_id, conversation_id, status; for owner messages also external, channel_id, channel, text, lead_id, contact_id.
message.deliveredThe channel reported an outgoing message as delivered.message_id, conversation_id, status.
message.readThe channel reported an outgoing message as read.message_id, conversation_id, status.
message.failedAn outgoing message could not be sent.message_id, conversation_id, status, error.
message.editedA message was edited in the messenger (Telegram bot and Telegram Business chats).message_id, conversation_id, channel_id, channel, text (the new text).
message.deletedA message was deleted in the messenger (Telegram Business chats). It stays in the Kweko history, marked deleted.message_id, conversation_id, channel_id, channel.

conversation.*

EventWhendata.object
conversation.createdThe first message of a new conversation arrived.The same fields as message.received.
conversation.assignedA conversation got an assignee (for example when a member first replies).conversation_id, assignee_id.
conversation.status_changedA conversation was resolved, reopened or snoozed.conversation_id, from, to, and until for snoozes.
conversation.snoozedA conversation was snoozed.conversation_id, from, to, until.
conversation.opted_outA client wrote STOP (or another opt-out word, such as STOP in Uzbek or Russian) in a chat. The contact also gets contact.opted_out.conversation_id, channel, contact_id.

bot.*

EventWhendata.object
bot.startedA chat bot flow or the AI operator started talking in a conversation (one at a time per conversation).conversation_id, automation_id, automation_name, kind (bot or agent), run_id.
bot.handoffA bot or the AI operator handed the conversation to a person (a handoff step, the client asked for a person, a low-confidence or ungrounded answer, or a turn or credit cap). The assignee (or the admins) are notified.conversation_id, lead_id, reason, automation_name, member_ids.
bot.stoppedA member took a conversation over from the bot with “Take over”.conversation_id.

sequence.*

EventWhendata.object
sequence.enrolledA lead was enrolled in a follow-up sequence (by a member, in bulk, or by an automation).lead_id, sequence_id, sequence_name, run_id.
sequence.exitedA follow-up sequence stopped early for a lead: the client replied, the lead changed stage, or it was won or lost.lead_id, sequence_id, sequence_name, run_id, reason (replied, stage_changed or lead_closed).

broadcast.*

EventWhendata.object
broadcast.scheduledAn owner or admin confirmed a broadcast for a later time, or moved the time of a scheduled one.broadcast_id, name, channel, scheduled_at, recipients (the confirmed count; the audience is checked again when it starts), estimated_cost, rescheduled, and previous_scheduled_at when it was moved.
broadcast.unscheduledA scheduled broadcast was called off before it started and is a draft again (canceled, or its audience or channel changed).broadcast_id, name, scheduled_at, reason (canceled or audience_changed).
broadcast.startedAn owner or admin confirmed a broadcast, or its scheduled time came; sending starts at a paced rate.broadcast_id, name, channel (telegram, whatsapp or sms), recipients, skipped (counts by reason), estimated_cost, and scheduled_at when it was scheduled.
broadcast.completedEvery recipient of a broadcast was handled.broadcast_id, name, channel, sent, failed, skipped.
broadcast.pausedA broadcast was paused.broadcast_id, name.
broadcast.resumedA paused broadcast was resumed.broadcast_id, name.
broadcast.canceledA broadcast was canceled; recipients not reached yet are skipped.broadcast_id, name.
broadcast.failedA scheduled broadcast could not start at its time (plan or daily limit, channel disconnected, nobody left to reach, template no longer approved); nothing was sent and the person who scheduled it is notified.broadcast_id, name, channel, scheduled_at, reason (monthly_limit, daily_limit, channel_unavailable, no_recipients, template, audience, too_many_recipients or no_permission).

call.*

EventWhendata.object
call.incomingA client's call started ringing on a connected phone line (telephony integration or the Kweko softphone).call_id, direction (in or out), status (ringing, answered, ended or missed), end_reason, from, to, client_phone (the client's number in full: webhooks are not masked), extension, member_id (who talked), owner_id, lead_id, contact_id, duration and talk_time (seconds), outcome, has_recording, started_at, answered_at, ended_at.
call.outgoingAn outgoing call started: click-to-call from Kweko (then actor is the member or key that placed it), or a call dialled on a desk phone or the provider's app.call_id, direction (in or out), status (ringing, answered, ended or missed), end_reason, from, to, client_phone (the client's number in full: webhooks are not masked), extension, member_id (who talked), owner_id, lead_id, contact_id, duration and talk_time (seconds), outcome, has_recording, started_at, answered_at, ended_at.
call.answeredSomeone picked up: the member for an incoming call, the client for an outgoing one. status is answered.call_id, direction (in or out), status (ringing, answered, ended or missed), end_reason, from, to, client_phone (the client's number in full: webhooks are not masked), extension, member_id (who talked), owner_id, lead_id, contact_id, duration and talk_time (seconds), outcome, has_recording, started_at, answered_at, ended_at.
call.endedA call ended, answered or not. status is ended or missed; end_reason says why an unanswered call ended (no_answer, busy, failed, voicemail or canceled). An unanswered incoming call also sends call.missed right after.call_id, direction (in or out), status (ringing, answered, ended or missed), end_reason, from, to, client_phone (the client's number in full: webhooks are not masked), extension, member_id (who talked), owner_id, lead_id, contact_id, duration and talk_time (seconds), outcome, has_recording, started_at, answered_at, ended_at.
call.missedAn incoming call ended without being answered. Kweko also creates the call-back task when the line is set to.call_id, direction (in or out), status (ringing, answered, ended or missed), end_reason, from, to, client_phone (the client's number in full: webhooks are not masked), extension, member_id (who talked), owner_id, lead_id, contact_id, duration and talk_time (seconds), outcome, has_recording, started_at, answered_at, ended_at.
call.recording_readyThe provider made the call's recording available.call_id, direction (in or out), status (ringing, answered, ended or missed), end_reason, from, to, client_phone (the client's number in full: webhooks are not masked), extension, member_id (who talked), owner_id, lead_id, contact_id, duration and talk_time (seconds), outcome, has_recording, started_at, answered_at, ended_at. Plus recording_path: fetch your workspace's address + /api + that path (https://<your-workspace>.kweko.uz/api/v1/calls/…/recording) with an API key that has calls:write to stream the audio. Kweko never sends the provider's own recording address, and the path works only with a key or a signed-in member who may listen to the call.
call.transcribedKweko AI transcribed the call (the workspace turned call transcription on) and, when call review is on, reviewed it.call_id, lead_id, contact_id, member_id, direction, language, audio_sec, credits (AI credits spent), has_review; with a review also summary, score (0 to 100), sentiment, next_steps. The transcript text itself is read with GET /v1/calls/{id}/transcript.
call.outcome_setA member (or a key with calls:write) recorded the call's outcome.call_id, direction (in or out), status (ringing, answered, ended or missed), end_reason, from, to, client_phone (the client's number in full: webhooks are not masked), extension, member_id (who talked), owner_id, lead_id, contact_id, duration and talk_time (seconds), outcome, has_recording, started_at, answered_at, ended_at. Plus note and next_task_id when a follow-up task was created.

task.*

EventWhendata.object
task.createdA task was created.task_id, title, type, due_at, assignee_id, and entity_type, entity_id when it belongs to a record.
task.updatedA task was changed.The task.created fields and changed (the changed field names).
task.completedA task was completed.The task.created fields and result.
task.overdueA task passed its due time without being completed.The task.created fields.
task.snoozedA task was snoozed.The task.created fields and until.
task.deletedA task was deleted. Deleting a repeating task also deletes its open repeats, one event each.The task.created fields; repeat_of (the task it repeated) for a deleted repeat.

note.*

EventWhendata.object
note.createdA note was added to a lead, contact or company. id and object are those of the record.note_id, mentions (member ids).
note.updatedA note was edited, pinned or unpinned. id and object are those of the record.note_id; mentions_added (member ids the edit newly names) after an edit, pinned after a pin change.
note.deletedA note was deleted. id and object are those of the record.note_id.

object.*

EventWhendata.object
object.createdAn object (a record of one of the workspace's own object types, such as a policy or a repair order) was created.type (the object type's key), number, name, amount, currency, pipeline_id, stage_id (empty for types without a board), owner_id, contact_id, company_id, lead_id, tags.
object.updatedAn object was edited: one event per save. The specific events still follow.type, changed (the changed field names).
object.stage_changedAn object moved to another stage.type, from, to (stage ids), pipeline_id, from_type, to_type (incoming, open, won or lost).
object.pipeline_changedAn object moved to another pipeline of its type.type, from, to (pipeline ids).
object.owner_changedAn object got another owner.type, field, label, old, new, from, to.
object.field_changedA field of an object changed (one event per field).type, field (the field key), label, old, new, from, to.
object.wonAn object reached a won stage.type, stage_id, amount, loss_reason.
object.lostAn object reached a lost stage.type, stage_id, amount, loss_reason.
object.reopenedA won or lost object moved back to an open stage.type, stage_id, amount, loss_reason.
object.deletedAn object was deleted.type, name, number.
object.restoredA deleted object was restored.type, name.

product.*

EventWhendata.object
product.createdA product was added to the catalog.name, price.
product.updatedA product was changed.name, price.
product.archivedA product was archived.name, price.
product.deletedA product was deleted from the catalog.name.

form.*

EventWhendata.object
form.submittedA visitor sent a Kweko website form (embedded with widget.js or on the hosted page). The lead it created or was added to is the event's record; a new lead also sends lead.created.form_id, form_name, submission_id, lead_id, contact_id, outcome (lead_created or note_added), answers (field, label, value), utm, referrer, landing_page.

order.*

EventWhendata.object
order.createdA connected shop or back office (MoySklad and other order integrations) created an order for a lead. id and object are those of the lead.lead_id, kind (the integration), order_id, order_name.
order.status_changed1C reported a new status for a lead's order. id and object are those of the lead.lead_id, kind (onec), status, document.
order.payment_received1C reported a payment for a lead's order. id and object are those of the lead.lead_id, kind (onec), amount, currency, document.

booking.*

EventWhendata.object
booking.createdA customer booked online (hosted page or widget.js). status is confirmed, or pending when bookings need approval. The contact (and lead, when the service creates one) are new or found by phone.id, status, service_name, member_id, customer_name, starts_at, ends_at, when (workspace time), contact_id, lead_id, task_id.
booking.rescheduledThe customer moved their booking with the manage link.The booking.created fields plus from and from_when.
booking.canceledA booking was canceled by the customer or by staff.The booking.created fields plus canceled_by (customer or staff) and from_status.
booking.status_changedStaff confirmed a request or marked a visit as completed or no_show.The booking.created fields plus from_status.

proposal.*

EventWhendata.object
proposal.viewedThe client opened an online proposal page (a document shared as a link). Counted once per visitor per 30 minutes; link previews and the seller's own previews are not.proposal_id, lead_id, document_id, invoice_id, title, kind, first (the first open), view_count, device.
proposal.acceptedThe client accepted an online proposal (typed name and a checkbox; not a digital signature).The proposal.viewed identifiers, accepted_name, accepted_at.
proposal.declinedThe client declined an online proposal.The proposal.viewed identifiers, reason (may be empty).

bulk_job.*

EventWhendata.object
bulk_job.startedA bulk change started in the background.entity, action, total.
bulk_job.completedA bulk change finished.entity, action, changed, skipped, records (the ids it changed).
bulk_job.undoneA bulk change was undone.entity, restored, conflicts (records edited since, left as they are).

limit.*

EventWhendata.object
limit.warningThe workspace is close to a plan limit.key, limit, current, plan.
limit.reachedThe workspace reached a plan limit.key, limit, current, plan.

restriction.*

EventWhendata.object
restriction.appliedKweko paused a feature of the workspace (anti-abuse protection).stage, feature, reason_code.
restriction.liftedA restriction ended.stage, feature.

pipeline.*

EventWhendata.object
pipeline.updatedA pipeline was renamed or its settings changed.name.

field.*

EventWhendata.object
field.createdA custom field was created.entity, key, type.
field.updatedA custom field was changed (its settings, its group, or its type).entity, key; after a type change also type, from_type, converted and removed (values kept and dropped).
field.deletedA custom field was deleted.entity, key.
field.group_createdA group of custom fields was created.entity, id, name.
field.group_updatedA field group was renamed or its rules changed.entity, id, name.
field.group_deletedA field group was deleted. Its fields stay, ungrouped.entity, id, name.

member.*

EventWhendata.object
member.joinedSomeone accepted an invite and joined the workspace.role.
member.deactivatedA member was deactivated.status.

webhook.*

EventWhendata.object
webhook.disabledKweko disabled one of your webhooks after failed deliveries.reason, last_status, last_error.

workspace.*

EventWhendata.object
workspace.plan_changedThe workspace's plan or seat count changed: an upgrade, a downgrade, a trial ending, a lapsed payment moving it to Free. Fetch GET /v1/limits again or read the snapshot here.from and to (plan, plan_name, seats), previous_limits and limits (the limits snapshot).