List Inspection Templates
curl --request GET \
--url https://api.inspecto.com/api/third-party/v1/inspection-templates \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"version": 123,
"isActive": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"itemCount": 123,
"inspectionCount": 123,
"items": [
{
"id": "<string>",
"label": "<string>",
"inputType": "<string>",
"isRequired": true,
"options": [
{}
],
"order": 123,
"instructionImageUrl": "<string>",
"dependsOn": {}
}
]
}
]
}Inspections
List Inspection Templates
Retrieve available inspection templates
GET
/
inspection-templates
List Inspection Templates
curl --request GET \
--url https://api.inspecto.com/api/third-party/v1/inspection-templates \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"version": 123,
"isActive": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"itemCount": 123,
"inspectionCount": 123,
"items": [
{
"id": "<string>",
"label": "<string>",
"inputType": "<string>",
"isRequired": true,
"options": [
{}
],
"order": 123,
"instructionImageUrl": "<string>",
"dependsOn": {}
}
]
}
]
}Endpoint
GET /api/third-party/v1/inspection-templates
Authentication
Requiresinspections:read scope.
Query Parameters
Page number
Items per page (max: 100)
Filter by vehicle group ID
Search by template title
Filter by active status
Response
Array of inspection template objects
Show Template Object
Show Template Object
Template ID
Template name
Template description
Template version number
Whether template is currently active
Creation timestamp
Last update timestamp
Number of inspection items
Total inspections using this template
Template inspection items
Show Item Object
Show Item Object
Item ID
Item label/question
Input type:
TEXT, NUMBER, BOOLEAN, PHOTO, DATE, SIGNATURE, SELECTWhether response is required
Available options (for SELECT type)
Display order
URL to instruction image
Conditional logic
Example Request
curl -X GET "https://api.inspecto.com/api/third-party/v1/inspection-templates?isActive=true&limit=10" \
-H "Authorization: Bearer insp_your_api_key_here"
Example Response
{
"data": [
{
"id": "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d",
"title": "Pre-Trip Inspection",
"description": "Standard pre-trip vehicle inspection",
"version": 2,
"isActive": true,
"createdAt": "2024-01-15T10:00:00Z",
"updatedAt": "2024-06-20T14:30:00Z",
"itemCount": 15,
"inspectionCount": 1247,
"items": [
{
"id": "item-001",
"label": "Check tire pressure",
"inputType": "BOOLEAN",
"isRequired": true,
"options": [],
"order": 1,
"instructionImageUrl": null
},
{
"id": "item-002",
"label": "Tire condition",
"inputType": "SELECT",
"isRequired": true,
"options": ["Good", "Worn", "Damaged"],
"order": 2,
"instructionImageUrl": "https://..."
}
]
}
],
"meta": {
"version": "v1",
"pagination": {
"currentPage": 1,
"totalPages": 1,
"totalCount": 5,
"hasNextPage": false,
"hasPreviousPage": false
}
}
}
⌘I