View as Markdown

Webhook events

A webhook delivery is a POST of one event as JSON. To set up an endpoint, verify signatures and handle retries, see Subscribe to webhooks. The API reference has each event's full schema.

The envelope

Every event has the same envelope:

{
  "id": "evt_0123456789abcdef",
  "type": "assessment.completed",
  "created": 1791201600000,
  "organizationId": "js79m7b3kfqd3vqzwx0kpcnryx7h2k4e",
  "data": { "assessmentId": "...", "projectId": "...", "organizationId": "...", "partialFailure": false }
}

Choosing events

When you register an endpoint, list the event types it should get, or * for every event, including types added later.

Every event type

A field marked with ? can be left out.

An estimate or bid made in a sandbox sends estimate.generated or bid.generated with "sample": true in data. Other companies' events leave sample out.

EventWhen it is sentFields in data
project.createdA project was created.projectId, organizationId, name
project.updatedA project's name, status or privacy changed.projectId, organizationId, changes
project.archivedA project was archived.projectId, organizationId
assessment.startedA takeoff started measuring.assessmentId, projectId, organizationId
assessment.completedA takeoff finished measuring.assessmentId, projectId, organizationId, partialFailure, sample?
assessment.cancelledA takeoff was cancelled.assessmentId, projectId, organizationId
assessment.failedA takeoff failed.assessmentId, projectId, organizationId, error, failureKind?, deliveredOutput?
estimate.generatedAn estimate document was created.projectId?, organizationId, output, sample?
bid.generatedA bid document was created.projectId?, organizationId, bidDocumentId, sample?
bid.submittedA project's bid was marked submitted.projectId, organizationId, bidStatus, bidDueDate?, bidValue?, wonLostAt?, bidValueHolds?
bid.wonA project's bid was won, by hand or by the client accepting it.projectId, organizationId, bidStatus, bidDueDate?, bidValue?, wonLostAt?
bid.lostA project's bid was marked lost.projectId, organizationId, bidStatus, bidDueDate?, bidValue?, wonLostAt?
bid.acceptedA client accepted a bid from its share link.projectId?, organizationId, documentId, acceptedName, acceptedAt, selectedOptions?, optionsTotalCents?, totalCents?
bid.declinedA client declined a bid from its share link.projectId?, organizationId, documentId, declinedName, reason?, declinedAt
bid.sentA bid was emailed to clients from Exayard.documentId, projectId?, organizationId, recipientCount
bid.viewedA client opened a bid, or another shared document, from its share link.documentId, projectId?, organizationId, templateType?, firstView, viewedAt
bid.commentedA client commented on a bid, or another shared document, from its share link.commentId, documentId, projectId?, organizationId, templateType?, authorName, body, createdAt
file.processedAn uploaded file finished processing. A file can send this more than once.fileId, projectId?, organizationId
addendum.uploadedAn uploaded plan set replaced sheets of an earlier issue.projectId, organizationId, findingId, fileId?, sheetCodes
quote.requestedA supplier quote was requested.quoteId, projectId, vendorId, organizationId
quote.receivedA supplier's quote was received.quoteId, projectId, vendorId, organizationId
quote.acceptedA supplier's quote was accepted, or (Mercateer) a customer accepted a quote. A Mercateer quote carries only quoteId.quoteId, projectId?, vendorId?, organizationId?
quote.rejectedA supplier's quote was rejected.quoteId, projectId, vendorId, organizationId
quote.expiredA supplier's quote expired.quoteId, projectId, vendorId, organizationId
conversation.startedA visitor started a chat on the website widget.conversationId, widgetId, projectId?, channel
conversation.handoff_requestedA widget chat asked for a person.conversationId
conversation.closedA widget chat was closed.conversationId
lead.capturedA website widget visitor left their contact details.contactId, widgetId, email?, name?
contact.createdA contact was created.contactId, widgetId?
appointment.bookedAn appointment was booked or confirmed.appointmentId, scheduledStart?, via?
appointment.rescheduledAn appointment was moved.appointmentId
appointment.cancelledAn appointment was cancelled.appointmentId, reason?
call.completedA phone call was analyzed, missed calls included.callId
call.missedA phone call was missed (sent together with call.completed).callId
review.requestedA review request went to a customer after a finished job.appointmentId, reviewRequestId
job.written_backA booked appointment was created as a job in the shop's field-service software.appointmentId, provider, externalJobId
payment.capturedA payment succeeded.paymentId, quoteId?, appointmentId?, amountCents
payment.failedA payment failed.paymentId, quoteId?, appointmentId?, amountCents

Events for an app

An app's own endpoint gets the events above from each company that installed the app, but only those the install's scopes can read:

It also gets three events about its installs: app.installed, app.scopes_approved and app.uninstalled.