Skip to content
FieldSignal DATA WHERE IT HAPPENS ™

Developers

API reference

FieldSignal API 1.0.1

Read a team's FieldSignal projects, visits and what each visit contains, and receive webhook messages when visits, corrective actions and reports change. This document is version 1.0.1; the API version is "1", given as api_version in answers and version in webhook messages.

This version only reads. Writing through the API is a later release. Only GET is answered: any other method, HEAD and OPTIONS included, is refused with 405 and an Allow: GET header. Answers carry no cross-origin headers, so call the API from a server, not from a web page.

Not given out by this version: the locations of notes and photos, a visit's location, route, weather and time entries, voice recordings (a voice note is given as its transcript), marks drawn on photos, and signatures (a signature item says only whether it was signed).

Rate limits: 60 requests a minute per key and 300 a minute per team, counted per clock minute. A request counts once its key is accepted, including requests then refused with 400, 404, 429 or 500. Requests refused with 401 or 403, requests to a path that does not exist and requests with a method other than GET do not count. A request over the limit is answered 429 with Retry-After, the seconds until the next minute begins.

Versioning: within version 1, fields may be added without notice; ignore fields you do not recognise. A change that could break an integration that follows this document gets at least 30 days' notice to the team's managers by email, except a change needed sooner for security or to comply with the law, which gets as much notice as possible.

Base address

https://api.fieldsignal.com/functions/v1/api

Authentication

  • type: http
  • scheme: bearer
  • bearerFormat: fsk_live_…

A team's API key, sent in the header exactly as "Authorization: Bearer <key>", with "Bearer" capitalised as shown. A header in any other form is answered as a missing key. A key is fsk_live_, 12 hexadecimal characters, an underscore and 43 URL-safe characters.

Projects

The team's projects. Sample projects are not included.

GET /v1/projects

List the team's projects

Newest created first; a project with no creation time comes last.

Parameters

NameInRequiredTypeDescription
limitqueryNo
integer
minimum: 1
maximum: 100
default: 50

Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused.

cursorqueryNo
string
pattern: ^[A-Za-z0-9_-]+$
maxLength: 256

next_cursor from an earlier answer of the same route and visit, passed back unchanged. Do not build or edit one.

Responses

200

One page of projects.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · ProjectList
NameTypeRequiredDescription
api_versionYes
data
array of Project
Yes
next_cursorYes

400

The query was refused: INVALID_FILTER (an unknown or repeated parameter, or a filter value or order the route does not accept), INVALID_LIMIT or INVALID_CURSOR.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER, INVALID_LIMIT, INVALID_CURSOR
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

GET /v1/projects/{projectId}

Get one project

Parameters

NameInRequiredTypeDescription
projectIdpathYes

A project id. Either case is accepted; an id that is not a UUID is answered 404.

Responses

200

The project.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · ProjectResponse
NameTypeRequiredDescription
api_versionYes
dataYes

400

The query was refused with INVALID_FILTER; this route takes no query parameters.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

Visits

The visits in the team's projects. A visit's updated_at is when its answer last changed, including approval and assignment changes.

Changed-since walk: pass updated_since; follow next_cursor to the end; store next_updated_since from the answers and pass it as updated_since next time. A visit may be returned again on a later run; treat records as updates keyed by id and updated_at.

GET /v1/visits

List the visits in the team's projects

Newest created first; a visit with no creation time comes last. With updated_since, the visits whose updated_at is at or after it, oldest change first.

next_updated_since is the same on every page of a walk: one minute before the walk's first page was answered. Pass it as updated_since on the next run.

Filters combine. scheduled_from and scheduled_to include both days; scheduled_from must not be after scheduled_to. started_from includes its instant and started_to excludes it; started_from must be before started_to. A cursor is valid only with the filters it was issued for.

Parameters

NameInRequiredTypeDescription
project_idqueryNo

Only the visits of this project. Either case is accepted.

statusqueryNo
string
pattern: ^(planning|active|completed)(,(planning|active|completed))*$

One or more of planning, active and completed, separated by commas, in any order.

updated_sincequeryNo

Only visits whose updated_at is at or after this instant, oldest change first.

scheduled_fromqueryNo

Only visits scheduled for this day or later.

scheduled_toqueryNo

Only visits scheduled for this day or earlier.

started_fromqueryNo

