Skip to content
Support
← Back to WebhooksUse Print, then choose Save as PDF to keep a copy.

Skeduler Support · For developers

Webhooks

Get told when something changes.

10 pages

How webhooks work: subscriptions, events and deliveries

Subscribe a URL to an event and Skeduler posts to it when that happens. The 16 events, what each delivery contains, and how to subscribe and unsubscribe.

Owner, Admin · Last checked 25 November 2026 · 2 min read

Instead of polling, subscribe a URL to an event, and Skeduler posts to it when the event happens.

Webhook events

EventFires whenNeeds scope
job.createda job is createdread:jobs
job.status_changeda job's status changesread:jobs
job.updateda job's details change (other than its status)read:jobs
visit.createda visit is createdread:visits
visit.status_changeda visit's status changesread:visits
visit.cancelleda visit is cancelled (archived)read:visits
visit.updateda visit is rescheduled, reassigned or dispatched, or its notes changeread:visits
invoice.createdan invoice is created, as a draft or issuedread:invoices
invoice.sentan invoice is issued, and again each time it's emailed, so one invoice can send it more than onceread:invoices
invoice.paidan invoice is paidread:invoices
estimate.createdan estimate is createdread:estimates
estimate.sentan estimate is emailed to the customer (each send)read:estimates
estimate.approvedan estimate is approvedread:estimates
payment.recordeda payment is recorded on an invoiceread:payments
contact.createda contact is createdread:contacts
contact.updateda contact's details changeread:contacts

The data in each delivery has the same shape the matching API endpoint returns, with notes only if the app holds read:notes.

Your own changes don't come back to you. An app isn't sent webhooks for changes it made itself through the API, so a two-way sync doesn't loop.

Subscribe to webhooks

To subscribe to webhooks, post the event and your URL to the subscriptions endpoint:

curl -s -X POST "$SKEDULER_API/api/v1/webhooks/subscriptions" \
  -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
  -d '{"event":"invoice.paid","target_url":"https://example.com/skeduler/webhook"}'

The answer includes a signing_secret. Keep it. It's shown only here, and you need it to verify each delivery.

  • target_url must be https://, up to 2048 characters, at a public address. Redirects aren't followed.
  • You can have 50 active subscriptions per app, and 200 per business.
  • List your app's subscriptions with GET /api/v1/webhooks/subscriptions, each with its status (active, or disabled after repeated failures).
  • Unsubscribe with DELETE /api/v1/webhooks/subscriptions/{id}.

What a webhook delivery looks like

{
  "event": "invoice.paid",
  "occurred_at": "2026-11-03T01:00:00+00:00",
  "delivery_id": "01JC7M…",
  "data": { "id": "01JC7K…", "number": "1042-001", "status": "paid", "currency": "AUD", "total_cents": 15000, "paid_cents": 15000 }
}

It comes with the headers X-Skeduler-Signature-V2, X-Skeduler-Timestamp, X-Skeduler-Event and X-Skeduler-Delivery, and the older X-Skeduler-Signature.

Subscribe to webhook events

Get a token, subscribe an https URL to an event, save the signing secret, and check that deliveries arrive. Then list or remove subscriptions as you need.

Owner, Admin · Last checked 24 November 2026 · 1 min read

Get a token, subscribe an https URL to an event, save the signing secret, and check that deliveries arrive. Then list or remove subscriptions as you need.

Who can do this: Owners and Admins with the Manage Developer Tools permission.

Before you start: an API app with the read scope for the events you want, for example read:invoices for invoice.paid. See Create an API app.

  1. See Access tokens. The examples use $ACCESS_TOKEN, and $SKEDULER_API for your Skeduler API address.

  2. It must be https://, at a public address, up to 2048 characters. It must answer 2xx within 10 seconds. Redirects aren't followed.

  3. curl -s -X POST "$SKEDULER_API/api/v1/webhooks/subscriptions" \
      -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
      -d '{"event":"invoice.paid","target_url":"https://example.com/skeduler/webhook"}'
    
  4. The answer includes a signing_secret. It's shown only once. Store it with your endpoint's settings, and use it to verify every delivery.

  5. Make the event happen in Skeduler, for example record a payment that pays an invoice in full, and check your endpoint received a delivery.

When the delivery arrives, it's working. When you list your subscriptions, this one shows status active.

One subscription per event

Subscribe once for each event you want. An app can have 50 active subscriptions, and a business 200.

List and remove

  • List: GET /api/v1/webhooks/subscriptions shows each one's event, target_url and status (active or disabled).
  • Get one: GET /api/v1/webhooks/subscriptions/{id}.
  • Remove: DELETE /api/v1/webhooks/subscriptions/{id}. Or answer a delivery with 410 Gone.

