Skip to content
TruTecDevelopers
Get an API key

Versioning & changes

How the API is versioned, what can change without notice, and how we announce breaking changes.

View as Markdown

Versions#

The version is in the path: https://trutec.ai/api/v1. Everything in these docs is v1.

Within a version we only make backwards-compatible changes. A change that could break a working integration ships in a new version (/v2), and the old version keeps running while you move.

Changes we make without notice#

These are backwards-compatible, so build your client to tolerate them:

  • new endpoints,
  • new optional request parameters,
  • new fields in responses, and new keys inside existing objects,
  • new values for fields that are lists of options, such as a new measurement category or a new job status,
  • new webhook event types (you only get the ones you subscribe to),
  • changes to the order of fields in a response, and to error message text.

In practice: ignore fields you don't know, don't fail on an unknown option value, and branch on error and the status code rather than on message.

Breaking changes#

A breaking change is one that could stop a correct integration from working, for example removing or renaming a field or endpoint, changing a field's type or meaning, making an optional parameter required, or tightening validation on existing input.

For a breaking change we:

  1. ship it in a new version, or behind a new endpoint, alongside the current one;
  2. email the owners of every workspace with an active API key at least 90 days before the old behavior is removed;
  3. list it below, with what to change.

The only exception is a change we must make to fix a security problem or a legal requirement. We'll still tell you as early as we can.

API changelog#

When Change
November 2026 The customer object adds is_residential (read-only): true for a homeowner, whose proposals and invoices show the person's name once.
November 2026 New: retainage: GET /v1/jobs/{id}/retainage (held now, percentages, every pay application) and GET /v1/pay-applications (AIA G702 figures, updated_after).
November 2026 Owners pick what each key can do in Settings › API keys: Read only, Read and write (default) or Read, write and delete, and can change it later. A read-only key gets 403 Read-only key on every POST, PUT, PATCH and DELETE. See Permissions.
November 2026 A connection on Read, change and delete can now delete and merge whole jobs, customers, sites and contacts, like any key with Delete records (permissions). Connecting the same assistant again turns off the person's earlier connection from it in that workspace
November 2026 Setting a salesman number also works with a key made by someone whose role has Invite and remove people, as on Settings › Members
November 2026 The bulk export comes as CSV too: GET /v1/exports/{dataset}.csv or .csv.gz (or ?format=csv on a bare dataset name), with the same rows, watermark and updated_after as JSON Lines. GET /v1/exports adds csv_url, and POST /v1/exports kind: workspace_data takes format csv or csv.gz. JSON Lines stays the default
November 2026 New: record events customer_created / customer_updated, contact_created / contact_updated, site_created / site_updated, time_entry_created / time_entry_updated (including approve, unapprove, void and restore) and job_cost_created / job_cost_updated, each carrying the record with external_ref. Webhook subscriptions add include_record_events: on by default for new subscriptions, so all includes them; all subscriptions made earlier keep their event list until you set it to true. invoice_created and payment_received add the whole invoice as invoice (with external_ref, job_id, amounts and status); their data is unchanged. Dotted names like time_entry.created and change_order.approved are accepted
November 2026 New: partial payments. POST /v1/invoices/{id}/payments records a check, ACH, card or cash payment (part or whole, with check number and external_ref); GET /v1/payments/{id}; POST /v1/payments/{id}/void. GET /v1/payments lists recorded payments (kind payment) next to invoices paid in full (kind invoice_paid), and takes invoice_id and include_voided. Invoices add amount_due, amount_paid, balance_due (each with _cents) and payment_status.
November 2026 New: vendor bills on job costs: costs add vendor_id, vendor_name, vendor_external_ref, vendor_invoice_number, vendor_invoice_date, due_date, ap_status, paid_at and updated_at, writable on add and update. New: GET /v1/costs lists costs across the workspace (filters vendor_id, ap_status, updated_after and more). Catalog vendors add external_ref.
November 2026 Users add salesman_number, set with PATCH /v1/users/{id} (update_user in MCP). The job_numbering setting adds typed_at_create. MCP create_task takes client_account_id and job_id together for a customer follow-up on one of its jobs
November 2026 Company follow-ups add job_id (read, and set on create and update) and their outcomes say what each one does (action stage or next_step, with stage). Completing one takes follow_up_type, next_step and next_step_on, like the app's "What's next?", and returns created_job. Estimate line wording (proposal_text, what_to_expect, internal_scope) holds 50,000 characters, as in the app. The job_numbering setting adds format (sequence or year_salesman)
November 2026 New: cost codes (GET /v1/cost-codes). Estimate line items add labor_hours, crew_hours, man_days and cost_by_type (labor, equipment, materials, trucking, subcontractors, overhead, misc). Jobs add job_number, display_job_number, accounting_job_number, close_reason and close_notes. Time entries add estimate_service_id, estimate_line_item_id and cost_code, and GET /v1/time-entries takes updated_after. Sites add minimum_charge (the minimum charge per visit, set on POST / PATCH /v1/locations), and an invoice line that billed one adds site_minimum (Invoices & payments)
November 2026 New: saved routes (/saved-routes: list, get, build, edit, reorder, and load onto a date like Plan from route), date on POST /schedule/publish, the saved_routes bulk dataset, and the matching MCP tools. AI assistants that sign in can be given Read, change and delete (AI assistants and delete); every API delete is audit-logged
October 2026 New: companies with several workspaces can use one key for all of them with the X-TruTec-Workspace header (Authentication), and each workspace has its own MCP address (/api/v1/mcp/<workspace id>). A key now works whichever of its creator's workspaces is open in TruTec
October 2026 New: MCP server at https://trutec.ai/api/v1/mcp, so AI assistants can work with your TruTec data
October 2026 New: developer portal and complete OpenAPI 3.1 spec
October 2026 New: condition ratings, POST /condition/paser and POST /condition/pci
September 2026 New: estimates, job costing, the event feed and webhook replay, and bulk export
February 2026 Removed: POST /detect. Use POST /detect/full, which takes the same bounds and returns the full result. /detect/address and /detect/tiles cover the other ways to start a measurement