Only visits started at or after this instant.

started_toqueryNo

Only visits started before this instant.

limitqueryNo
integer
minimum: 1
maximum: 100
default: 50

Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused.

cursorqueryNo
string
pattern: ^[A-Za-z0-9_-]+$
maxLength: 512

next_cursor from an earlier answer, passed back unchanged with the same filters. Do not build or edit one.

Responses

200

One page of visits.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · VisitList
NameTypeRequiredDescription
api_versionYes
data
array of Visit
Yes
next_cursorYes
next_updated_sinceYes

400

The query was refused: INVALID_FILTER (an unknown or repeated parameter, or a filter value or order the route does not accept), INVALID_LIMIT or INVALID_CURSOR.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER, INVALID_LIMIT, INVALID_CURSOR
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

GET /v1/visits/{visitId}

Get one visit

Parameters

NameInRequiredTypeDescription
visitIdpathYes

A visit id. Either case is accepted; an id that is not a UUID is answered 404.

Responses

200

The visit.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · VisitResponse
NameTypeRequiredDescription
api_versionYes
dataYes

400

The query was refused with INVALID_FILTER; this route takes no query parameters.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

Notes

A visit's field notes. A voice note is given as its transcript; the recording is not given out. Note locations are not given out.

GET /v1/visits/{visitId}/notes

List a visit's notes

Oldest first. A voice note is given as its transcript; note locations are not given out.

Parameters

NameInRequiredTypeDescription
visitIdpathYes

A visit id. Either case is accepted; an id that is not a UUID is answered 404.

limitqueryNo
integer
minimum: 1
maximum: 100
default: 50

Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused.

cursorqueryNo
string
pattern: ^[A-Za-z0-9_-]+$
maxLength: 256

next_cursor from an earlier answer of the same route and visit, passed back unchanged. Do not build or edit one.

Responses

200

One page of notes.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · NoteList
NameTypeRequiredDescription
api_versionYes
data
array of Note
Yes
next_cursorYes

400

The query was refused: INVALID_FILTER (an unknown or repeated parameter, or a filter value or order the route does not accept), INVALID_LIMIT or INVALID_CURSOR.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER, INVALID_LIMIT, INVALID_CURSOR
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

Photos

A visit's photos. file is a download link when file_status is available, valid for 300 seconds (expires_at), made for each request and never stored. file_status unavailable means a link could not be made this time; not_uploaded means the file has not reached FieldSignal yet. Photo locations and marks drawn on photos are not given out.

Photos are provided as stored. A photo file can carry information the camera or phone wrote into it, such as where and when it was taken, and the API delivers the file with that information in it.

The API delivers the file as FieldSignal stores it, without changing it, so it may contain a location even though the API's answers contain none.

GET /v1/visits/{visitId}/photos

List a visit's photos

Oldest first. Each photo's file is a download link valid for 300 seconds when file_status is available. Photos are provided as stored. A photo file can carry information the camera or phone wrote into it, such as where and when it was taken, and the API delivers the file with that information in it.

Parameters

NameInRequiredTypeDescription
visitIdpathYes

A visit id. Either case is accepted; an id that is not a UUID is answered 404.

limitqueryNo
integer
minimum: 1
maximum: 100
default: 50

Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused.

cursorqueryNo
string
pattern: ^[A-Za-z0-9_-]+$
maxLength: 256

next_cursor from an earlier answer of the same route and visit, passed back unchanged. Do not build or edit one.

Responses

200

One page of photos.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · PhotoList
NameTypeRequiredDescription
api_versionYes
data
array of Photo
Yes
next_cursorYes

400

The query was refused: INVALID_FILTER (an unknown or repeated parameter, or a filter value or order the route does not accept), INVALID_LIMIT or INVALID_CURSOR.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER, INVALID_LIMIT, INVALID_CURSOR
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

GET /v1/visits/{visitId}/photos/{photoId}

Get one photo of a visit

Its file is a download link valid for 300 seconds when file_status is available. Photos are provided as stored. A photo file can carry information the camera or phone wrote into it, such as where and when it was taken, and the API delivers the file with that information in it.

Parameters

NameInRequiredTypeDescription
visitIdpathYes

A visit id. Either case is accepted; an id that is not a UUID is answered 404.

photoIdpathYes

A photo id of the visit. Either case is accepted; an id that is not a UUID is answered 404.