See the Webhooks API reference.

Verify a webhook signature

Check the X-Skeduler-Signature-V2 header on every delivery with your signing secret, with examples for Node and PHP.

Owner, Admin · Last checked 24 November 2026 · 2 min read

Anyone can post to your URL. Only Skeduler can sign with your secret, so check the signature on every delivery before you trust it.

Who can do this: Owners and Admins with the Manage Developer Tools permission.

The steps

  1. Read the raw request body, exactly as received. Don't parse it and turn it back into JSON first: the signature covers the exact bytes.

  2. Split the X-Skeduler-Signature-V2 header (t=<unix seconds>,v1=<hex>) into t and v1.

  3. Reject the delivery if t is more than 5 minutes from your clock. This stops an old delivery being replayed.

  4. Work out HMAC-SHA256(secret, "<t>.<raw body>") as lowercase hex, and compare it to v1 with a constant-time comparison.

If they match, the delivery is genuine: handle it and answer 2xx. If not, reject it. The examples below answer 400.

Node (Express)

import crypto from "node:crypto";
import express from "express";

const SECRET = process.env.SKEDULER_SIGNING_SECRET;
const app = express();

// express.raw keeps the body as the exact bytes; don't use express.json() here.
app.post("/skeduler/webhook", express.raw({ type: "application/json" }), (req, res) => {
  const header = req.get("X-Skeduler-Signature-V2") ?? "";
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=", 2)));
  const t = Number(parts.t);

  if (!parts.v1 || !Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > 300) {
    return res.sendStatus(400);
  }

  const expected = crypto.createHmac("sha256", SECRET).update(`${t}.`).update(req.body).digest("hex");
  const given = Buffer.from(parts.v1, "hex");
  const wanted = Buffer.from(expected, "hex");

  if (given.length !== wanted.length || !crypto.timingSafeEqual(given, wanted)) {
    return res.sendStatus(400);
  }

  const delivery = JSON.parse(req.body.toString("utf8"));
  // Handle delivery.event; use delivery.delivery_id to ignore a repeat.
  res.sendStatus(200);
});

PHP

<?php
$secret = getenv('SKEDULER_SIGNING_SECRET');
$raw = file_get_contents('php://input');               // the exact bytes
$header = $_SERVER['HTTP_X_SKEDULER_SIGNATURE_V2'] ?? '';

parse_str(str_replace(',', '&', $header), $parts);     // t=…,v1=… -> ['t' => …, 'v1' => …]
$t = $parts['t'] ?? '';
$given = $parts['v1'] ?? '';

if (! ctype_digit((string) $t) || $given === '' || abs(time() - (int) $t) > 300) {
    http_response_code(400);
    exit;
}

$expected = hash_hmac('sha256', $t.'.'.$raw, $secret);

if (! hash_equals($expected, $given)) {
    http_response_code(400);
    exit;
}

$delivery = json_decode($raw, true);
// Handle $delivery['event']; use $delivery['delivery_id'] to ignore a repeat.
http_response_code(200);

An older header, X-Skeduler-Signature (sha256=<hex HMAC of the raw body>), is still sent but has no timestamp. Use X-Skeduler-Signature-V2.

Webhook events and their payloads

Every webhook event, the scope it needs, what's in its data, and an example delivery for each. The data has the same shape as the matching API endpoint returns.

Owner, Admin · Last checked 25 November 2026 · 10 min read

Every delivery is a JSON body with the same envelope:

{
  "event": "job.status_changed",
  "occurred_at": "2026-11-03T01:00:00+00:00",
  "delivery_id": "01JC7M…",
  "data": { }
}
  • event is the event name below.
  • occurred_at is when Skeduler sent the event out, in UTC, usually a few seconds after the change.
  • delivery_id is unique to each event and stays the same on every retry. Use it to spot duplicates.
  • data is the record after the change, in the same shape the matching endpoint returns.

Events

EventFires whendata is aShapeNeeds scope
job.createda job is createdjobJobsread:jobs
job.updateda job's details change, other than its statusjobJobsread:jobs
job.status_changeda job's status changes (not when the job is created)jobJobsread:jobs
visit.createda visit is createdvisitVisitsread:visits
visit.updateda visit is rescheduled, reassigned or dispatched, or its notes changevisitVisitsread:visits
visit.status_changeda visit's status changesvisitVisitsread:visits
visit.cancelleda visit is cancelled (archived)visitVisitsread:visits
estimate.createdan estimate is createdestimateEstimatesread:estimates
estimate.sentan estimate is emailed, on each sendestimateEstimatesread:estimates
estimate.approvedan estimate is approved and turned into an invoice. Its status is accepted.estimateEstimatesread:estimates
invoice.createdan invoice is created, as a draft or issuedinvoiceInvoicesread:invoices
invoice.sentan invoice is issued, and again each time it's emailed, so one invoice can send it more than onceinvoiceInvoicesread:invoices
invoice.paidan invoice becomes fully paidinvoiceInvoicesread:invoices
payment.recordeda payment is recorded on an invoice, in the app, through the API or by cardpaymentPaymentsread:payments
contact.createda contact is createdcontactContactsread:contacts
contact.updateda contact's details change (not archiving or restoring it)contactContactsread:contacts

