Estimates
Create, list, update, approve and delete estimates through the objects route.
An estimate is a priced offer you send a client before the work starts. It has the same structure as an invoice: a header, line items, and totals that FieldCamp computes.
Estimates have no path of their own. They are served through the objects
route, with estimate as the slug:
| You want to | Route |
|---|---|
| List estimates | GET /api/v1/objects/estimate |
| Create one | POST /api/v1/objects/estimate |
| Read one | GET /api/v1/objects/estimate/{id} |
| Update one | PATCH /api/v1/objects/estimate/{id} (PUT works the same) |
| Delete one | DELETE /api/v1/objects/estimate/{id} |
Reads need the estimates:read scope and writes need estimates:write.
The body is flat
Unlike a custom object, an estimate's fields go at the top level of the
request body, not inside a data object.
Create an estimate
clientId and a non-empty items array are required.
curl -X POST https://api.fieldcamp.ai/api/v1/objects/estimate \
-H "Authorization: Bearer $FIELDCAMP_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: estimate-2026-0098" \
-d '{
"clientId": "665f1c2ab7e4a91d3c0f8a11",
"title": "Water heater replacement",
"dueDate": "2026-07-15",
"items": [
{ "itemId": "665f1c2ab7e4a91d3c0f8b22", "quantity": 1 },
{ "name": "Disposal of old unit", "quantity": 1, "rate": 60 }
]
}'| Field | Description |
|---|---|
clientId | Required. The client the estimate is for. |
items | Required. Line items, in the same form as on an invoice. |
title | The estimate's title. |
date | Defaults to today. YYYY-MM-DD or an ISO-8601 timestamp. |
dueDate | The date the estimate is valid until. |
documentPreFix | A prefix for the estimate number. |
discount, discountType | Document-level discount. discountType 1 is a percentage, 2 an amount. |
markup, markupType | Stored as sent; they do not change the total. |
taxes | Document-level taxes, as [{ "taxId": "..." }]. |
paymentTerms | Days. |
paymentInstructions, comments, privateNotes | Free text. |
poNumber | The customer's purchase order number. |
clientDetails | A snapshot of the client details printed on the estimate. Filled from the client when left out. |
subTotal, total | Optional. Checked against FieldCamp's own figures; a mismatch returns 422. |
Line items, tax and totals follow the same rules as invoices: see how a line is filled. The estimate number comes from the account's estimate sequence.
A field the API does not know returns 422 naming it.
Read estimates
Fields returned on top of the ones above. actionStatus and documentStatus
are also returned; they can be changed on update, see below.
| Field | Description |
|---|---|
id, recordId, documentNumber | Identifiers. documentNumber is the estimate number. |
exclusiveTaxAmount, inclusiveTaxAmount | Tax added on top of the prices, and tax already inside them. |
currency, currencySymbol | The account's currency. |
jobId | The job created from this estimate, when there is one. |
sentDate, readDate, approvedDate, declinedDate | Lifecycle dates. |
depositAmount, depositPercent, depositType, depositDate | Deposit settings. |
isConvertedToInvoice | true once an invoice was made from it. |
properties, tags | Custom field values and tags. |
createdAt, updatedAt | ISO-8601 timestamps. |
GET /api/v1/objects/estimate/{id} also returns the line items with their
taxes, and a client summary.
List parameters:
| Parameter | Description |
|---|---|
clientId | Estimates for one client. |
since | ISO-8601 timestamp; returns estimates whose updatedAt is at or after it. Add timezone for a zone-less value. |
includeDeleted | true also returns deleted estimates, each marked deleted: true. Use it with since so a sync can tell that an estimate was deleted. |
limit, cursor | limit defaults to 30, maximum 100. cursor is meta.next.cursor from the previous response. |
sort, page | The older offset paging. sort is field:direction on createdAt, updatedAt, total, dueDate, documentNumber or actionStatus. |
Update and approve
Send only the fields that change. Line items can be replaced or changed one by one, exactly as on an invoice: see update an invoice.
Two fields can be set on update but not on create:
| Field | Description |
|---|---|
actionStatus | 0 pending, 1 approved, 2 declined. Setting 1 sends the estimate.approved event. |
documentStatus | One of the estimate pipeline's stages. GET /api/v1/pipelines?object=estimate lists them. |
An estimate with several options cannot have its lines or discount changed
through the API; that returns 409. Edit those in FieldCamp.
Delete
DELETE /api/v1/objects/estimate/{id} returns { id, deleted: true }. The
estimate stops appearing in lists unless you pass includeDeleted=true.
Related routes
- Estimate approval check: whether an internal approval still matches the estimate's contents.
- Signature requests: send an estimate to the client to sign.
- Files: attach a file to an estimate.
Endpoints
/api/v1/objects/{slug}Authorization
ApiKeyAuth Public API key: Authorization: Bearer fc_live_… (or X-Api-Key). fc_test_… keys work only on sandbox accounts. Scoped keys work on /api/v1 only.
In: header
Path Parameters
Custom object slug, e.g. unit. Built-in modules (client, job, invoice, visit, estimate, request, task) are rejected with 400 — use their dedicated /api/v1 routes.
Query Parameters
1–100. Out-of-range or invalid values fall back to 50.
From paging.next.cursor of the previous page.
ISO-8601. Returns records updated at or after this time.
Exact pipeline stage value. status is accepted as an alias.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/objects/string"{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}/api/v1/objects/{slug}Authorization
ApiKeyAuth Public API key: Authorization: Bearer fc_live_… (or X-Api-Key). fc_test_… keys work only on sandbox accounts. Scoped keys work on /api/v1 only.
In: header
Path Parameters
Custom object slug, e.g. unit. Built-in modules (client, job, invoice, visit, estimate, request, task) are rejected with 400 — use their dedicated /api/v1 routes.
Header Parameters
Replays the stored response for 24 h per org; a different body with the same key → 409.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/objects/string" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}/api/v1/objects/{slug}/{id}Authorization
ApiKeyAuth Public API key: Authorization: Bearer fc_live_… (or X-Api-Key). fc_test_… keys work only on sandbox accounts. Scoped keys work on /api/v1 only.
In: header
Path Parameters
Custom object slug, e.g. unit. Built-in modules (client, job, invoice, visit, estimate, request, task) are rejected with 400 — use their dedicated /api/v1 routes.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/objects/string/665f1c2ab3e4d5f6a7b8c9d0"{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}/api/v1/objects/{slug}/{id}Authorization
ApiKeyAuth Public API key: Authorization: Bearer fc_live_… (or X-Api-Key). fc_test_… keys work only on sandbox accounts. Scoped keys work on /api/v1 only.
In: header
Path Parameters
Custom object slug, e.g. unit. Built-in modules (client, job, invoice, visit, estimate, request, task) are rejected with 400 — use their dedicated /api/v1 routes.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/objects/string/665f1c2ab3e4d5f6a7b8c9d0" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}/api/v1/objects/{slug}/{id}Authorization
ApiKeyAuth Public API key: Authorization: Bearer fc_live_… (or X-Api-Key). fc_test_… keys work only on sandbox accounts. Scoped keys work on /api/v1 only.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/objects/string/string"{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}Use estimate as {slug}.