Responses

200

The photo.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · PhotoResponse
NameTypeRequiredDescription
api_versionYes
dataYes

400

The query was refused with INVALID_FILTER; this route takes no query parameters.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

Checklists

A visit's checklists and their answers. A signature item says only whether it was signed; the signature is not given out. Checklist photo files follow the same rules as visit photos, including that a file is provided as stored and may carry where and when it was taken.

GET /v1/visits/{visitId}/checklists

List a visit's checklists

Oldest first, without their answers; get one checklist for its answers.

Parameters

NameInRequiredTypeDescription
visitIdpathYes

A visit id. Either case is accepted; an id that is not a UUID is answered 404.

limitqueryNo
integer
minimum: 1
maximum: 100
default: 50

Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused.

cursorqueryNo
string
pattern: ^[A-Za-z0-9_-]+$
maxLength: 256

next_cursor from an earlier answer of the same route and visit, passed back unchanged. Do not build or edit one.

Responses

200

One page of checklists.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · ChecklistList
NameTypeRequiredDescription
api_versionYes
dataYes
next_cursorYes

400

The query was refused: INVALID_FILTER (an unknown or repeated parameter, or a filter value or order the route does not accept), INVALID_LIMIT or INVALID_CURSOR.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER, INVALID_LIMIT, INVALID_CURSOR
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

GET /v1/visits/{visitId}/checklists/{checklistId}

Get one checklist of a visit with its answers

Sections and items in the order the checklist was filled in. A signature item says only whether it was signed. Its photos follow the same rules as visit photos.

Parameters

NameInRequiredTypeDescription
visitIdpathYes

A visit id. Either case is accepted; an id that is not a UUID is answered 404.

checklistIdpathYes

A checklist id of the visit. Either case is accepted; an id that is not a UUID is answered 404.

Responses

200

The checklist.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · ChecklistResponse
NameTypeRequiredDescription
api_versionYes
dataYes

400

The query was refused with INVALID_FILTER; this route takes no query parameters.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

Corrective actions

A visit's corrective actions with their history, cancelled ones included.

GET /v1/visits/{visitId}/corrective_actions

List a visit's corrective actions

Oldest first, cancelled ones included, each with its events oldest first.

Parameters

NameInRequiredTypeDescription
visitIdpathYes

A visit id. Either case is accepted; an id that is not a UUID is answered 404.

limitqueryNo
integer
minimum: 1
maximum: 100
default: 50

Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused.

cursorqueryNo
string
pattern: ^[A-Za-z0-9_-]+$
maxLength: 256

next_cursor from an earlier answer of the same route and visit, passed back unchanged. Do not build or edit one.

Responses

200

One page of corrective actions.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · CorrectiveActionList
NameTypeRequiredDescription
api_versionYes
dataYes
next_cursorYes

400

The query was refused: INVALID_FILTER (an unknown or repeated parameter, or a filter value or order the route does not accept), INVALID_LIMIT or INVALID_CURSOR.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INVALID_FILTER, INVALID_LIMIT, INVALID_CURSOR
Yes
error.message
string
Yes
request_idYes

401

The key is missing, not valid, revoked or expired.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED
Yes
error.message
string
Yes
request_idYes

403

The team's plan does not include API access.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_PLAN_REQUIRED
Yes
error.message
string
Yes
request_idYes

404

No such resource for the key's team. Something of another team is answered the same way.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: NOT_FOUND
Yes
error.message
string
Yes
request_idYes

429

Over 60 requests this minute for the key, or 300 for the team. Requests are counted per clock minute once the key is accepted, this one included. Wait for Retry-After, then try again.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
Retry-After

Seconds to wait before trying again, until the next clock minute begins; at least 1.

integer
minimum: 1
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: API_RATE_LIMITED
Yes
error.message
string
Yes
request_idYes

500

Something went wrong on FieldSignal's side. Try again later.

Headers

NameDescriptionType
X-Request-Id

The id of this request, the same as request_id in an error body. Quote it when asking for help.

string
format: uuid
Cache-Control

Always no-store.

string
Always no-store
application/json · object · Builds on Error
NameTypeRequiredDescription
error
object
Yes
error.code
One of: INTERNAL_ERROR
Yes
error.message
string
Yes
request_idYes

Webhooks

