Requests
Create, list, update and delete service requests through the objects route.
A request is a client asking for work, before it becomes an estimate or a job. Use the API to push requests from your website form, a marketplace or another system into FieldCamp.
Requests have no path of their own. They are served through the objects
route, with request as the slug:
| You want to | Route |
|---|---|
| List requests | GET /api/v1/objects/request |
| Create one | POST /api/v1/objects/request |
| Read one | GET /api/v1/objects/request/{id} |
| Update one | PATCH /api/v1/objects/request/{id} (PUT works the same) |
| Delete one | DELETE /api/v1/objects/request/{id} |
Reads need the requests:read scope and writes need requests:write.
The body is flat
Unlike a custom object, a request's fields go at the top level of the
request body, not inside a data object.
Create a request
clientId is required. So is any custom request field your account has
marked Required; a create without it returns 400 naming the missing
fields.
curl -X POST https://api.fieldcamp.ai/api/v1/objects/request \
-H "Authorization: Bearer $FIELDCAMP_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: web-form-55120" \
-d '{
"clientId": "665f1c2ab7e4a91d3c0f8a11",
"description": "Kitchen tap is leaking under the sink.",
"urgency": "high",
"preferredContactMethod": "phone",
"startDate": "2026-06-10T09:00:00Z",
"endDate": "2026-06-10T11:00:00Z"
}'| Field | Description |
|---|---|
clientId | Required. Cannot be changed later. |
description | What the client needs. |
urgency | low, medium (default), high or critical. |
stage | One of the request pipeline's stages. GET /api/v1/pipelines?object=request lists them. |
requestAddress | Where the work is. |
requestPhone | A phone number for this request. |
preferredContactMethod | phone (default), email, text or any. |
startDate, endDate | ISO-8601 date-times. Their order is not checked, so make sure endDate is after startDate yourself. |
startTime, endTime | ISO-8601 date-times. |
availabilityDate1, availabilityDate2 | Days that suit the client, YYYY-MM-DD. |
scheduleLater, anyTime | true or false. |
arrivalWindowSeconds | A whole number of seconds. A value of 0 or less is saved as empty. |
requirements, specialInstructions, notes | Free text. |
assignedTo | List of team member IDs. Each must be on the account. |
tags | List of tags. |
estimatedValue | Expected value of the work. |
targetObjectSlug, targetRecordId | Link the request to a custom object record. |
departmentId | The department. Cannot be changed later. |
properties | Custom field values, [{ id, value }]. |
Validation:
- A field the API does not know returns
422naming it. - A
clientIdthat is not on the account returns404. - A team member ID that is not on the account returns
422.
The response has status 201 and returns the request.
Read requests
Read-only fields returned on top of the ones above: id, requestNumber
(assigned on create), preferredDate, serviceType, total,
convertedToJobId (the job made from this request), createdAt and
updatedAt.
List parameters:
| Parameter | Description |
|---|---|
clientId | Requests for one client. |
stage | Requests in one pipeline stage. |
since | ISO-8601 timestamp; returns requests whose updatedAt is at or after it. Add timezone for a zone-less value. |
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, requestNumber, stage, total or preferredDate. |
Update and delete
PATCH /api/v1/objects/request/{id} takes the same fields as create, except
clientId and departmentId. Send only what changes. To move a request
along its pipeline, send stage.
DELETE /api/v1/objects/request/{id} returns { id, deleted: true }.
Webhook events
request.created, request.updated, request.deleted and
request.status_changed. See
Webhook events.
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 request as {slug}.