Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vh3.ai/llms.txt

Use this file to discover all available pages before exploring further.

BigChange API

Unified read/write proxy to your BigChange field service data. Covers jobs, contacts, invoices, quotes, sales opportunities, purchase orders, resources, vehicles, stock, worksheets, and reference data. Tenant scope is resolved from your API key. No company_id is required on these requests.

Base URL

https://api.vh3connect.io/api:YdihQNr3

Authentication

Pass your VH3 API key in the X-API-Key header on every request. This is the same key issued for the VH3 AI Intelligence layer; only the transport differs.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/jobs/list" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "pageNumber": 1,
    "pageSize": 20
  }'
HeaderRequiredDescription
X-API-KeyYesYour tenant API key
Content-TypeYes (POST)application/json
Missing or invalid keys return 401 Unauthorised. See Authentication for the full two-API comparison.

Common response codes

CodeMeaning
200Success
201Created
400Bad request — invalid or missing parameters
401Unauthorised — missing or invalid API key
403Forbidden — insufficient permissions
404Not found
422Validation error
429Rate limited
500Internal server error

Pagination

List endpoints accept pageNumber (1-based) and pageSize. Finance list responses also include pageItemCount (items in the current page — use to detect the last page).
ParamDefaultMax
pageSize1001000

Sorting

Most list endpoints accept:
ParamValues
sortByField name (varies by endpoint, e.g. name, createdAt)
directionascending or descending

Date ranges

BigChange enforces a maximum 12-month window on date-range filters. If createdAtTo minus createdAtFrom (or equivalent pair) exceeds twelve calendar months, the API returns a validation error.
RuleDetail
FormatISO 8601 UTC, e.g. 2026-01-01T00:00:00Z
Typical paircreatedAtFrom + createdAtTo — inclusive bounds on record creation time
Max span12 months — always; not configurable per tenant
Sort tie-inFinance lists (invoices, quotes) usually sort by createdAt when filtering by date
Where date ranges apply:
EndpointDate filter fieldsNotes
POST /jobs/listcreatedAtFrom, createdAtToRequired for job list queries
POST /contacts/listcreatedAtFromOptional lower bound on contact creation
POST /invoices/listcreatedAtFrom, createdAtToOptional; combine with contactId, jobId, reference, etc.
POST /quotes/listcreatedAtFrom, createdAtToOptional; same pattern as invoices
POST /purchase_orders/listcreatedAtFrom, createdAtToAt least one non-date filter still required
POST /sales_opportunities/listcreatedAtFrom, createdAtTo, dueDateFrom, dueDateToAt least one filter required; due-date pair also subject to 12-month max
Status timestamps on write endpoints (paidAt, sentAt, plannedStartAt, note dueAt) are single instants, not ranges — they are not subject to the 12-month window rule.

Custom fields

Pass custom fields as an array when creating or updating records:
{
  "customFields": [
    { "definitionId": 123, "value": "High priority" },
    { "definitionId": 456, "value": null }
  ]
}
Set value to null to clear an existing value.

Common enum values

DomainFieldValues
All listsdirectionascending, descending
Contactsstatus (on stop)contactOnStop, creditLimitOnStop
ContactsappliesTo (stop/unstop)contactOnly, contactAndChildren
Jobsstatus (result)completedOk, completedWithIssues
Notesstatusopen, completed, cancelled
NotesentityTypecontact, job, resource, stockItem, vehicle, salesOpportunity, contract
Personsconsent.statusawaiting, refused, granted
Personsconsent.mediumemail, click, telephone
Endpoint-specific enums are listed on each page where they apply.

Path format

Request URLs are {baseUrl}{path} with one slash between base and path — e.g. https://api.vh3connect.io/api:YdihQNr3 + /jobs/list. Some BigChange routes include repeated segments by design (e.g. /stock/stock/item_get); that is not a double-slash error.

Endpoint groups

GroupDescription
ContactsContacts, groups, site access hours, on-stop
JobsJobs, constraints, stock, groups, types
InvoicesInvoices and line items
QuotesQuotes and line items
Sales opportunitiesOpportunities, stages, probabilities, line items
Purchase ordersPurchase orders, series, line items
NotesNotes and note types
PersonsSite contacts and consent
ResourcesEngineers/technicians and resource groups
VehiclesFleet vehicles
StockStock details, items, movements, suppliers, categories
WorksheetsWorksheet definitions, questions, answers
Reference dataDepartment and nominal codes