The fieldGRID API is an HTTPS + JSON API that reads and changes your own company's data and nothing else, through the same access rules your team works under. Reading is available to every company with API access; changing data (creating and changing jobs and customers, submitting forms) is switched on per company, on request. Webhooks push a signed message to your system when a job is created or completed, a form is submitted, an invoice or credit note is issued, a quote is accepted or a payment is recorded.
What the API does
- Jobs, people and forms: every job with its dates, people, status and custom fields; your active team members; your forms and every submission's answers.
- Invoices, credit notes and pro formas: numbers, dates, customer, lines, VAT breakdown and totals, the credit notes of an invoice, and the PDF.
- Customers: billing details, contacts and sites.
- Quotes: every version with its lines, VAT, totals and status.
- Stock: items with the quantity at each warehouse, van and site, reorder levels and selling prices; the stock locations.
- Fleet: vehicles with their due dates and latest daily check, and the defects reported on them.
- Equipment: the register with who has each item and its check dates.
- GIS assets: your asset types, assets, geometry and photos as an OGC API Features service for QGIS, GDAL and other GIS clients, on the GIS API page.
- Changing data, on request: create and change jobs (people, status, close and reopen, notes, files) and customers, and submit published forms, as the person who created the key. See the API reference.
- Webhooks for the events above, so your system does not have to poll.
The documentation is public; access is per company and off by default.
Getting access
- Ask fieldGRID to turn on API access for your company: contact@fieldgrid.cloud. Turning it off later stops every key and webhook of the company at once.
- Someone who can manage members opens People & access → API in fieldGRID and creates a key, choosing its scopes. They can only give a key access they have themselves.
- Copy the key when it is shown. It is shown once; fieldGRID stores only a scrambled form of it.
- Call the API from your system (never from a browser or an app your customers can open).
Changing data is a second, separate switch: ask fieldGRID support (contact@fieldgrid.cloud) to turn on “Changing data through the API” for your company. An administrator can then create a key with write scopes. The API reference explains how writes work.
curl -H "Authorization: Bearer fgk.YOUR-KEY" https://fieldgrid.cloud/api/v1/invoices?limit=10Authentication
Send the key on every request in the Authorization header: Authorization: Bearer <key>. A key looks like fgk.<company>.<key id>.<secret>; keep it as secret as a password, in your system's secret store. The company is always the key's own: a request can never name another. Revoke a key in fieldGRID at any time; it stops working at once.
Scopes
Each key holds one or more scopes. A request to an endpoint whose scope the key does not hold is refused with 403 missing_scope; data your company's plan does not include is refused with 403 module_not_licensed.
The write scopes (jobs:write, customers:write and forms:submit) can be put on a key only once changing data is switched on for your company, and a write scope never includes a read scope.
| Scope | Name | Allows |
|---|---|---|
jobs:read | Read jobs | Every job in the company: title, dates, people, status, custom fields. |
people:read | Read people | The company's active members: name, email, role. |
forms:read | Read forms and submissions | Forms and every submission's answers. |
invoices:read | Read invoices and credit notes | Invoices, credit notes and pro formas: numbers, dates, lines, VAT, totals, the PDF. |
customers:read | Read customers | Customers with their billing details, contacts and sites. |
quotes:read | Read quotes | Quotes and their versions: lines, VAT, totals, status. |
stock:read | Read stock | Stock items with their quantities (total and per location), reorder levels and selling prices, and the stock locations. |
assets:read | Read equipment | The equipment register: each item, who has it, its status and its check dates. |
fleet:read | Read fleet | Vehicles with their due dates, the latest daily check and the defects reported on them. |
gis:read | Read GIS data | Assets and their attributes and geometry, as the key's creator sees them. |
jobs:write | Change jobs | Create jobs, change their details, assign people, move their status, close and reopen them, and add notes and files, as the key's creator. |
customers:write | Change customers | Create customers, change their details, contacts and sites, archive and restore them, as the key's creator. |
forms:submit | Submit forms | Submit published forms as the key's creator (answers only, no files or photos yet), and list the published forms with their fields. |
Endpoints
These are the GET endpoints under https://fieldgrid.cloud/api/v1. The API reference has every parameter and a full example response for each, and the endpoints that change data.
| Endpoint | Scope | Returns |
|---|---|---|
GET /api/v1/jobs | jobs:read | List jobs |
GET /api/v1/jobs/{jobId} | jobs:read | Get a job |
GET /api/v1/people | people:read | List people |
GET /api/v1/forms | forms:read | List forms |
GET /api/v1/forms/published | forms:submit | Published forms you can submit |
GET /api/v1/forms/{formId}/submissions | forms:read | List a form's submissions |
GET /api/v1/invoices | invoices:read | List invoices, credit notes and pro formas |
GET /api/v1/invoices/{invoiceId} | invoices:read | Get an invoice, credit note or pro forma |
GET /api/v1/invoices/{invoiceId}/pdf | invoices:read | Download the PDF |
GET /api/v1/customers | customers:read | List customers |
GET /api/v1/customers/{customerId} | customers:read | Get a customer |
GET /api/v1/stock | stock:read | List stock items |
GET /api/v1/stock-locations | stock:read | List stock locations |
GET /api/v1/fleet | fleet:read | List vehicles |
GET /api/v1/fleet/{vehicleId}/defects | fleet:read | List a vehicle's defects |
GET /api/v1/assets | assets:read | List equipment |
GET /api/v1/quotes | quotes:read | List quotes |
GET /api/v1/quotes/{quoteId} | quotes:read | Get a quote |
The GIS endpoints under /api/v1/gis/ogc (scope gis:read) follow the OGC API Features standard, take Basic authentication as well and have their own paging and limits: see the GIS API page.
Pagination and filters
Lists return { "data": [...], "nextCursor": "..." }, ordered by id. Ask for up to 100 items with ?limit= (default 50); pass the nextCursor you received as ?cursor= for the next page. nextCursor is null on the last page. One record is { "data": {...} }.
Invoices and quotes take filters (kind, status, customer, issue dates, updatedSince). To keep another system in step, store the time of your last sync and ask for ?updatedSince= that time. A filter that is present but not valid is refused with 400 invalid_parameter, never ignored.
Times are ISO 8601 in UTC; dates are YYYY-MM-DD. Money is in whole minor units (cents or pence: 170300 is 1,703.00), always with its currency; VAT rates are in basis points (2300 is 23%). Quantities are exact decimal text ("2.5").
{
"data": [
{
"id": "5b0c9e1a-2f4d-4c8e-9a7b-1d2e3f4a5b6c",
"kind": "invoice",
"status": "issued",
"number": "INV-00042",
"customer": {
"id": "cust-city",
"type": "customer",
"name": "City Council"
},
"siteId": "site-depot",
"currency": "EUR",
"issueDate": "2026-10-01",
"supplyDate": "2026-09-30",
"supplyPeriod": null,
"dueDate": "2026-10-31",
"paymentTermsDays": 30,
"buyerReference": "REF-9",
"purchaseOrderReference": "PO-2291",
"creditsInvoiceId": null,
"totals": {
"netMinor": 140000,
"vatMinor": 30300,
"grossMinor": 170300
},
"vatBreakdown": [
{
"category": "S",
"rateBasisPoints": 2300,
"taxableMinor": 120000,
"vatMinor": 27600
},
{
"category": "S",
"rateBasisPoints": 1350,
"taxableMinor": 20000,
"vatMinor": 2700
}
],
"accountingCurrency": null,
"issuedAt": "2026-10-01T09:30:00.000Z",
"createdAt": "2026-09-30T16:00:00.000Z",
"updatedAt": "2026-10-01T09:30:00.000Z",
"links": {
"self": "/api/v1/invoices/5b0c9e1a-2f4d-4c8e-9a7b-1d2e3f4a5b6c",
"pdf": "/api/v1/invoices/5b0c9e1a-2f4d-4c8e-9a7b-1d2e3f4a5b6c/pdf"
}
}
],
"nextCursor": "8e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b"
}Errors
Errors are { "error": { "code": "...", "message": "..." } } with a stable code to branch on; the message is for people.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_cursor, invalid_parameter | A cursor that is not the nextCursor of a previous page, or a query parameter that is present but not valid (the message names it). |
| 400 | invalid_request, idempotency_key_required | The request body or its fields cannot be used (the message names them), or the Idempotency-Key is missing or malformed on a write. |
| 401 | invalid_key, revoked_key | The key is missing, wrong or revoked. |
| 403 | missing_scope | The key does not have the scope this endpoint needs. |
| 403 | key_owner_not_allowed | The person who created the key is no longer an active member, or can no longer see this data. Someone who can manage members can reassign the key or revoke it. |
| 403 | api_not_enabled, company_unavailable, module_not_licensed | API access is off for your company, its subscription is not active, or its plan does not include this data. |
| 403 | writes_not_enabled | Changing data through the API is not switched on for your company. Ask fieldGRID support. |
| 404 | not_found | No record with that id in your company. |
| 409 | idempotency_key_reused, conflict, revision_conflict | The Idempotency-Key was already used for a different request (idempotency_key_reused), the record is in a state that does not allow this change (conflict), or the form was published again since you read it (revision_conflict). |
| 412 | precondition_failed | If-Match does not match the record's current ETag: read it again and retry. |
| 413 | payload_too_large | The body (or the file) is larger than the limit. |
| 415 | unsupported_media_type | A write needs Content-Type application/json (multipart/form-data for a file). |
| 422 | validation_failed | One or more fields are not valid; the fields list in the error names each one. |
| 428 | precondition_required | A PATCH needs an If-Match header. |
| 429 | rate_limited | Too many requests for this key: wait for the seconds in Retry-After. |
| 500 | internal | Something failed on our side. Retry later; tell us if it persists. |
| 503 | unavailable | Temporary. Retry shortly (see Retry-After). |
| 503 | invoicing_not_enabled | Invoicing is not switched on for your company yet (invoices and quotes only). |
| 507 | storage_full | A sandbox company has used all its storage. |
Rate limits and limits
- 120 requests a minute per key. Above it the answer is
429 rate_limitedwith aRetry-Afterheader in seconds: wait that long, then carry on. - Up to 100 items per page, 20 active keys and 10 webhooks per company.
- Writes have their own limits: 30 a minute per key, 300 per company and 10 per record, a body of at most 256 KB and a file of at most 25 MB. See the API reference.
- Every answer is
Cache-Control: no-store.
Versioning
The version is in the path (/api/v1). v1 is frozen as launched: within v1 we only add (new endpoints, new optional parameters, new fields in a response, new webhook events). We never remove or rename a field, change its meaning or type, or change an error code in v1. Ignore fields you do not know. Anything that would break an integration comes only as /api/v2, with at least 12 months' notice, Deprecation and Sunset headers on what is going away, and an entry in the changelog. The full policy and every change are on versioning and changelog. Creating or changing records is planned; tell us what you need at contact@fieldgrid.cloud.
The conventions every response follows: field names in camelCase; id is a record's own id and ...Id names another record; money is whole minor units (cents, pence) in fields ending Minor, always with a currency on the record; days are YYYY-MM-DD and times are ISO 8601 in UTC (...Z); lists are { data, nextCursor }; errors are { error: { code, message } }.
Webhooks
A webhook is an https address of yours that fieldGRID calls with a signed JSON POST when something happens. Events, payloads, signature verification (Node.js and Python), retries and idempotency are on the webhooks page.
No-code: Zapier and Make
fieldGRID has connectors for Zapier and Make to link it to other tools without writing code. They are private: we share them with your team on request (contact@fieldgrid.cloud), and they are not listed in the Zapier or Make app directories.
In Zapier: triggers New Job, New Customer; actions Create Job, Update Job, Create Customer. In Make: modules Watch New Jobs, Watch New Customers, Create a Job, Update a Job, Create a Customer. The triggers check for new records by polling, up to 1,000 records per check.
They use an API key of your company. The triggers need the scopes jobs:read and customers:read (Read jobs, Read customers). The actions need jobs:write and customers:write (Change jobs, Change customers), and “Changing data through the API” must be switched on for your company, on request. An action acts as the person who created the key. See the API reference.
The actions have an optional Unique reference field, sent as the Idempotency-Key: put your own record's id there, and a repeated run within 24 hours returns what fieldGRID already made instead of making it twice.
A webhook event caused by an action carries origin: { "kind": "api", "keyId": "..." }, so a scenario can ignore its own changes. See the webhooks page.
Accounting exports
Without writing code, your team can download the sales journal of issued invoices and credit notes for a period in the import layout of your accounting package, from Invoicing → Settings → Accounting export. Each VAT rate is mapped once to your own sales account and tax code (and, for Sage, each customer to its account reference); nothing is exported until everything the period uses is mapped. One row per document and VAT rate, with the VAT exactly as the document shows it. Pro formas and drafts are never exported.
Using Xero? Invoicing can also connect to your own Xero organisation, with no files to import: issued invoices, credit notes, payments and refunds go to Xero automatically, with VAT amounts matching to the cent, and payments recorded in Xero come back to fieldGRID. Set it up in Invoicing → Settings → Accounting connection once it is switched on for your company.
| Package | Layout | Credit notes | Dates |
|---|---|---|---|
| Xero | Sales invoice import template | Negative amounts (UnitAmount, TaxAmount): Xero imports a negative document as a credit note. | DD/MM/YYYY |
| QuickBooks Online | Invoice import | ItemQuantity -1, so the amounts are negative. | DD/MM/YYYY |
| Sage 50 Accounts | Audit trail transactions import | Type SC with positive amounts (an invoice is SI). | DD/MM/YYYY |
Compare the columns with your package's own import template before the first import. Text is written so that a spreadsheet never runs it as a formula.
Invoices and VAT
Invoices and credit notes are designed to meet Irish and UK VAT invoice requirements. Other countries are on our roadmap.
fieldGRID's processing of your company's data is governed by the Data Processing Agreement.
