Skip to Content
API and MCPResources

Job types and pipelines

Read the account's job types and the status values each record type accepts.

Two read-only lookups give you the IDs and status values you need before you create or update jobs, visits and other records. Both need the settings:read scope.

LookupPathUse it for
Job types/api/v1/job-typesThe valid values for a job's jobTypeId.
Pipelines/api/v1/pipelinesThe valid status values for each record type, and which moves are allowed.

Fetch them once at integration startup and cache the result. Re-fetch when your team changes job types or pipeline stages in FieldCamp.

Job types

curl https://api.fieldcamp.ai/api/v1/job-types \
  -H "Authorization: Bearer $FIELDCAMP_API_KEY"
FieldDescription
idPass this as jobTypeId on a job.
nameThe job type's name.
descriptionFree text, when set.
estimatedDurationThe job type's default duration, when set.
isDefaulttrue for the account's default job type.
jobFormIdsIDs of the job form templates attached to this job type.
createdAt, updatedAtISO-8601 timestamps.

The list is cursor paged: limit (1–100, default 50) and cursor set to meta.next.cursor from the previous response. updated_since (ISO-8601) returns only job types changed since that time.

Pipelines

A pipeline is the ordered list of stages a record moves through, such as a job's statuses. GET /api/v1/pipelines returns every pipeline on the account: job, visit, client, request, estimate, invoice and each custom object. Add ?object=<slug> for one record type.

curl "https://api.fieldcamp.ai/api/v1/pipelines?object=job" \
  -H "Authorization: Bearer $FIELDCAMP_API_KEY"
FieldDescription
objectThe record type, for example job.
builtintrue for FieldCamp's own record types, false for a custom object.
sourceaccount when your team has saved this pipeline, default when the account still uses FieldCamp's default.
isDefaulttrue for the record type's default pipeline.
nameThe pipeline's name.
fieldNameThe field the stage is stored in, for example jobStatus or visitStatus.
stagesThe stages, in order. See below.
transitionsThe raw transition rules. An empty list means every move is allowed.
acceptedValuesVisit pipeline only: every status a visit write accepts.

Each entry in stages:

FieldDescription
valueThe value to send in a create or update.
labelThe name your team sees.
orderPosition in the pipeline.
isFinaltrue for a closing stage.
colorThe stage colour, when set.
allowedTransitionsStages a record can move to from here. Each has to, and requiredFields when the move needs fields filled in first.

This list is not paged. meta.total is the number of pipelines returned.

Endpoints

GET/api/v1/job-types

Authorization

BearerAuth
AuthorizationBearer <token>

JWT from POST /api/auth/login (response.data.token). Tokens do not expire.

In: header

Query Parameters

limit?integer

1–100, default 50.

cursor?string

meta.next.cursor of the previous page.

updated_since?string

ISO-8601; only rows updated since.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/job-types"
{  "success": true,  "code": "success.created",  "message": "Client created successfully",  "data": null}
GET/api/v1/job-types/{id}

Authorization

BearerAuth
AuthorizationBearer <token>

JWT from POST /api/auth/login (response.data.token). Tokens do not expire.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/job-types/665f1c2ab3e4d5f6a7b8c9d0"
{  "success": true,  "code": "success.created",  "message": "Client created successfully",  "data": null}
GET/api/v1/pipelines

Authorization

BearerAuth
AuthorizationBearer <token>

JWT from POST /api/auth/login (response.data.token). Tokens do not expire.

In: header

Query Parameters

object?string

Only this object slug.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/pipelines"
{  "success": true,  "code": "success.created",  "message": "Client created successfully",  "data": null}

On this page