Webhook Data Fields — Field Reference by Event

This guide explains, one by one, the headers and common fields of a webhook request (eventId, event, data) and the data fields for the six events (new idea, new comment, status change, notice published, agent reply, test). Each field is described with its format, meaning, and an example JSON. It also covers timestamp formats, how empty values are handled, and the structure of the notification target (audience). Keywords: webhook fields, payload, JSON, eventId, phone, continueUrl, audience, externalId.

Updated

This is a reference document for those building a webhook receiver server. Each event's fields and their formats are described one by one. For registration, signature verification, retries, and Alimtalk integration, see the Connecting to Our System via Webhooks document.

Webhooks registered with Slack or Jandi URLs are sent in those messengers' message formats. The JSON in this document is the format delivered to other URLs (such as your own server).

Common to All Events

How are requests delivered?

A POST request is sent once to the registered URL, and the body is UTF-8 JSON. The following headers are attached.

HeaderValue
Content-Typeapplication/json
User-AgentLenit-Webhooks/1.0 (+https://lenit.cloud)
X-Lenit-EventEvent name — same as event in the body
X-Lenit-Signaturet=<Unix seconds>,v1=<signature> — used to verify that the request was sent by Lenit. See the signature section of the connection document for how to verify it

What comes at the top of the body?

Five fields are included. Event-specific content is always inside data.

FieldFormatDescription
eventIdString (UUID)Unique per event. When an event is resent after a failure, the same value is used, so if you skip an eventId you have already processed, you will not handle the same event twice
eventStringEvent name — one of the six listed below
eventLabelStringKorean name of the event (e.g., 새 아이디어). Always in Korean regardless of the workspace language
eventLabelEnStringEnglish name of the event (e.g., New idea)
dataObjectEvent content — see the per-event tables below

What format are timestamps in?

They are ISO 8601 strings, but the timezone notation differs by event. Length of seconds and fractional digits may be shortened or omitted depending on the value, so read them with a library that supports ISO 8601.

EventExampleMeaning
New idea, new comment, status changed, announcement published2026-11-09T14:03:12.481Korea Standard Time (UTC+9) with no timezone designator. It is always Korea time, regardless of the workspace timezone
Agent reply2026-11-09T05:03:12.481ZUTC (trailing Z)
Test2026-11-09T14:03:12.481+09:00Korea time with timezone offset

How are empty values delivered?

New idea, new comment, status changed, and announcement published send an empty string (""); agent reply and test send null. Fields that may be empty are noted in the tables below. Fields may be added in the future, so please make sure your handler ignores unknown fields.

Per-Event data

Which events exist?

eventName (eventLabel / eventLabelEn)When it is sent
idea.created새 아이디어 / New ideaWhen a customer submits an idea on the public board or widget
comment.created새 댓글 / New commentWhen a comment is posted on an idea
idea.status_changed아이디어 상태 변경 / Idea status changedWhen an idea's status changes
announcement.published공지사항 발행 / Announcement publishedWhen an announcement is published
chat.reply_unread상담원 답변 (고객 미확인) / Agent reply (unread)When an agent replies in a widget chat and the customer does not view it within 2 minutes
webhook.test테스트 전송 / Test deliveryWhen the Send test (paper airplane) button is clicked in the webhook list

What is sent for new ideas (idea.created)?

The idea ID, title, author, and timestamp are sent. It is not sent for ideas created directly by an administrator.

FieldFormatDescription
ideaIdString (UUID)Lenit idea ID
titleStringIdea title
authorIdString (UUID)Customer ID within Lenit — differs from userId in your service
createdAtTimestamp (Korea time)Time of submission
{
  "eventId": "0b6f2d1e-…",
  "event": "idea.created",
  "eventLabel": "새 아이디어",
  "eventLabelEn": "New idea",
  "data": {
    "ideaId": "3f2b8c1e-…",
    "title": "다크 모드 지원",
    "authorId": "a71c09d4-…",
    "createdAt": "2026-11-09T14:03:12.481"
  }
}

What is sent for new comments (comment.created)?

The comment ID, idea ID, author, and timestamp are sent. The comment body is not included. Check the content in the admin screen using the ideaId.

FieldFormatDescription
commentIdString (UUID)Lenit comment ID
ideaIdString (UUID)ID of the idea the comment was posted on
authorIdString (UUID)Author ID within Lenit — differs from userId in your service
createdAtTimestamp (Korea time)Time the comment was posted
{
  "eventId": "6a3e…",
  "event": "comment.created",
  "eventLabel": "새 댓글",
  "eventLabelEn": "New comment",
  "data": {
    "commentId": "c48d…",
    "ideaId": "3f2b8c1e-…",
    "authorId": "a71c09d4-…",
    "createdAt": "2026-11-09T14:10:40.002"
  }
}

What is sent for status changes (idea.status_changed)?

The idea ID and title, the status name before and after the change, and the time of change are sent. If you selected notification recipients for the webhook, audience is also included (see ‘Notification Recipients’ below).

FieldFormatDescription
ideaIdString (UUID)Lenit idea ID
titleStringIdea title
oldStatusStringStatus name before the change. "" if there was no status
newStatusStringStatus name after the change. "" if the status was cleared
updatedAtTimestamp (Korea time)Time the status was changed
audienceObject (only when present)Only for webhooks where recipients were selected — see ‘Notification Recipients’

Status names are delivered exactly as defined under Feedback Board > Statuses. If an administrator renames a status, subsequent events will use the new name, so update your code as well if you branch on the name.

{
  "eventId": "8d0f3a52-…",
  "event": "idea.status_changed",
  "eventLabel": "아이디어 상태 변경",
  "eventLabelEn": "Idea status changed",
  "data": {
    "ideaId": "3f2b8c1e-…",
    "title": "다크 모드 지원",
    "oldStatus": "처리중",
    "newStatus": "완료됨",
    "updatedAt": "2026-11-09T15:20:05.913",
    "audience": {
      "author": { "externalId": "user_123", "traits": { "plan": "pro" } },
      "voters": [ { "externalId": "user_456" }, {} ]
    }
  }
}

What is included in an announcement published event (announcement.published)?

The announcement ID, title, and category, the linked idea IDs, and the publish time are included. If you selected a notification audience, audience is also attached.

FieldFormatDescription
announcementIdString (UUID)The Lenit announcement ID
titleStringAnnouncement title
categoryStringOne of NEW (new feature) · IMPROVEMENT (improvement) · FIX (bug fix) · NOTICE (notice)
linkedIdeaIdsStringA string of the linked idea IDs joined by commas (not an array). "" if none are linked
publishedAtTimestamp (Korea Standard Time)The time the announcement was published
audienceObject (only when present)Only for webhooks where an audience was selected — see “Audience” below
{
  "eventId": "51c2…",
  "event": "announcement.published",
  "eventLabel": "공지사항 발행",
  "eventLabelEn": "Announcement published",
  "data": {
    "announcementId": "e90a…",
    "title": "다크 모드가 나왔어요",
    "category": "NEW",
    "linkedIdeaIds": "3f2b8c1e-…,7d41…",
    "publishedAt": "2026-11-09T16:00:00"
  }
}

What is included in an agent reply event (chat.reply_unread)?

All the values needed to notify customers by KakaoTalk alert or SMS are included — phone number, reply preview, a link back to the same conversation, and timestamps. For when it is sent and an example KakaoTalk alert template, see the linked document Sending KakaoTalk alerts or SMS to customers with agent replies.

FieldFormatDescription
conversationIdString (UUID)The Lenit conversation ID
messageIdString (UUID)The ID of the agent reply that triggered this notification. Use this value to make sure a KakaoTalk alert is sent only once
phoneString or nullThe phone in the user-identification JWT takes priority; otherwise, the mobile number the customer entered in the widget. Digits only (01012345678). If the customer entered it starting with +, the + is kept (+821012345678). null if no number was provided. Not included for webhooks where customer phone numbers are turned off
replyPreviewStringThe first 200 characters of the agent reply (ending with … if longer). Formatting symbols such as bold or links are removed, and line breaks are kept. If only an attachment was sent, (첨부 파일) or (Attachment) in the customer's language
continueUrlString (URL)A link that takes the customer back to the same conversation when tapped. Usable for 30 days and opens only that conversation. Always starts with https://api.lenit.cloud/
continuePathStringThe part of continueUrl after https://api.lenit.cloud/ (no leading slash) — the value to put into the KakaoTalk alert button variable
conversationStartedAtTimestamp (UTC)The time the customer started the conversation
repliedAtTimestamp (UTC)The time the agent replied
userIdString or nullThe userId of your service passed to the widget for user identification — included only when the conversation was started after the customer was verified by signature (JWT·HMAC). null for customers who passed only an unsigned userId or for anonymous visitors, or if the value looks like an email address or phone number (since anyone can put any value into an unsigned userId, looking up a number from it could send the alert to the wrong person)
{
  "eventId": "c1e7…",
  "event": "chat.reply_unread",
  "eventLabel": "상담원 답변 (고객 미확인)",
  "eventLabelEn": "Agent reply (unread)",
  "data": {
    "conversationId": "5a9e…",
    "messageId": "f02c…",
    "phone": "01012345678",
    "replyPreview": "확인해 보니 결제는 정상 처리됐어요.\n영수증은 메일로 다시 보내 드렸어요.",
    "continueUrl": "https://api.lenit.cloud/api/v1/notifications/redirect/chat/5a9e…?u=…",
    "continuePath": "api/v1/notifications/redirect/chat/5a9e…?u=…",
    "conversationStartedAt": "2026-11-09T03:57:00Z",
    "repliedAt": "2026-11-09T04:20:00Z",
    "userId": "user_123"
  }
}

continueUrl contains a key that is used only for that customer. Include it only in KakaoTalk alerts or SMS sent to the customer, and do not leave it in logs or shared channels.

What is included in a test (webhook.test)?

A short message to confirm the connection is included. It is sent in the same format and with the same signature as real events, and it is not resent if it fails.

FieldFormatDescription
messageStringA notice sentence in the workspace language (레닛 웹훅 테스트 요청이에요. / This is a test request from Lenit.)
webhookIdString (UUID)The ID of the webhook that sent the test
organizationSlugStringThe slug of the workspace address (the value in lenit.cloud/board?slug=…)
sentAtTimestamp (with time zone)The time it was sent

Audience

What does audience look like?

In status change and announcement published events, data.audience is attached only when the webhook has a notification audience selected. Only the fields for the selected groups are included, with up to 500 people per group. For who is placed in which group, see the Notification audience section of the linked document.

FieldFormatWho is included
authorOne person objectThe idea's author
commentersArray of person objectsPeople who commented
votersArray of person objectsPeople who voted
reactorsArray of person objectsPeople who added emoji reactions

What is included in a person object?

Only the userId you passed and general attributes are included. Email, name, and phone number are not sent.

FieldFormatDescription
externalIdString (only when present)The userId of your service passed via the widget or CSV. Removed if the value looks like an email address or phone number
traitsObject (only when present)Attributes passed to the widget that are not personal information (e.g., { "plan": "pro" })

If neither is available, an empty object {} is sent. Anonymous visitors are also counted in the list, so the array length is the group's headcount. When contacting people, use externalId to look up contact details in your own customer database.

Frequently asked questions

How do eventId and messageId differ?

eventId is the ID of a single webhook event. It is present in every event and stays the same when an event is resent. messageId is the ID of the agent reply message and is present only in agent reply events. Use eventId to avoid processing the same event twice, and messageId to avoid sending duplicate KakaoTalk alerts for the same reply.

Can I look up members of my service by authorId?

No. authorId is an ID inside Lenit. Your service's userId is sent as externalId in the audience of status change and announcement published events, and as userId in agent reply events.

The times are 9 hours apart.

Timestamps for new ideas, new comments, status changes, and announcement publishing are in Korea Standard Time (KST) when no time zone is shown, while timestamps for agent replies are in UTC (marked with a Z at the end). Please read each time with the time zone that matches the event.

Powered by Lenit