Example payloads

One full delivery body for each event. data holds every field the matching endpoint returns. Fields with no value are null. The IDs, names and amounts are made up.

job.created

{
  "event": "job.created",
  "occurred_at": "2026-11-03T01:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000001",
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_number": 1042,
    "title": "Hot water system repair",
    "description": "Replace the tempering valve.",
    "status": "New",
    "job_status_id": "01JC7K2A1B3C5D7E9F1G3H5J7K",
    "customer_id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "lead_source_id": "01JC7K5L1S2T3U4V5W6X7Y8Z9A",
    "lead_source": "Google",
    "trade_id": null,
    "trade": null,
    "category_id": null,
    "category": null,
    "subcategory_id": null,
    "subcategory": null,
    "job_priority_id": null,
    "priority": null,
    "callout_fee_id": null,
    "callout_fee_amount_cents": null,
    "contacts": [
      {
        "contact_id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
        "is_primary": true,
        "role_id": null,
        "role": null,
        "roles": []
      }
    ],
    "notes": "Side gate is unlocked.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

job.updated

{
  "event": "job.updated",
  "occurred_at": "2026-11-03T02:15:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000002",
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_number": 1042,
    "title": "Hot water system repair and service",
    "description": "Replace the tempering valve.",
    "status": "New",
    "job_status_id": "01JC7K2A1B3C5D7E9F1G3H5J7K",
    "customer_id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "lead_source_id": "01JC7K5L1S2T3U4V5W6X7Y8Z9A",
    "lead_source": "Google",
    "trade_id": "01JC7K5T1R2A3D4E5F6G7H8J9K",
    "trade": "Plumbing",
    "category_id": "01JC7K5C1A2T3E4G5H6J7K8M9N",
    "category": "Hot water",
    "subcategory_id": "01JC7K5S1U2B3C4D5E6F7G8H9J",
    "subcategory": "Tempering valve",
    "job_priority_id": "01JC7K5P1R2I3O4R5T6Y7Z8A9B",
    "priority": "Emergency",
    "callout_fee_id": "01JC7K5F1E2E3F4G5H6J7K8M9N",
    "callout_fee_amount_cents": 15000,
    "contacts": [
      {
        "contact_id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
        "is_primary": true,
        "role_id": "01JC7K5R1O2L3E4A5B6C7D8E9F",
        "role": "Property manager",
        "roles": [
          {
            "role_id": "01JC7K5R1O2L3E4A5B6C7D8E9F",
            "role": "Property manager"
          }
        ]
      }
    ],
    "notes": "Side gate is unlocked.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T02:15:00+00:00"
  }
}

job.status_changed

{
  "event": "job.status_changed",
  "occurred_at": "2026-11-05T01:05:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000003",
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_number": 1042,
    "title": "Hot water system repair",
    "description": "Replace the tempering valve.",
    "status": "Completed",
    "job_status_id": "01JC7K2A1B3C5D7E9F1G3H5J7M",
    "customer_id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "lead_source_id": "01JC7K5L1S2T3U4V5W6X7Y8Z9A",
    "lead_source": "Google",
    "trade_id": "01JC7K5T1R2A3D4E5F6G7H8J9K",
    "trade": "Plumbing",
    "category_id": "01JC7K5C1A2T3E4G5H6J7K8M9N",
    "category": "Hot water",
    "subcategory_id": "01JC7K5S1U2B3C4D5E6F7G8H9J",
    "subcategory": "Tempering valve",
    "job_priority_id": "01JC7K5P1R2I3O4R5T6Y7Z8A9B",
    "priority": "Emergency",
    "callout_fee_id": "01JC7K5F1E2E3F4G5H6J7K8M9N",
    "callout_fee_amount_cents": 15000,
    "contacts": [
      {
        "contact_id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
        "is_primary": true,
        "role_id": "01JC7K5R1O2L3E4A5B6C7D8E9F",
        "role": "Property manager",
        "roles": [
          {
            "role_id": "01JC7K5R1O2L3E4A5B6C7D8E9F",
            "role": "Property manager"
          }
        ]
      }
    ],
    "notes": "Side gate is unlocked.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-05T01:05:00+00:00"
  }
}