Messages FieldSignal sends by POST to an address the team registers, one for each subscribed event. The body is the envelope with id, type, version, created_at, team, actor and data; data is a snapshot taken when the message was queued, as the event was recorded.

Signature: FieldSignal-Signature is t=<unix seconds>,v1=<hex>[,v1=<hex>]. Each v1 is the lowercase hex HMAC-SHA256 of "<t>.<raw body>", keyed by the whole signing secret as text, whsec_ prefix included. For 24 hours after a new secret is issued, two v1 values are sent, one for the new secret and one for the old; accept the message when any one matches. Compute over the raw body as received. We recommend rejecting a message whose t is more than 5 minutes from your clock; t is set fresh on every attempt.

Delivery: an answer from 200 to 299 is success. 410 turns the address off. Anything else is retried, including redirects, which are not followed, and no complete answer within 10 seconds. Retries follow after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours, 7 attempts in all over about 21 hours; each wait can run up to a minute longer. An address is turned off after a 410, when it keeps failing for three days, or when it no longer meets the address rules; the team's managers are emailed. Messages waiting for an address that is turned off are not sent, and none are sent while the team's plan does not include webhooks.

Messages may arrive late, twice or out of order: de-duplicate on FieldSignal-Event-Id, which is the envelope id and is the same on every attempt.

visit.completed

A visit was completed

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

application/json · VisitCompletedMessage
NameTypeRequiredDescription
idYes
type
Always visit.completed
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

visit.approved

A visit was approved

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

application/json · VisitApprovedMessage
NameTypeRequiredDescription
idYes
type
Always visit.approved
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Builds on VisitEventData
Yes
data.visitYes
data.projectYes
data.approval
object
Yes
data.approval.locked
boolean
Yes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

visit.revision_requested

A revision of a visit was requested

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

application/json · VisitRevisionRequestedMessage
NameTypeRequiredDescription
idYes
type
Always visit.revision_requested
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Builds on VisitEventData
Yes
data.visitYes
data.projectYes
data.revision
object
Yes
data.revision.reason
string | null
Yes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

report.generated

A report's file is ready

data.report.download_url downloads the report file. The link is valid for 24 hours and is made fresh on each attempt; it and download_expires_at are null when no file is available at sending.

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

application/json · ReportGeneratedMessage
NameTypeRequiredDescription
idYes
type
Always report.generated
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Yes
data.report
object
Yes
data.report.idYes
data.report.title
string
Yes
data.report.type
string
One of: site_visit, photo_log, field_notice
Yes
data.report.format
string
One of: pdf, docx
Yes
data.report.locale
string
Yes
data.report.generated_atYes
data.report.download_url
string | null
format: uri
Yes

Downloads the report file; valid for 24 hours, made fresh on each attempt.

data.report.download_expires_atYes
data.visit
object
Yes
data.visit.idYes
data.visit.title
string
Yes
data.projectYes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

corrective_action.created

A corrective action was raised

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

application/json · CorrectiveActionCreatedMessage
NameTypeRequiredDescription
idYes
type
Always corrective_action.created
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

corrective_action.resolved

A corrective action was resolved

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

NameTypeRequiredDescription
idYes
type
Always corrective_action.resolved
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

corrective_action.closed

A corrective action was closed

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

application/json · CorrectiveActionClosedMessage
NameTypeRequiredDescription
idYes
type
Always corrective_action.closed
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

corrective_action.reopened

A corrective action was reopened

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

NameTypeRequiredDescription
idYes
type
Always corrective_action.reopened
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

corrective_action.cancelled

A corrective action was cancelled

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

NameTypeRequiredDescription
idYes
type
Always corrective_action.cancelled
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

webhook.test

A test message a team manager sent to this address

Sent to one address when a team manager asks for a test. It is signed, sent and retried like any message, and a 410 turns the address off as for any message. data.test is always true.

Headers sent

NameInRequiredTypeDescription
User-AgentheaderYes
string
Always FieldSignal-Webhooks/1
FieldSignal-Event-IdheaderYes
string
format: uuid

The message id, the same as the envelope id and the same on every attempt.

FieldSignal-Event-TypeheaderYes

The message type, the same as the envelope type.

FieldSignal-Delivery-AttemptheaderYes
integer
minimum: 1
maximum: 7

The attempt number, from 1.

