Skip to content
Support

The Skeduler data model for API users

Owner, AdminLast checked 25 November 20262 min readArticle ID: developers-data-model
On this page

The records the API exposes, how they link to each other, and the conventions they all follow.

RecordLinks toNotes
Customer / contactOne record, two views. See Customers or contacts, which endpoint do I use?.
Jobcustomer_id, job_status_id, contactsA piece of work for a customer, with an address. job_number is the number people see. Its classification (lead source, trade, category, subcategory, priority, call-out fee) has ids that match GET /job-lookups. contacts lists each contact on the job with their roles.
Visitjob_id, technician_idA time on a job. status is scheduled, completed or failed. dispatched_at says whether it was sent to the technician.
Techniciantrade_idName, trade and active. The list has active technicians only, unless you send include_inactive=true.
Schedule blocktechnician_idA technician's time that isn't a visit: a time block (leave, lunch, admin) or a task.
Estimatejob_idHas line items and totals.
Invoicejob_id, estimate_id, created_by, sold_byHas line items, totals and paid_cents. created_by and sold_by are user ids.
Paymentjob_id, invoice_idMoney received against an invoice. Voided payments are listed with voided_at set.
Credit notejob_idIts allocations show the credit still applied to invoices. Archived (voided) credit notes are listed with archived_at set and no allocations.

Everything is reached through a job: a job's visits, estimates, invoices, payments and credit notes carry its job_id.

Conventions

  • Ids are ULID strings. The numbers people see (job_number, number) are separate fields.
  • Money is integer minor units (cents) plus a currency code, for example total_cents and currency.
  • Timestamps are ISO 8601. Dates are YYYY-MM-DD.
  • One business. Every call is made by an app that belongs to one business and sees only that business's data. There's no business parameter to send.
  • Notes are left out unless your app has the read:notes scope. A job's notes from its Notes tab are listed by GET /jobs/{id}/notes. See Scopes.

For every field, see the API reference.

In this section