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/apiAuthentication
type: httpscheme: bearerbearerFormat: 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.
contact.emailinfo@fieldsignal.comtermsOfServicehttps://fieldsignal.com/legal/api-terms
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | No | integer minimum: 1maximum: 100default: 50 | Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused. |
| cursor | query | No | 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
| Name | Description | Type |
|---|---|---|
| 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| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of Project | Yes | |
| next_cursor | Yes |
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
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
GET /v1/projects/{projectId}
Get one project
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| projectId | path | Yes | A project id. Either case is accepted; an id that is not a UUID is answered 404. |
Responses
200
The project.
Headers
| Name | Description | Type |
|---|---|---|
| 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| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
400
The query was refused with INVALID_FILTER; this route takes no query parameters.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | query | No | Only the visits of this project. Either case is accepted. | |
| status | query | No | string pattern: ^(planning|active|completed)(,(planning|active|completed))*$ | One or more of planning, active and completed, separated by commas, in any order. |
| updated_since | query | No | Only visits whose updated_at is at or after this instant, oldest change first. | |
| scheduled_from | query | No | Only visits scheduled for this day or later. | |
| scheduled_to | query | No | Only visits scheduled for this day or earlier. | |
| started_from | query | No | Only visits started at or after this instant. | |
| started_to | query | No | Only visits started before this instant. | |
| limit | query | No | integer minimum: 1maximum: 100default: 50 | Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused. |
| cursor | query | No | 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
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
GET /v1/visits/{visitId}
Get one visit
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| visitId | path | Yes | A visit id. Either case is accepted; an id that is not a UUID is answered 404. |
Responses
200
The visit.
Headers
| Name | Description | Type |
|---|---|---|
| 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| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
400
The query was refused with INVALID_FILTER; this route takes no query parameters.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| visitId | path | Yes | A visit id. Either case is accepted; an id that is not a UUID is answered 404. | |
| limit | query | No | integer minimum: 1maximum: 100default: 50 | Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused. |
| cursor | query | No | 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
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| visitId | path | Yes | A visit id. Either case is accepted; an id that is not a UUID is answered 404. | |
| limit | query | No | integer minimum: 1maximum: 100default: 50 | Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused. |
| cursor | query | No | 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
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| visitId | path | Yes | A visit id. Either case is accepted; an id that is not a UUID is answered 404. | |
| photoId | path | Yes | 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
| Name | Description | Type |
|---|---|---|
| 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| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
400
The query was refused with INVALID_FILTER; this route takes no query parameters.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| visitId | path | Yes | A visit id. Either case is accepted; an id that is not a UUID is answered 404. | |
| limit | query | No | integer minimum: 1maximum: 100default: 50 | Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused. |
| cursor | query | No | 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
| Name | Description | Type |
|---|---|---|
| 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| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of ChecklistSummary | Yes | |
| next_cursor | Yes |
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
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| visitId | path | Yes | A visit id. Either case is accepted; an id that is not a UUID is answered 404. | |
| checklistId | path | Yes | 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
| Name | Description | Type |
|---|---|---|
| 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| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
400
The query was refused with INVALID_FILTER; this route takes no query parameters.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| visitId | path | Yes | A visit id. Either case is accepted; an id that is not a UUID is answered 404. | |
| limit | query | No | integer minimum: 1maximum: 100default: 50 | Page size, a whole number from 1 to 100, written with digits only. Given more than once, it is refused. |
| cursor | query | No | 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
| Name | Description | Type |
|---|---|---|
| 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| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of CorrectiveAction | Yes | |
| next_cursor | Yes |
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
| Name | Description | Type |
|---|---|---|
| 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 |
401
The key is missing, not valid, revoked or expired.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
403
The team's plan does not include API access.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
404
No such resource for the key's team. Something of another team is answered the same way.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | Description | Type |
|---|---|---|
| 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 |
500
Something went wrong on FieldSignal's side. Try again later.
Headers
| Name | Description | Type |
|---|---|---|
| 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 |
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always visit.completed | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | 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.approved
A visit was approved
Headers sent
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always visit.approved | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object Builds on VisitEventData | Yes | |
| data.visit | Yes | ||
| data.project | Yes | ||
| 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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always visit.revision_requested | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object Builds on VisitEventData | Yes | |
| data.visit | Yes | ||
| data.project | Yes | ||
| 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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always report.generated | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object | Yes | |
| data.report | object | Yes | |
| data.report.id | Yes | ||
| 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_at | Yes | ||
| 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_at | Yes | ||
| data.visit | object | Yes | |
| data.visit.id | Yes | ||
| data.visit.title | string | Yes | |
| data.project | 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.
corrective_action.created
A corrective action was raised
Headers sent
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.created | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | 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.
corrective_action.resolved
A corrective action was resolved
Headers sent
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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 · CorrectiveActionResolvedMessage| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.resolved | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | 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.
corrective_action.closed
A corrective action was closed
Headers sent
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.closed | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | 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.
corrective_action.reopened
A corrective action was reopened
Headers sent
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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 · CorrectiveActionReopenedMessage| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.reopened | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | 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.
corrective_action.cancelled
A corrective action was cancelled
Headers sent
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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 · CorrectiveActionCancelledMessage| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.cancelled | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | 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.
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| User-Agent | header | Yes | string Always FieldSignal-Webhooks/1 | |
| FieldSignal-Event-Id | header | Yes | string format: uuid | The message id, the same as the envelope id and the same on every attempt. |
| FieldSignal-Event-Type | header | Yes | The message type, the same as the envelope type. | |
| FieldSignal-Delivery-Attempt | header | Yes | integer minimum: 1maximum: 7 | The attempt number, from 1. |
| FieldSignal-Signature | header | Yes | 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| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always webhook.test | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object | Yes | |
| data.registration_id | Yes | ||
| 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.
format: uuid · pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$UuidAnyCase
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.
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.
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.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| 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.
ProjectRef
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| name | string | Yes |
Project
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| team_id | Yes | ||
| 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_by | Yes | ||
| created_at | Yes | ||
| updated_at | Yes |
VisitApproval
| Name | Type | Required | Description |
|---|---|---|---|
| status | string One of: none, awaiting, revision_requested, approved, needs_reapproval | Yes | |
| locked | boolean | Yes | |
| updated_at | Yes |
Visit
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| team_id | Yes | ||
| project | Yes | ||
| title | string | Yes | |
| description | string | null | Yes | |
| status | string One of: planning, active, completed | Yes | |
| scheduled_for | string | null format: date | Yes | |
| started_at | Yes | ||
| ended_at | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| lead | Yes | ||
| assignee | Yes | ||
| created_by | Yes | ||
| approval | Yes |
Note
A field note. A voice note is given as its transcript; no location and no recording.
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| visit_id | Yes | ||
| kind | string One of: typed, voice | Yes | |
| text | string | Yes | |
| has_audio | boolean | Yes | |
| author | Yes | ||
| recorded_at | Yes | ||
| created_at | Yes | ||
| updated_at | Yes |
PhotoFile
A download link for the photo file, valid until expires_at, 300 seconds after the request.
| Name | Type | Required | Description |
|---|---|---|---|
| url | string format: uripattern: ^https:// | Yes | |
| expires_at | Yes |
NullablePhotoFile
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.
available, not_uploaded, unavailablePhoto
A visit photo. No location and no drawn marks.
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| visit_id | Yes | ||
| field_note_id | string | null format: uuid | Yes | |
| caption | string | null | Yes | |
| note | string | null | Yes | |
| origin | string One of: camera, library | Yes | |
| taken_at | Yes | ||
| imported_at | Yes | ||
| annotated | boolean | Yes | Whether marks were drawn on the photo; the marks are not given out. |
| author | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| file_status | Yes | ||
| file | Yes |
ChecklistTemplate
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | null format: uuid | Yes | |
| name | string | Yes | |
| version | integer | null | Yes |
ChecklistSummary
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| visit_id | Yes | ||
| template | Yes | ||
| language | string | null | Yes | The checklist's language as its template gives it. |
| status | string One of: in_progress, completed | Yes | |
| author | Yes | ||
| started_at | Yes | ||
| completed_at | Yes | ||
| created_at | Yes | ||
| updated_at | Yes |
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.
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | No | |
| label | string | No | |
| type | string | No | |
| unit | string | No | |
| answered_at | No | ||
| not_applicable | boolean | Yes | |
| value | Yes | 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. |
| instances | array of ChecklistGroupInstance | No | The group's instances in their recorded order, each with its items. |
ChecklistGroupInstance
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | |
| order | string | number | null | Yes | |
| items | array of ChecklistItem | Yes |
ChecklistSection
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | null | Yes | |
| title | string | null | Yes | |
| items | array of ChecklistItem | Yes |
ChecklistPhoto
A checklist photo. No location.
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| item_id | string | Yes | |
| origin | string One of: camera, library | Yes | |
| taken_at | Yes | ||
| imported_at | Yes | ||
| file_status | Yes | ||
| file | Yes |
Checklist
A checklist with its sections, items and photos. Photos are listed by when they were taken.
Builds on ChecklistSummary
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| visit_id | Yes | ||
| template | Yes | ||
| language | string | null | Yes | The checklist's language as its template gives it. |
| status | string One of: in_progress, completed | Yes | |
| author | Yes | ||
| started_at | Yes | ||
| completed_at | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| sections | array of ChecklistSection | Yes | |
| photos | array of ChecklistPhoto | Yes |
CorrectiveActionStatus
open, in_progress, resolved, closed, cancelledCorrectiveActionSeverity
critical, major, minorCorrectiveActionCategory
safety, quality, environmental, equipment, otherCorrectiveActionEvent
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | string One of: created, assigned, started, resolved, reopened, closed, cancelled | Yes | |
| by | Yes | ||
| assignee | One of: Person, null | Yes | The person assigned, on an assigned event; null on any other. |
| note | string | null | Yes | |
| at | Yes | ||
| recorded_at | Yes |
CorrectiveAction
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| reference | string | Yes | |
| visit_id | Yes | ||
| project_id | Yes | ||
| title | string | Yes | |
| description | string | null | Yes | |
| status | Yes | ||
| severity | Yes | ||
| category | Yes | ||
| 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 | |
| assignee | Yes | ||
| created_by | Yes | ||
| resolved_by | Yes | ||
| raised_at | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| events | array of CorrectiveActionEvent | Yes | Oldest first. |
ApiVersion
1NextCursor
Pass it back as cursor for the next page; null at the end.
ProjectList
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of Project | Yes | |
| next_cursor | Yes |
VisitList
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of Visit | Yes | |
| next_cursor | Yes | ||
| next_updated_since | Yes |
NoteList
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of Note | Yes | |
| next_cursor | Yes |
PhotoList
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of Photo | Yes | |
| next_cursor | Yes |
ChecklistList
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of ChecklistSummary | Yes | |
| next_cursor | Yes |
CorrectiveActionList
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | array of CorrectiveAction | Yes | |
| next_cursor | Yes |
ProjectResponse
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
VisitResponse
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
PhotoResponse
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
ChecklistResponse
| Name | Type | Required | Description |
|---|---|---|---|
| api_version | Yes | ||
| data | Yes |
ErrorCode
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_ERRORError
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. |
WebhookEventType
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.testWebhookTeam
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| 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.
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object | Yes |
WebhookVisit
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| title | string | Yes | |
| status | string One of: planning, active, completed | Yes | |
| started_at | Yes | ||
| ended_at | Yes | ||
| scheduled_for | string | null format: date | Yes | |
| lead | Yes |
VisitEventData
| Name | Type | Required | Description |
|---|---|---|---|
| visit | Yes | ||
| project | Yes |
WebhookCorrectiveAction
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| reference | string | Yes | |
| title | string | Yes | |
| status | Yes | ||
| severity | Yes | ||
| category | Yes | ||
| due_date | string | null format: date | Yes | |
| visit_id | string | null format: uuid | Yes | |
| assignee | Yes |
CorrectiveActionTransition
The status change and the note given with it.
| Name | Type | Required | Description |
|---|---|---|---|
| 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
| Name | Type | Required | Description |
|---|---|---|---|
| corrective_action | Yes | ||
| project | Yes |
CorrectiveActionChangedData
| Name | Type | Required | Description |
|---|---|---|---|
| corrective_action | Yes | ||
| project | Yes | ||
| transition | Yes |
VisitCompletedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always visit.completed | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | Yes |
VisitApprovedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always visit.approved | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object Builds on VisitEventData | Yes | |
| data.visit | Yes | ||
| data.project | Yes | ||
| data.approval | object | Yes | |
| data.approval.locked | boolean | Yes |
VisitRevisionRequestedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always visit.revision_requested | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object Builds on VisitEventData | Yes | |
| data.visit | Yes | ||
| data.project | Yes | ||
| data.revision | object | Yes | |
| data.revision.reason | string | null | Yes |
ReportGeneratedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always report.generated | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object | Yes | |
| data.report | object | Yes | |
| data.report.id | Yes | ||
| 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_at | Yes | ||
| 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_at | Yes | ||
| data.visit | object | Yes | |
| data.visit.id | Yes | ||
| data.visit.title | string | Yes | |
| data.project | Yes |
CorrectiveActionCreatedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.created | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | Yes |
CorrectiveActionResolvedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.resolved | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | Yes |
CorrectiveActionClosedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.closed | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | Yes |
CorrectiveActionReopenedMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.reopened | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | Yes |
CorrectiveActionCancelledMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always corrective_action.cancelled | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | Yes |
WebhookTestMessage
Builds on WebhookEnvelope
| Name | Type | Required | Description |
|---|---|---|---|
| id | Yes | ||
| type | Always webhook.test | Yes | |
| version | Yes | ||
| created_at | Yes | ||
| team | Yes | ||
| actor | Yes | ||
| data | object | Yes | |
| data.registration_id | Yes | ||
| data.test | Always true | Yes |
Documentation version 1.0.1