FieldSignal-SignatureheaderYes
string
pattern: ^t=[0-9]+(,v1=[0-9a-f]{64}){1,2}$

t=<unix seconds>,v1=<hex>[,v1=<hex>]: HMAC-SHA256 of "<t>.<raw body>" keyed by the whole signing secret as text, whsec_ prefix included. Two v1 values for 24 hours after a new secret is issued.

Body

application/json · WebhookTestMessage
NameTypeRequiredDescription
idYes
type
Always webhook.test
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Yes
data.registration_idYes
data.test
Always true
Yes

Your answer

2XX

Received. The message is delivered and not sent again.

410

Turns this address off. No further messages are sent to it until a manager turns it on.

default

Retried, on the schedule described under Webhooks.

Schemas

Uuid

A UUID in lower case.

Type: string · format: uuid · pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

UuidAnyCase

Type: string · format: uuid · pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Timestamp

An instant in UTC with milliseconds and Z.

Type: string · format: date-time · pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$

NullableTimestamp

An instant in UTC with milliseconds and Z, or null.

Type: string | null · format: date-time · pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$

Instant

An RFC 3339 instant: seconds required, at most 6 fraction digits, then Z or an offset of at most 14:59. It must name a real date and time.

Type: string · format: date-time · pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,6})?(Z|[+-][0-9]{2}:[0-9]{2})$

Day

A real calendar day as YYYY-MM-DD.

Type: string · format: date · pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$

Person

A person, by id and name. name is null when the person has left the team or deleted their account, or has no name.

NameTypeRequiredDescription
idYes
name
string | null
Yes

NullablePerson

A person, or null when there is none. Where a record stops holding a person's id once their account is deleted, it gives null rather than a person without a name.

Type: One of: Person, null

ProjectRef

NameTypeRequiredDescription
idYes
name
string
Yes

Project

NameTypeRequiredDescription
idYes
team_idYes
name
string
Yes
description
string | null
Yes
location_name
string | null
Yes
type
string | null
Yes

The project's type as the team wrote it.

status
string | null
One of: active, completed, archived, null
Yes
created_byYes
created_atYes
updated_atYes

VisitApproval

NameTypeRequiredDescription
status
string
One of: none, awaiting, revision_requested, approved, needs_reapproval
Yes
locked
boolean
Yes
updated_atYes

Visit

NameTypeRequiredDescription
idYes
team_idYes
projectYes
title
string
Yes
description
string | null
Yes
status
string
One of: planning, active, completed
Yes
scheduled_for
string | null
format: date
Yes
started_atYes
ended_atYes
created_atYes
updated_atYes
leadYes
assigneeYes
created_byYes
approvalYes

Note

A field note. A voice note is given as its transcript; no location and no recording.

NameTypeRequiredDescription
idYes
visit_idYes
kind
string
One of: typed, voice
Yes
text
string
Yes
has_audio
boolean
Yes
authorYes
recorded_atYes
created_atYes
updated_atYes

PhotoFile

A download link for the photo file, valid until expires_at, 300 seconds after the request.

NameTypeRequiredDescription
url
string
format: uri
pattern: ^https://
Yes
expires_atYes

NullablePhotoFile

Type: One of: PhotoFile, null

FileStatus

available: file is a download link. unavailable: the file is uploaded but a link could not be made this time. not_uploaded: the file has not reached FieldSignal yet.

Type: string · One of: available, not_uploaded, unavailable

Photo

A visit photo. No location and no drawn marks.

NameTypeRequiredDescription
idYes
visit_idYes
field_note_id
string | null
format: uuid
Yes
caption
string | null
Yes
note
string | null
Yes
origin
string
One of: camera, library
Yes
taken_atYes
imported_atYes
annotated
boolean
Yes

Whether marks were drawn on the photo; the marks are not given out.

authorYes
created_atYes
updated_atYes
file_statusYes
fileYes

ChecklistTemplate

NameTypeRequiredDescription
id
string | null
format: uuid
Yes
name
string
Yes
version
integer | null
Yes

ChecklistSummary

NameTypeRequiredDescription
idYes
visit_idYes
templateYes
language
string | null
Yes

The checklist's language as its template gives it.

status
string
One of: in_progress, completed
Yes
authorYes
started_atYes
completed_atYes
created_atYes
updated_atYes

ChecklistItem

