Developers
CRM

Receive CRM and Projects webhooks

Lead created or converted, deal moved, won or lost, task completed, timesheet approved.

A marketing tool, a dashboard or a neighbouring ERP needs to know right away that a lead comes in, that a deal changes stage, that a task is completed or that a timesheet is approved. These events are signed and retried like all QuoSuite webhooks.

EventWhenKey scope
crm_lead.creatednew lead — screen, import, APIcrm_leads:read
crm_lead.convertedlead converted; data.conversion: account, contact, ERP record, dealcrm_leads:read
crm_deal.creatednew deal (entry, conversion, API)crm:read
crm_deal.stage_changedentry into a stage; previous.stageId = stage leftcrm:read
crm_deal.won / crm_deal.lostdeal won / lostcrm:read
project_task.creatednew task or sub-taskprojects:read
project_task.completedtask entered a DONE column; previous.categoryprojects:read
project_timesheet.approvedtimesheet fully approvedproject_time:read

1. Subscribe

POST/webhooks/endpoints

curl -X POST 'https://quosuite.com/api/public/v1/quosuite/webhooks/endpoints' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://hooks.example.com/quosuite",
  "events": [
    "crm_deal.stage_changed",
    "crm_deal.won",
    "project_task.completed",
    "project_timesheet.approved"
  ],
  "description": "Sales dashboard"
}'

The secret (whsec_…) is only returned on creation. You only receive what the key can read: a key with crm_leads:read alone cannot subscribe to deals (403).

2. What arrives

JSON
{
  "id": "evt_4b5c6d7e8f9a0b1c2d3e4f5a",
  "type": "crm_deal.stage_changed",
  "apiVersion": "v1",
  "perimeter": "QUOSUITE",
  "createdAt": "2026-11-18T10:04:00.000Z",
  "previous": { "stageId": "a1b2c3d4-…" },
  "data": { "id": "fa576b0d-…", "title": "Workshop equipment", "stageId": "b4c5d6e7-…", "stageName": "Proposal", "probability": 50, "…": "…" }
}
  • data is exactly what the resource’s GET route would return (/crm/leads/{id}, /crm/deals/{id}, /projects/tasks/{id}, /projects/timesheets/{id}), read after the write was committed.
  • crm_lead.created is sent as soon as the lead is entered; assignment by an automation follows a few moments later (read the lead again if you need its owner).
  • project_timesheet.approved is only sent when all the timesheet’s entries are approved (or invoiced): a partial approval sends nothing. data.entries gives each entry, ready for payroll or billing.

3. Verify, deduplicate, respond

Verify X-QuoSuite-Signature on the raw body, answer 2xx within 10 s, process afterwards. Delivery is “at least once”: ignore an evt_… already processed, and compare data.updatedAt — arrival order is not guaranteed.

Node.js
app.post('/quosuite', express.raw({ type: 'application/json' }), async (req, res) => {
  if (!verifySignature(req.body, req.get('X-QuoSuite-Signature'), process.env.QUOSUITE_WEBHOOK_SECRET)) {
    return res.sendStatus(401);
  }
  const event = JSON.parse(req.body.toString('utf8'));
  res.sendStatus(200);
  if (await seen(event.id)) return;
  switch (event.type) {
    case 'crm_deal.stage_changed':
      await moveCard(event.data.id, event.previous?.stageId, event.data.stageId);
      break;
    case 'crm_deal.won':
      await celebrate(event.data);
      break;
    case 'project_timesheet.approved':
      await exportToPayroll(event.data.personName, event.data.weekStart, event.data.entries);
      break;
  }
});
EventWhenScope
quote.createdQuote created — by the application, the API, the POS or the shop.sales:read
quote.status_changedQuote: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
sales_order.createdCustomer order created — by the application, the API, the POS or the shop.sales:read
sales_order.status_changedCustomer order: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
delivery_note.createdDelivery note created — by the application, the API, the POS or the shop.sales:read
delivery_note.status_changedDelivery note: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
invoice.createdInvoice created — by the application, the API, the POS or the shop.sales:read
invoice.status_changedInvoice: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
invoice.paidInvoice fully paid (balanceDue at 0).sales:read
credit_note.createdCustomer credit note created — by the application, the API, the POS or the shop.sales:read
credit_note.status_changedCustomer credit note: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
purchase_order.createdSupplier purchase order created — by the application, the API, the POS or the shop.purchases:read
purchase_order.status_changedSupplier purchase order: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.purchases:read
goods_receipt.createdGoods receipt created — by the application, the API, the POS or the shop.purchases:read
goods_receipt.status_changedGoods receipt: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.purchases:read
purchase_invoice.createdSupplier invoice created — by the application, the API, the POS or the shop.purchases:read
purchase_invoice.status_changedSupplier invoice: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.purchases:read
purchase_invoice.paidSupplier invoice fully paid (balanceDue at 0).purchases:read
payment.createdPayment recorded (receipt or disbursement), with its allocation to documents.payments:read
partner.createdNew partner (customer, supplier, or both).partners:read
partner.updatedPartner record updated.partners:read
article.createdNew article in the ERP catalogue.articles:read
article.updatedArticle updated (name, price, VAT, archiving…).articles:read
rental_booking.createdNew rental booking — placed on the rental website or created through the API (source). The vehicle is already held in the planning.rental_bookings:read
rental_booking.status_changedChange of a booking’s displayed status (PENDING_PAYMENT, REQUESTED, CONFIRMED, IN_PROGRESS, RETURNED, CANCELLED, EXPIRED) — whether it comes from the API, the website, the payment, the agency or the expiry of the hold. previous.status gives the status left.rental_bookings:read
rental_availability.updatedPlanning of a vehicle changed (reservation created, moved, cancelled; agreement opened, closed, extended; block). Close changes are grouped: data is always the availability at the time of sending (next 90 days).rental:read
crm_lead.createdNew lead — entered in the application, imported from a file or created through the API (a website form…). The “new lead” automations run separately: the assignment may follow a few moments later.crm_leads:read
crm_lead.convertedLead converted: data.conversion gives the account, contact, ERP customer record and deal created or reused (the deal also triggers crm_deal.created).crm_leads:read
crm_deal.createdNew deal — entered, from a lead conversion, or created through the API.crm:read
crm_deal.stage_changedDeal entered a stage: moved (pipeline board, deal page, API) or reopened. previous.stageId gives the stage left (null on reopening).crm:read
crm_deal.wonDeal won (status: WON, closedAt set, probability 100%).crm:read
crm_deal.lostDeal lost (status: LOST, lostReason filled in).crm:read
project_task.createdNew task (or sub-task) — in the application or through the API.projects:read
project_task.completedTask completed: entered a column of category DONE (board, task page, API). previous.category gives the category left.projects:read
project_timesheet.approvedTimesheet fully approved (all its entries approved or invoiced): the time is ready to bill or to carry into payroll. A partial approval sends nothing.project_time:read