Events
Every Shortcut webhook event type, the scope it needs, exactly when it fires, and example payloads for each family.
After this page you can choose the event types your integration needs, know exactly which change in Shortcut sends each one, and parse every payload.
Every event has the same envelope, described on Webhooks. Its data.object is the record exactly as the resource's GET returns it, with the same fields as the API reference. Two events are about records that no longer exist, and carry a tombstone instead: visit.deleted and payment.reversed.
Families and scopes
There are 28 event types in 7 families. Subscribing to any event of a family needs the family's read scope.
Customers
customers:read
customer.created, customer.updated, customer.deactivated
Leads
leads:read
lead.created, lead.updated, lead.dismissed
Estimates
estimates:read
estimate.sent, estimate.approved, estimate.declined, estimate.voided
Jobs
jobs:read
job.created, job.updated, job.paused, job.resumed, job.canceled
Visits
visits:read
visit.scheduled, visit.rescheduled, visit.assigned, visit.completed, visit.canceled, visit.deleted
Invoices
invoices:read
invoice.created, invoice.sent, invoice.paid, invoice.overdue, invoice.voided
Payments
payments:read
payment.recorded, payment.reversed
A change made in the app, the crew app, the customer portal, an automation, or the API sends its events. An import (from a spreadsheet or another system) sends none, however many records it creates or changes: after an import, read what changed with updatedSince; see Sync.
Customers
customer.created
A customer is created.
customer.updated
The customer's name, company, email, phone, or status changes (reactivating included); or one of their properties is added, changed, or removed; or a tag is added to or removed from them; or one of their custom-field values changes. It also fires, with an empty changedFields, when a setting that is not part of the customer object changes, such as their autopay or invoicing settings.
customer.deactivated
The customer is deactivated.
A person becomes a customer in the API once they have a job, or a lead of theirs reaches the customer stage: the same rule as GET /v1/customers/{id}. An event is sent only when its record can be read that way at the moment it is sent, so customer.created for someone who is still only a lead is not sent. To hear when a lead becomes a customer, subscribe to lead.updated (its lifecycleStage changes to customer) or job.created.
Leads
lead.created
A lead is created, from your website form, the app, or POST /v1/leads. Imported leads send no event.
lead.updated
Any of the lead's name, company, email, phone, address, square footage, services requested, special requests, lifecycle stage, or linked customer or property changes, or a dismissed lead is restored.
lead.dismissed
The lead is dismissed.
Estimates
estimate.sent
The estimate is sent to the customer for the first time. Sending it again, or a reminder, sends no event.
estimate.approved
The estimate is approved, by the customer or on their behalf.
estimate.declined
The estimate is declined.
estimate.voided
The estimate is voided.
Jobs
job.created
A job is created.
job.updated
A job is edited from a date on, such as a price change. Shortcut keeps the job's history by ending the old version on that date and starting a new version from it. The event is about the new version, whose previousVersionJobId names the version it replaces.
job.paused
The job is paused.
job.resumed
A paused job is resumed.
job.canceled
The job is canceled.
When a job's crew changes, the visits that follow the job's crew get a new crew, so each of its open visits that does sends visit.assigned. The job itself sends no event for it.
Visits
visit.scheduled
A visit is put on the schedule: created as scheduled or rescheduled (a visit created as rescheduled sends visit.scheduled, not visit.rescheduled), or its status becomes scheduled (other than from rescheduled). A visit created as pending sends nothing until it is scheduled.
visit.rescheduled
An open visit (not completed, canceled, or skipped) moves to another date, or its status becomes rescheduled.
visit.assigned
The crew that will do the visit changes: the visit is assigned to another crew, its assignment is cleared, or the job's crew changes while the visit follows it. Assigning a visit to the crew it already had sends nothing.
visit.completed
The visit is completed.
visit.canceled
The visit is canceled.
visit.deleted
An open visit (not completed or canceled) is removed from the schedule, as when a recurring series is re-planned. The payload is a tombstone.
A visit whose status becomes skipped or needs_reschedule sends no event. The crew fields are explained in Visits and crews.
Invoices
invoice.created
An invoice is created, as a draft or already sent.
invoice.sent
The invoice is sent to the customer for the first time. Reminders, and a reversed payment that makes a paid invoice unpaid again, send no event.
invoice.paid
The invoice is paid in full.
invoice.overdue
A sent, unpaid invoice's dueAt passes. dueAt is midnight UTC at the start of the printed dueDate, which in US time zones is the evening before that date.
invoice.voided
The invoice is voided.
invoice.overdue is not the result of an edit: Shortcut checks for invoices that have just become overdue every hour, at 25 minutes past the hour UTC, so the event can arrive up to about an hour after dueAt. Invoices still in import review are not checked. It is sent once for each invoice and due date; if the due date moves and passes again, it is sent again. Its createdAt is when Shortcut found the invoice overdue. Subscribing does not replay old ones: only due dates that pass on or after the day the oldest of the workspace's active or paused webhooks subscribed to invoice.overdue was created, and within the last three days, are sent. List older overdue invoices with GET /v1/invoices?status=overdue.
Payments
payment.recorded
A payment is recorded against an invoice: paid online, or recorded as cash, check, or another method.
payment.reversed
A recorded payment is reversed (undone) and no longer exists. The payload is a tombstone.
Changed fields
On an event caused by an update, changedFields lists the public fields that changed, sorted. Events caused by a record being created or deleted, and invoice.overdue, have an empty list. The exception is customer.updated for an added or removed property, tag, or custom-field value, which lists "properties", "tags", or "customFields". Two events from one change, such as customer.deactivated and customer.updated when an edit deactivates a customer and changes their email, share one list.
Customers
firstName, lastName, companyName, email, phone, status; "properties" when a property was added, changed, or removed; "tags" when a tag was added or removed; "customFields" when a custom-field value changed.
Leads
firstName, lastName, companyName, email, phone, address, sqFootage, servicesRequested, specialRequests, status, lifecycleStage, customerId, propertyId.
Estimates
status.
Jobs
status, effectiveUntilDate, teamId.
Visits
status, date, assignedTeamId, effectiveTeamId. A change of assignedTeamId always lists effectiveTeamId too.
Invoices
status.
Payments
Always empty.
changedFields says what changed, not what it was before. Keep your own copy if you need the old value.
Example payloads
Ids, names, and amounts below are examples.
customer.updated
The customer's lawn was measured, so a property changed:
A tag or custom-field change moves the customer's own updatedAt. A property change does not: the property's updatedAt shows when it changed.
lead.created
estimate.approved
job.updated
The weekly mowing price changed from November 2. The object is the new version; previousVersionJobId is the version that ended:
A new version is a new record, so changedFields is empty. Compare it with the version it replaces, which you can still read with GET /v1/jobs/{id}: its effectiveUntilDate is the last day it covers. If you keep one row per job, move your row to the new id.
visit.rescheduled
visit.deleted
The visit no longer exists, so the object is a tombstone of what it was:
id, object
The deleted visit.
deleted
Always true. Only tombstones have it.
date, status
The visit's date and status when it was deleted.
jobId, customerId
The job and customer it belonged to. customerId is null when the visit was deleted together with its job.
assignedTeamId, effectiveTeamId
Its crew assignment, as on a visit. effectiveTeamId is null when the visit was deleted together with its job and had no crew of its own.
GET /v1/visits/{id} answers 404 for it. Remove it from your copy.
invoice.paid
invoice.overdue has the same object, with status overdue, and an empty changedFields. Because the overdue status is worked out from dueAt rather than stored by an edit, it does not move the invoice's updatedAt.
payment.recorded
payment.reversed
A recorded check was reversed, so the payment no longer exists. The object is a tombstone of what it was:
id, object
The reversed payment.
deleted
Always true.
invoiceId, customerId
The invoice it paid and that invoice's customer.
amount, method, paidAt
As on the payment before it was reversed.
The invoice's balance changes with it; read the invoice again with GET /v1/invoices/{id}.
webhook.test
POST /v1/webhooks/{id}/test sends this. It is signed like every event, carries no workspace data, and is never sent for anything else:
Answer it with a 2xx and ignore it otherwise.
Handle events
Route each event by type, and treat the object as the latest you have seen only if it is newer than your copy:
Receive, verify, and acknowledge first, then run this from a queue. See Retries and monitoring.
Last updated