List inspection attachments
Returns a paginated list of inspection attachments for your company. Attachments can be either reports or additional documents. Results can be filtered by inspection and attachment type.
query Parameters
page[number]Page number (starts at 1)
page[size]Number of records per page (default: 200, max: 200)
filter[inspection_id]Filter by inspection ID
filter[report]Filter by attachment type. When true, returns only attached report documents. When false, returns only additional documents.
sortSort field. Prefix with '-' for descending order. Supported values: created_at
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List inspection attachments › Responses
Inspection attachments retrieved successfully
Pagination metadata
Pagination links
Upload an inspection attachment
Uploads a new attachment for an inspection. The request must be sent as multipart/form-data because a file upload is required. Pass data in key-value entries with the key formatted as data[attributes][field-name]. For the file, use data[attributes][file] and include the file as the value.
Supported file types: images (jpg, jpeg, png, gif), PDF, ZIP, plain text, audio (mp3), Word, Excel, and PowerPoint documents.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Upload an inspection attachment › Responses
Inspection attachment uploaded successfully