One item and its answer. id, label, type, unit and answered_at are left out when they have no value; unit is given only for a number item. value is the answer as stored, or null when unanswered, not applicable, or for a signature, photo, calculated or repeatable group item. signed is present only on a signature item, photo_ids only on a photo item and instances only on a repeatable group item.

NameTypeRequiredDescription
id
string
No
label
string
No
type
string
No
unit
string
No
answered_atNo
not_applicable
boolean
Yes
valueYes

The answer as stored, of the item's own JSON type, or null.

signed
boolean
No

Whether the item was signed; the signature is not given out.

photo_ids
array of Uuid
No

The ids of this item's photos in the checklist's photos.

instancesNo

The group's instances in their recorded order, each with its items.

ChecklistGroupInstance

NameTypeRequiredDescription
id
string
Yes
order
string | number | null
Yes
items
array of ChecklistItem
Yes

ChecklistSection

NameTypeRequiredDescription
id
string | null
Yes
title
string | null
Yes
items
array of ChecklistItem
Yes

ChecklistPhoto

A checklist photo. No location.

NameTypeRequiredDescription
idYes
item_id
string
Yes
origin
string
One of: camera, library
Yes
taken_atYes
imported_atYes
file_statusYes
fileYes

Checklist

A checklist with its sections, items and photos. Photos are listed by when they were taken.

Builds on ChecklistSummary

NameTypeRequiredDescription
idYes
visit_idYes
templateYes
language
string | null
Yes

The checklist's language as its template gives it.

status
string
One of: in_progress, completed
Yes
authorYes
started_atYes
completed_atYes
created_atYes
updated_atYes
sectionsYes
photosYes

CorrectiveActionStatus

Type: string · One of: open, in_progress, resolved, closed, cancelled

CorrectiveActionSeverity

Type: string · One of: critical, major, minor

CorrectiveActionCategory

Type: string · One of: safety, quality, environmental, equipment, other

CorrectiveActionEvent

NameTypeRequiredDescription
idYes
type
string
One of: created, assigned, started, resolved, reopened, closed, cancelled
Yes
byYes
assignee
One of: Person, null
Yes

The person assigned, on an assigned event; null on any other.

note
string | null
Yes
atYes
recorded_atYes

CorrectiveAction

NameTypeRequiredDescription
idYes
reference
string
Yes
visit_idYes
project_idYes
title
string
Yes
description
string | null
Yes
statusYes
severityYes
categoryYes
source
object
Yes
source.type
string
One of: manual, checklist_item, photo, note, captured_map
Yes
source.id
string | null
format: uuid
Yes
due_date
string | null
format: date
Yes
assigneeYes
created_byYes
resolved_byYes
raised_atYes
created_atYes
updated_atYes
eventsYes

Oldest first.

ApiVersion

Type: string · Always 1

NextCursor

Pass it back as cursor for the next page; null at the end.

Type: string | null

ProjectList

NameTypeRequiredDescription
api_versionYes
data
array of Project
Yes
next_cursorYes

VisitList

NameTypeRequiredDescription
api_versionYes
data
array of Visit
Yes
next_cursorYes
next_updated_sinceYes

NoteList

NameTypeRequiredDescription
api_versionYes
data
array of Note
Yes
next_cursorYes

PhotoList

NameTypeRequiredDescription
api_versionYes
data
array of Photo
Yes
next_cursorYes

ChecklistList

NameTypeRequiredDescription
api_versionYes
dataYes
next_cursorYes

CorrectiveActionList

NameTypeRequiredDescription
api_versionYes
dataYes
next_cursorYes

ProjectResponse

NameTypeRequiredDescription
api_versionYes
dataYes

VisitResponse

NameTypeRequiredDescription
api_versionYes
dataYes

PhotoResponse

NameTypeRequiredDescription
api_versionYes
dataYes

ChecklistResponse

NameTypeRequiredDescription
api_versionYes
dataYes

ErrorCode

Type: string · One of: METHOD_NOT_ALLOWED, NOT_FOUND, API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, API_KEY_EXPIRED, API_PLAN_REQUIRED, API_RATE_LIMITED, INVALID_LIMIT, INVALID_CURSOR, INVALID_FILTER, INTERNAL_ERROR

Error

Every refusal. code is the stable field; message is human-readable and may change.

