Skip to content
WebhooksLast updated

Webhook Events and Fields ​

Event types ​

typeWhen it's sentAlso in data
appointment.createdAn appointment is createdactor_type
appointment.confirmedAn appointment is confirmedprevious_status, actor_type
appointment.cancelledAn appointment is canceledprevious_status, actor_type
appointment.completedAn appointment is completedprevious_status, actor_type
appointment.no_showAn appointment is marked as a no-showprevious_status, actor_type
appointment.rescheduledAn appointment's start time changesprevious, actor_type
appointment.updatedOther appointment details change, such as services, staff, amounts, payments, the deposit, or the customerNothing
customer.createdA customer is added or unarchivedcustomer, with no appointment
customer.updatedA customer's name, email, phone number, or preferred language changescustomer, with no appointment
customer.deletedA customer is archived or deletedcustomer, with no appointment
service.createdA service is created, or a deleted service is restoredservice, with no appointment
service.updatedA service's details change, such as its name, duration, price, category, staff, or sort orderservice, with no appointment
service.deletedA service is deleted, including services deleted with their categoryservice, with no appointment
staff.createdA staff member joins the merchantstaff, with no appointment
staff.updatedA staff member's name changesstaff, with no appointment
staff.deletedA staff member is removed from or leaves the merchant, or their account is deletedstaff, with no appointment
payment.createdA payment is recorded on an appointmentpayment, with no appointment
refund.createdA refund is recorded on an appointmentrefund, with no appointment
pingYou select [Send test event] in the dashboardNothing; data is {}
  • An endpoint receives only the events it subscribes to. You don't need to subscribe to ping.
  • An appointment that is auto-confirmed when it is created produces two events: appointment.created first, then appointment.confirmed (with previous_status set to pending). The created_at of appointment.created is not later than that of appointment.confirmed.
  • appointment.rescheduled is not sent when the start time stays the same.
  • When an appointment is rescheduled with a staff change, only appointment.rescheduled is sent. Its data.appointment includes the new staff.
  • appointment.updated is sent only when the appointment (excluding updated_at) differs from that in the appointment's previous event. The previous event can be of any type, including types the endpoint doesn't subscribe to.
  • No event is sent when the merchant changes its currency or time zone. Call GET /merchant for the current settings.
  • When appointments are confirmed, completed, marked as no-shows, or canceled in bulk, one event is sent per appointment.
  • For multi-slot and recurring appointments, one appointment.created is sent per appointment.
  • customer.updated is not sent when other customer details (such as notes or tags) change, or when the customer is archived.
  • service.updated and staff.updated are sent only when the content differs from the previous event for the same service or staff member (excluding the service's updated_at). When a category is renamed, each service in it gets a service.updated.
  • When a staff member leaves the merchant, each service assigned to them gets a service.updated (its staff_ids change), in addition to staff.deleted.
  • service.updated is not sent for changes to a deleted service.
  • When one checkout uses both cash and points, each of the two payments gets a payment.created.
  • When a payment or refund changes the appointment (for example, the amount paid or the payment status), appointment.updated is also sent, under the rule above.

Payload format ​

json
{
  "id": "0198d2a0-0000-7000-8000-000000000001",
  "object": "event",
  "api_version": "v1",
  "type": "appointment.rescheduled",
  "created_at": "2026-11-15T06:30:02Z",
  "data": {
    "appointment": { "…": "see below" },
    "previous": { "start_at": "2026-11-19T02:00:00Z" },
    "actor_type": "merchant_user"
  }
}
FieldTypeDescription
idstringEvent ID, the same as the webhook-id header. It doesn't change when the event is retried or resent
objectstringAlways event
api_versionstringFormat version of the content, currently v1, set on the endpoint. Within a version, only backward-compatible changes are made: new fields, event types, or enum values
typestringEvent type. See Event types
created_atstringWhen the event was recorded, in ISO 8601 UTC
dataobjectEvent content

Fields in data:

FieldTypeDescription
appointmentobjectThe appointment. See Appointment fields. appointment.* only
customerobjectcustomer.* only: the customer, with only id and object. See Customer
serviceobjectservice.* only: the service. See Service
staffobjectstaff.* only: the staff member. See Staff
paymentobjectpayment.created only: the payment. See Payments and refunds
refundobjectrefund.created only: the refund. See Payments and refunds
previous_statusstringappointment.confirmed, appointment.cancelled, appointment.completed, and appointment.no_show only: the appointment status before the change
previous.start_atstringappointment.rescheduled only: the original start time, in ISO 8601 UTC
actor_typestringThe type of the actor. See Actor. appointment.* only, except appointment.updated

data.appointment is the appointment as it was read when the event was recorded. When parsing, skip fields you don't recognize.

Appointment fields ​

json
{
  "id": "0198c5f1-0000-7000-8000-000000000001",
  "object": "appointment",
  "reference": "7K3M9Q",
  "series_id": null,
  "status": "confirmed",
  "source": "web",
  "start_at": "2026-11-20T02:00:00Z",
  "end_at": "2026-11-20T03:00:00Z",
  "timezone": "Asia/Taipei",
  "local_date": "2026-11-20",
  "local_start_time": "10:00",
  "local_end_time": "11:00",
  "party_size": 1,
  "total_price": "1800",
  "currency": "TWD",
  "payment_status": "unpaid",
  "deposit": {
    "amount": "500",
    "paid": "0",
    "due_at": "2026-11-18T15:59:59Z",
    "reported_at": null
  },
  "status_reason": null,
  "customer": {
    "id": "0198c5f3-0000-7000-8000-000000000001",
    "object": "customer"
  },
  "items": [
    {
      "service": { "id": "0198c5f4-0000-7000-8000-000000000001", "name": "Trial class" },
      "staff": { "id": "0198c5f5-0000-7000-8000-000000000001", "name": "Sample Instructor" },
      "start_at": "2026-11-20T02:00:00Z",
      "end_at": "2026-11-20T03:00:00Z",
      "duration_minutes": 60,
      "quantity": 1,
      "unit_price": "1800",
      "pricing_basis": "per_booking",
      "line_total": "1800"
    }
  ],
  "created_at": "2026-11-15T06:29:40Z",
  "updated_at": "2026-11-15T06:29:40Z"
}
FieldTypeDescription
idstringAppointment ID (UUID)
objectstringAlways appointment
referencestring or nullThe appointment reference number
series_idstring or nullSeries ID
statusstringpending, confirmed, completed, cancelled, no_show
sourcestring or nullBooking source: web, line_liff, line_conversation, merchant_panel
start_atstringStart time, in ISO 8601 UTC
end_atstringService end time, in ISO 8601 UTC
timezonestringThe merchant's time zone (IANA name)
local_datestringThe date in the merchant's time zone, YYYY-MM-DD
local_start_timestringThe start time in the merchant's time zone, HH:mm
local_end_timestringThe end time in the merchant's time zone, HH:mm
party_sizenumberNumber of people
total_pricestringTotal amount as a string in the currency's major unit, with no thousands separators or symbols (1800, 12.50)
currencystringCurrency code
payment_statusstringunpaid, partially_paid, fully_paid
depositobject or nullThe deposit. null when there is no deposit. See Deposit
status_reasonstring or nullThe reason entered when the appointment was canceled or marked as a no-show. null otherwise or when none was entered
customerobject or nullThe customer. See Customer
itemsarrayThe appointment items. See Items
created_atstring or nullWhen the appointment was created, in ISO 8601 UTC
updated_atstring or nullWhen the appointment was last updated, in ISO 8601 UTC

Deposit ​

FieldTypeDescription
amountstringDeposit amount, as a string in the major unit
paidstringDeposit paid, as a string in the major unit
due_atstring or nullDeposit due time, in ISO 8601 UTC
reported_atstring or nullWhen the customer reported paying, in ISO 8601 UTC

Customer ​

FieldTypeDescription
idstringCustomer ID (UUID)
objectstringAlways customer

To get the name, phone number and email, call GET /v1/customers/{id} with a key that has customers:read. See API Resources and Fields. Archived and deleted customers return 404.

Service ​

The same fields as GET /v1/services/{id}. See API Resources and Fields. service.deleted carries the service as it was when deleted; after that, GET /v1/services/{id} returns 404.

Staff ​

The same fields as GET /v1/staff/{id} (id, object, name). See API Resources and Fields. staff.deleted carries the name at the time they left; after that, GET /v1/staff/{id} returns 404.

Payments and refunds ​

data.payment has the same fields as GET /v1/payments/{id}, and data.refund has the same fields as GET /v1/refunds/{id}. See API Resources and Fields. The appointment is in appointment_id; retrieve it with GET /v1/appointments/{id} (the key needs appointments:read).

Items ​

FieldTypeDescription
service.idstringService ID
service.namestring or nullService name
staffobject or nullStaff member. null when no staff member is assigned; otherwise contains id and name (name can be null)
start_atstring or nullItem start time, in ISO 8601 UTC
end_atstring or nullItem service end time, in ISO 8601 UTC
duration_minutesnumberService duration in minutes
quantitynumberNumber of people
unit_pricestringUnit price, as a string in the major unit
pricing_basisstringper_booking (one price for the whole group) or per_person (priced by number of people)
line_totalstringThe amount for this item, as a string in the major unit. For per_person it is the unit price times the number of people; for per_booking it equals the unit price

Actor ​

actor_type gives only the type of the actor, not their identity.

ValueDescription
merchant_userA staff member of the shop
customerA customer
systemNo actor

For appointment.created, it depends on the booking source: web, line_liff, and line_conversation give customer; merchant_panel gives merchant_user; no source gives system.