visit.created

{
  "event": "visit.created",
  "occurred_at": "2026-11-03T01:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000004",
  "data": {
    "id": "01JC7M1A2B3C4D5E6F7G8H9J0K",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "technician_id": "01JC7K5C3N7SV9X2Y4Z6A8B0DE",
    "start_at": "2026-11-04T23:00:00+00:00",
    "end_at": "2026-11-05T01:00:00+00:00",
    "status": "scheduled",
    "dispatched_at": null,
    "archived_at": null,
    "notes": "Bring the 20 mm valve.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

visit.updated

{
  "event": "visit.updated",
  "occurred_at": "2026-11-04T06:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000005",
  "data": {
    "id": "01JC7M1A2B3C4D5E6F7G8H9J0K",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "technician_id": "01JC7K5C3N7SV9X2Y4Z6A8B0DE",
    "start_at": "2026-11-04T23:00:00+00:00",
    "end_at": "2026-11-05T01:00:00+00:00",
    "status": "scheduled",
    "dispatched_at": "2026-11-04T06:00:00+00:00",
    "archived_at": null,
    "notes": "Bring the 20 mm valve.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-04T06:00:00+00:00"
  }
}

visit.status_changed

{
  "event": "visit.status_changed",
  "occurred_at": "2026-11-05T01:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000006",
  "data": {
    "id": "01JC7M1A2B3C4D5E6F7G8H9J0K",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "technician_id": "01JC7K5C3N7SV9X2Y4Z6A8B0DE",
    "start_at": "2026-11-04T23:00:00+00:00",
    "end_at": "2026-11-05T01:00:00+00:00",
    "status": "completed",
    "dispatched_at": "2026-11-04T06:00:00+00:00",
    "archived_at": null,
    "notes": "Bring the 20 mm valve.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-05T01:00:00+00:00"
  }
}

visit.cancelled

{
  "event": "visit.cancelled",
  "occurred_at": "2026-11-04T04:30:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000007",
  "data": {
    "id": "01JC7M1A2B3C4D5E6F7G8H9J0K",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "technician_id": "01JC7K5C3N7SV9X2Y4Z6A8B0DE",
    "start_at": "2026-11-04T23:00:00+00:00",
    "end_at": "2026-11-05T01:00:00+00:00",
    "status": "scheduled",
    "dispatched_at": null,
    "archived_at": "2026-11-04T04:30:00+00:00",
    "notes": "Bring the 20 mm valve.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-04T04:30:00+00:00"
  }
}

estimate.created

{
  "event": "estimate.created",
  "occurred_at": "2026-11-03T01:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000008",
  "data": {
    "id": "01JC7N2B3C4D5E6F7G8H9J0K1M",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "title": "Hot water system repair",
    "date": "2026-11-03",
    "valid_until": "2026-12-03",
    "status": "draft",
    "currency": "AUD",
    "subtotal_cents": 32000,
    "discount_cents": 0,
    "callout_fee_amount_cents": 8000,
    "tax_cents": 4000,
    "total_cents": 44000,
    "line_items": [
      {
        "id": "01JC7R5E6F7G8H9J0K1M2N3P4Q",
        "name": "Tempering valve replacement",
        "description": "Supply and fit a 20 mm tempering valve.",
        "qty": 1,
        "unit_price_cents": 32000,
        "total_cents": 32000,
        "sort_order": 0
      }
    ],
    "notes": "Price holds for 30 days.",
    "sent_at": null,
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

estimate.sent

{
  "event": "estimate.sent",
  "occurred_at": "2026-11-03T01:20:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000009",
  "data": {
    "id": "01JC7N2B3C4D5E6F7G8H9J0K1M",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "title": "Hot water system repair",
    "date": "2026-11-03",
    "valid_until": "2026-12-03",
    "status": "sent",
    "currency": "AUD",
    "subtotal_cents": 32000,
    "discount_cents": 0,
    "callout_fee_amount_cents": 8000,
    "tax_cents": 4000,
    "total_cents": 44000,
    "line_items": [
      {
        "id": "01JC7R5E6F7G8H9J0K1M2N3P4Q",
        "name": "Tempering valve replacement",
        "description": "Supply and fit a 20 mm tempering valve.",
        "qty": 1,
        "unit_price_cents": 32000,
        "total_cents": 32000,
        "sort_order": 0
      }
    ],
    "notes": "Price holds for 30 days.",
    "sent_at": "2026-11-03T01:20:00+00:00",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:20:00+00:00"
  }
}

estimate.approved

{
  "event": "estimate.approved",
  "occurred_at": "2026-11-03T05:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000010",
  "data": {
    "id": "01JC7N2B3C4D5E6F7G8H9J0K1M",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "title": "Hot water system repair",
    "date": "2026-11-03",
    "valid_until": "2026-12-03",
    "status": "accepted",
    "currency": "AUD",
    "subtotal_cents": 32000,
    "discount_cents": 0,
    "callout_fee_amount_cents": 8000,
    "tax_cents": 4000,
    "total_cents": 44000,
    "line_items": [
      {
        "id": "01JC7R5E6F7G8H9J0K1M2N3P4Q",
        "name": "Tempering valve replacement",
        "description": "Supply and fit a 20 mm tempering valve.",
        "qty": 1,
        "unit_price_cents": 32000,
        "total_cents": 32000,
        "sort_order": 0
      }
    ],
    "notes": "Price holds for 30 days.",
    "sent_at": "2026-11-03T01:20:00+00:00",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T05:00:00+00:00"
  }
}

invoice.created

{
  "event": "invoice.created",
  "occurred_at": "2026-11-05T02:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000011",
  "data": {
    "id": "01JC7P3C4D5E6F7G8H9J0K1M2N",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "estimate_id": "01JC7N2B3C4D5E6F7G8H9J0K1M",
    "created_by": "01JC7K6U1S2E3R4A5B6C7D8E9F",
    "sold_by": "01JC7K6U1S2E3R4A5B6C7D8E9F",
    "number": "1042-001",
    "title": "Hot water system repair",
    "status": "draft",
    "currency": "AUD",
    "subtotal_cents": 32000,
    "discount_cents": 0,
    "callout_fee_amount_cents": 8000,
    "tax_cents": 4000,
    "total_cents": 44000,
    "line_items": [
      {
        "id": "01JC7R5E6F7G8H9J0K1M2N3P4Q",
        "name": "Tempering valve replacement",
        "description": "Supply and fit a 20 mm tempering valve.",
        "qty": 1,
        "unit_price_cents": 32000,
        "total_cents": 32000,
        "sort_order": 0
      }
    ],
    "paid_cents": 0,
    "notes": "Thanks for your business.",
    "sent_at": null,
    "voided_at": null,
    "created_at": "2026-11-05T02:00:00+00:00",
    "updated_at": "2026-11-05T02:00:00+00:00"
  }
}

invoice.sent

{
  "event": "invoice.sent",
  "occurred_at": "2026-11-05T02:10:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000012",
  "data": {
    "id": "01JC7P3C4D5E6F7G8H9J0K1M2N",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "estimate_id": "01JC7N2B3C4D5E6F7G8H9J0K1M",
    "created_by": "01JC7K6U1S2E3R4A5B6C7D8E9F",
    "sold_by": "01JC7K6U1S2E3R4A5B6C7D8E9F",
    "number": "1042-001",
    "title": "Hot water system repair",
    "status": "issued",
    "currency": "AUD",
    "subtotal_cents": 32000,
    "discount_cents": 0,
    "callout_fee_amount_cents": 8000,
    "tax_cents": 4000,
    "total_cents": 44000,
    "line_items": [
      {
        "id": "01JC7R5E6F7G8H9J0K1M2N3P4Q",
        "name": "Tempering valve replacement",
        "description": "Supply and fit a 20 mm tempering valve.",
        "qty": 1,
        "unit_price_cents": 32000,
        "total_cents": 32000,
        "sort_order": 0
      }
    ],
    "paid_cents": 0,
    "notes": "Thanks for your business.",
    "sent_at": "2026-11-05T02:10:00+00:00",
    "voided_at": null,
    "created_at": "2026-11-05T02:00:00+00:00",
    "updated_at": "2026-11-05T02:10:00+00:00"
  }
}

invoice.paid

{
  "event": "invoice.paid",
  "occurred_at": "2026-11-06T03:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000013",
  "data": {
    "id": "01JC7P3C4D5E6F7G8H9J0K1M2N",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "estimate_id": "01JC7N2B3C4D5E6F7G8H9J0K1M",
    "created_by": "01JC7K6U1S2E3R4A5B6C7D8E9F",
    "sold_by": "01JC7K6U1S2E3R4A5B6C7D8E9F",
    "number": "1042-001",
    "title": "Hot water system repair",
    "status": "paid",
    "currency": "AUD",
    "subtotal_cents": 32000,
    "discount_cents": 0,
    "callout_fee_amount_cents": 8000,
    "tax_cents": 4000,
    "total_cents": 44000,
    "line_items": [
      {
        "id": "01JC7R5E6F7G8H9J0K1M2N3P4Q",
        "name": "Tempering valve replacement",
        "description": "Supply and fit a 20 mm tempering valve.",
        "qty": 1,
        "unit_price_cents": 32000,
        "total_cents": 32000,
        "sort_order": 0
      }
    ],
    "paid_cents": 44000,
    "notes": "Thanks for your business.",
    "sent_at": "2026-11-05T02:10:00+00:00",
    "voided_at": null,
    "created_at": "2026-11-05T02:00:00+00:00",
    "updated_at": "2026-11-06T03:00:00+00:00"
  }
}

payment.recorded

{
  "event": "payment.recorded",
  "occurred_at": "2026-11-06T03:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000014",
  "data": {
    "id": "01JC7Q4D5E6F7G8H9J0K1M2N3P",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "invoice_id": "01JC7P3C4D5E6F7G8H9J0K1M2N",
    "number": "1042-001",
    "method": "Bank transfer",
    "currency": "AUD",
    "amount_cents": 44000,
    "auth_no": "R-14273",
    "date": "2026-11-06",
    "voided_at": null,
    "archived_at": null,
    "created_at": "2026-11-06T03:00:00+00:00",
    "updated_at": "2026-11-06T03:00:00+00:00"
  }
}

contact.created

{
  "event": "contact.created",
  "occurred_at": "2026-11-03T01:00:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000015",
  "data": {
    "id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
    "first_name": "Sam",
    "last_name": "Taylor",
    "company_name": "Taylor Property Group",
    "job_title": "Property manager",
    "email": "sam@example.com",
    "billing_email": "accounts@example.com",
    "home_phone": null,
    "work_phone": "07 3000 0000",
    "mobile_phone": "0400 000 000",
    "preferred_contact_method": "mobile",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "notes": "Prefers a text before arrival.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

contact.updated

{
  "event": "contact.updated",
  "occurred_at": "2026-11-04T00:30:00+00:00",
  "delivery_id": "01JCA0D3MVRY00000000000016",
  "data": {
    "id": "01JC7K4B2M6RT8W1X3Y5Z7A9CD",
    "first_name": "Sam",
    "last_name": "Taylor",
    "company_name": "Taylor Property Group",
    "job_title": "Property manager",
    "email": "sam@example.com",
    "billing_email": "accounts@example.com",
    "home_phone": null,
    "work_phone": "07 3000 0000",
    "mobile_phone": "0400 000 111",
    "preferred_contact_method": "mobile",
    "address": {
      "line_1": "12 Example Street",
      "line_2": "Unit 3",
      "city": "Brisbane",
      "state": "QLD",
      "postal_code": "4000"
    },
    "notes": "Prefers a text before arrival.",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-04T00:30:00+00:00"
  }
}

Good to know

  • Your own changes aren't sent back to you. A change your app makes through the API isn't delivered to your app's own subscriptions, so a two-way sync doesn't loop. Other apps still get it.
  • No "before" values. data is the record as it is now. To see what changed, compare it with your own copy.
  • Notes need read:notes. Free-text notes fields are left out of data unless your app holds read:notes.
  • invoice.sent can arrive more than once for one invoice: once when it's issued, and again each time it's emailed. Each has its own delivery_id. If you only care about the first, check whether you've already seen that invoice's id.
  • Job statuses are each business's own. job.status_changed carries the status name the business uses, such as "Completed". Match on names your customer actually has.

See How Skeduler webhooks work and Verify a webhook signature.

Webhook recipes: subscribe, verify and handle deliveries

Copy-paste webhook code in curl, JavaScript and PHP: subscribe to an event, check the signature, ignore repeats, answer in time and stop deliveries.

Owner, Admin · Last checked 25 November 2026 · 5 min read

Five things you'll do with webhooks, ready to copy, each in three tabs: curl, JavaScript and PHP. $SKEDULER_API is your Skeduler API address and $ACCESS_TOKEN an access token (see API recipes). SKEDULER_SIGNING_SECRET is the signing secret you got when you subscribed. In the JavaScript and PHP tabs, the same names in capitals are variables you set. Nothing here is a real key or secret.

1. Subscribe to an event

Scope: none beyond the event's own read scope (for example read:jobs for job.created). Keep the signing_secret from the answer: it's shown only once.

curl

curl -s -X POST "$SKEDULER_API/api/v1/webhooks/subscriptions" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: A_NEW_UNIQUE_KEY" \
  -d '{"event":"job.created","target_url":"https://example.com/skeduler/webhook"}'

See Subscribe to webhook events and Webhook events and payloads.

2. List your subscriptions

Check what's subscribed, and whether a subscription has been switched off (status is disabled).

curl

curl -s "$SKEDULER_API/api/v1/webhooks/subscriptions" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

3. Receive a delivery and check its signature

Check the X-Skeduler-Signature-V2 header (t=<unix seconds>,v1=<hex>) on every delivery: v1 must equal HMAC-SHA256(secret, "<t>.<raw body>"), and t must be within 5 minutes of your clock. Use the raw body, exactly as received. The curl tab sends your own endpoint a signed test delivery, so you can try your code before Skeduler sends a real one.

curl

# Send yourself a signed test delivery. YOUR_WEBHOOK_URL is your own endpoint.
BODY='{"event":"job.created","occurred_at":"2026-11-03T01:00:00+00:00","delivery_id":"TEST_DELIVERY_ID","data":{"id":"JOB_ID","title":"Hot water system repair"}}'
T=$(date +%s)
SIG=$(printf '%s' "$T.$BODY" | openssl dgst -sha256 -hmac "$SKEDULER_SIGNING_SECRET" -hex | sed 's/^.* //')
curl -s -X POST "$YOUR_WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -H "X-Skeduler-Signature-V2: t=$T,v1=$SIG" \
  -d "$BODY"

If the signature never matches, see My webhook signature doesn't match.

4. Ignore a repeat

The same event can arrive more than once, for example after a retry. Its delivery_id stays the same, so keep the ids you've handled and skip one you've seen. If one endpoint takes deliveries for more than one subscription, key on the subscription as well as delivery_id: the same event has the same delivery_id in each. The curl tab sends the same test delivery twice: your endpoint should answer 2xx both times, and handle it once.

curl

# Run the recipe 3 commands, then send the same body again with a fresh signature.
T=$(date +%s)
SIG=$(printf '%s' "$T.$BODY" | openssl dgst -sha256 -hmac "$SKEDULER_SIGNING_SECRET" -hex | sed 's/^.* //')
curl -s -X POST "$YOUR_WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -H "X-Skeduler-Signature-V2: t=$T,v1=$SIG" \
  -d "$BODY"

5. Answer in time, or stop deliveries

Answer 2xx within 10 seconds, and do slow work afterwards. A 4xx or 5xx answer, or a timeout, is retried up to 4 times (after 10 seconds, 30 seconds, 1 minute and 2 minutes). To stop a subscription for good, answer 410 Gone to a delivery, or unsubscribe:

curl

curl -s -X DELETE "$SKEDULER_API/api/v1/webhooks/subscriptions/SUBSCRIPTION_ID" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

See Webhook retries, and when a webhook is switched off.

Webhook retries, duplicates and switch-off

How to answer a delivery, when Skeduler retries, how to stop an event with 410 Gone, and when a failing subscription is switched off.

Owner, Admin · Last checked 24 November 2026 · 1 min read

Answer a webhook delivery

  • Answer 2xx as soon as you've accepted it, and do slow work afterwards. A delivery times out after 10 seconds.
  • Don't answer with a redirect (3xx). It's counted as delivered and not retried.
  • Answer 410 Gone to say "stop": Skeduler removes the subscription and doesn't retry.

Webhook retries

A 4xx or 5xx answer, or a timeout, is retried up to 4 times, after 10 seconds, 30 seconds, 1 minute and 2 minutes: 5 attempts in all. A delivery that still hasn't gone out 6 hours after the event is dropped.

Deliveries aren't guaranteed to arrive in order.

Duplicate deliveries

The same event can arrive more than once, for example after a retry. Use delivery_id as the key and make your handling idempotent. Remembering the delivery_ids you've seen in the last 5 minutes also stops a captured delivery being replayed.

When a webhook is disabled

A webhook subscription that has had nothing but failed deliveries for 3 days is switched off. A delivery counts as failed once all 5 attempts have failed. Its status becomes disabled, and the business's Owners and Admins are emailed. Fix your endpoint, then subscribe again to the same event and URL: that switches the same subscription back on.

A delivery is skipped (not retried) when the app is suspended or revoked, the business's account is restricted, or the app no longer holds the event's read scope.

I'm not receiving webhook deliveries

Check the subscription is active and for the right event, your app has the read scope, your app didn't make the change, and your endpoint is public https.

Owner, Admin · Last checked 25 November 2026 · 1 min read

What you see

Something happens in Skeduler, but your endpoint gets nothing.

Why it happens

  1. The subscription isn't there, or it isn't active.
  2. It's subscribed to the wrong event. For example, job.updated doesn't fire for a status change. That's job.status_changed.
  3. Your app no longer has the event's read scope. A delivery is skipped if the app no longer holds it.
  4. Your own app made the change. Your app isn't sent webhooks for its own API changes.
  5. The app or account isn't active. Deliveries are skipped while the app is suspended or revoked, or while the business's account is restricted by billing.
  6. Skeduler can't reach your endpoint. Private and internal addresses are refused.
  7. Your endpoint answers with a redirect (3xx). Skeduler doesn't follow it and counts the delivery as done, so it isn't retried.
  8. Your endpoint doesn't answer in time. Slow or failing answers are retried a few times, then given up on.

How to fix it

  1. List your subscriptions with GET /api/v1/webhooks/subscriptions. If it's disabled, see My webhook subscription was disabled.
  2. Subscribe to the right event. See Webhook events and their payloads.
  3. Check your app still holds the event's read scope.
  4. Expect no webhook for your own app's changes. See Does an integration get webhooks for its own API writes?
  5. Check the app and the business's account are active.
  6. Use a public https:// endpoint.
  7. Post to the exact final URL, and answer 2xx, not a redirect.
  8. Answer 2xx within 10 seconds.

Still nothing? Make a change you're sure about, such as creating a contact, and watch your endpoint's access log for a request from Skeduler. If you still see nothing, contact Skeduler support with your app's name and the subscription id.

My webhook signature doesn't match

If your signature never matches, you're usually hashing parsed JSON instead of the raw body, using the wrong secret, or the old header's formula.

Owner, Admin · Last checked 25 November 2026 · 1 min read

What you see

Your endpoint works out the HMAC for a delivery, and it never equals the value in Skeduler's signature header, so you reject every delivery.

Why it happens

  1. You're hashing parsed JSON. Your framework parsed the body, and you turned it back into JSON before hashing. The bytes change (spacing, key order, escaping), so the signature does too.
  2. You're using the wrong secret. Each subscription has its own signing_secret. It isn't your app's client secret, and it isn't another subscription's secret.
  3. You're mixing up the two headers. X-Skeduler-Signature-V2 signs "<t>.<raw body>". The older X-Skeduler-Signature signs the body alone and starts with sha256=.
  4. Your clock is out. If you reject deliveries whose t is more than 5 minutes from your clock, as you should, a server clock that's wrong rejects good ones.

How to fix it

  1. Hash the raw request body, exactly as received. In Express, use express.raw({ type: "application/json" }) on the webhook route, not express.json(). In PHP, read php://input.

  2. Use the signing_secret from the answer you got when you created this subscription. If you've lost it:

    • subscribe again with the same event and URL, and Skeduler answers with the existing subscription and its secret, or
    • delete the subscription and subscribe again for a new secret.

    The web app doesn't show signing secrets.

  3. For X-Skeduler-Signature-V2 (t=<unix seconds>,v1=<hex>), work out HMAC-SHA256(secret, "<t>.<raw body>") as lowercase hex, and compare it to v1. If you check the older header, compare against the hex after sha256=. Use a constant-time comparison either way.

  4. Keep your server's clock in sync, for example with NTP.

The full steps, with Node and PHP code, are in Verify a webhook signature.

My webhook subscription was disabled

After 3 days of nothing but failed deliveries, Skeduler switches a subscription off and emails Owners and Admins. Fix the endpoint, then subscribe again.

Owner, Admin · Last checked 24 November 2026 · 1 min read

What you see

An email to your business's Owners and Admins, Webhooks for [app] were switched off, and the subscription's status is disabled in GET /api/v1/webhooks/subscriptions.

Why it happens

  1. For 3 days, every delivery to that URL failed. A failure is an answer of 4xx or 5xx, a timeout after 10 seconds, or a connection error. Skeduler stops sending so it doesn't keep hitting a broken endpoint. Common causes are an expired TLS certificate, a firewall, a changed path, or a handler that takes longer than 10 seconds.

How to fix it

  1. Fix the endpoint and subscribe again:
    1. Find the cause. Check your endpoint's logs.
    2. Fix it, and make sure it answers 2xx quickly. Do slow work after answering.
    3. Subscribe again. A disabled subscription doesn't come back on its own. Create a new one, and save the new signing_secret. See Subscribe to webhook events.
    4. Catch up on what you missed. Events from while it was off aren't resent. Use the API's lists, for example in sync mode, to fetch what changed.

See Webhook retries, duplicates and switch-off.

Does an integration get webhooks for its own API writes?

No. An API client isn't sent webhooks for records it wrote itself, so a two-way sync doesn't loop. Other clients, and people in Skeduler, still trigger them.

Owner, Admin · Last checked 25 November 2026 · 1 min read

No. When your app creates or changes something through the API, Skeduler doesn't send that app a webhook for it. That keeps a two-way sync from looping: your change in Skeduler doesn't bounce back to you as a new event.

You do get webhooks for changes made:

  • by people in Skeduler, in the web app or the field app
  • by other API apps, including Zapier, which uses its own app

If you run two integrations and want each to see the other's changes, give each its own API app. See Create an API app.