code status meaning
METHOD_NOT_ALLOWED 405 The method is not GET; the answer carries Allow: GET.
NOT_FOUND 404 No such path, or no such resource for the key's team.
API_KEY_MISSING 401 No key, or not sent as Authorization: Bearer <key>.
API_KEY_INVALID 401 The key is not one FieldSignal issued.
API_KEY_REVOKED 401 The key has been revoked.
API_KEY_EXPIRED 401 The key has expired.
API_PLAN_REQUIRED 403 The team's plan does not include API access.
API_RATE_LIMITED 429 Over the rate limit; wait for Retry-After.
INVALID_LIMIT 400 limit is not a whole number from 1 to 100, or is given twice.
INVALID_CURSOR 400 cursor is not a next_cursor issued for this route and these filters.
INVALID_FILTER 400 An unknown or repeated parameter, or a filter value or order not accepted.
INTERNAL_ERROR 500 Something went wrong on FieldSignal's side.
NameTypeRequiredDescription
error
object
Yes
error.codeYes
error.message
string
Yes
request_idYes

WebhookEventType

Type: string · One of: visit.completed, visit.approved, visit.revision_requested, report.generated, corrective_action.created, corrective_action.resolved, corrective_action.closed, corrective_action.reopened, corrective_action.cancelled, webhook.test

WebhookTeam

NameTypeRequiredDescription
idYes
name
string
Yes

WebhookEnvelope

Every message. id is the message id, the same as FieldSignal-Event-Id. created_at is when the event was recorded. actor is the person whose action raised it, or null.

NameTypeRequiredDescription
idYes
typeYes
versionYes
created_atYes
teamYes
actorYes
data
object
Yes

WebhookVisit

NameTypeRequiredDescription
idYes
title
string
Yes
status
string
One of: planning, active, completed
Yes
started_atYes
ended_atYes
scheduled_for
string | null
format: date
Yes
leadYes

VisitEventData

NameTypeRequiredDescription
visitYes
projectYes

WebhookCorrectiveAction

NameTypeRequiredDescription
idYes
reference
string
Yes
title
string
Yes
statusYes
severityYes
categoryYes
due_date
string | null
format: date
Yes
visit_id
string | null
format: uuid
Yes
assigneeYes

CorrectiveActionTransition

The status change and the note given with it.

NameTypeRequiredDescription
from
string | null
One of: open, in_progress, resolved, closed, cancelled, null
Yes
to
string | null
One of: open, in_progress, resolved, closed, cancelled, null
Yes
note
string | null
Yes

CorrectiveActionCreatedData

NameTypeRequiredDescription
corrective_actionYes
projectYes

CorrectiveActionChangedData

NameTypeRequiredDescription
corrective_actionYes
projectYes
transitionYes

VisitCompletedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always visit.completed
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

VisitApprovedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always visit.approved
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Builds on VisitEventData
Yes
data.visitYes
data.projectYes
data.approval
object
Yes
data.approval.locked
boolean
Yes

VisitRevisionRequestedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always visit.revision_requested
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Builds on VisitEventData
Yes
data.visitYes
data.projectYes
data.revision
object
Yes
data.revision.reason
string | null
Yes

ReportGeneratedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always report.generated
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Yes
data.report
object
Yes
data.report.idYes
data.report.title
string
Yes
data.report.type
string
One of: site_visit, photo_log, field_notice
Yes
data.report.format
string
One of: pdf, docx
Yes
data.report.locale
string
Yes
data.report.generated_atYes
data.report.download_url
string | null
format: uri
Yes

Downloads the report file; valid for 24 hours, made fresh on each attempt.

data.report.download_expires_atYes
data.visit
object
Yes
data.visit.idYes
data.visit.title
string
Yes
data.projectYes

CorrectiveActionCreatedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always corrective_action.created
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

CorrectiveActionResolvedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always corrective_action.resolved
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

CorrectiveActionClosedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always corrective_action.closed
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

CorrectiveActionReopenedMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always corrective_action.reopened
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

CorrectiveActionCancelledMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always corrective_action.cancelled
Yes
versionYes
created_atYes
teamYes
actorYes
dataYes

WebhookTestMessage

Builds on WebhookEnvelope

NameTypeRequiredDescription
idYes
type
Always webhook.test
Yes
versionYes
created_atYes
teamYes
actorYes
data
object
Yes
data.registration_idYes
data.test
Always true
Yes

Documentation version 1.0.1