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": {}
}
]
}
]
}Retrieve available 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": {}
}
]
}
]
}GET /api/third-party/v1/inspection-templates
inspections:read scope.
Show Template Object
Show Item Object
TEXT, NUMBER, BOOLEAN, PHOTO, DATE, SIGNATURE, SELECTcurl -X GET "https://api.inspecto.com/api/third-party/v1/inspection-templates?isActive=true&limit=10" \
-H "Authorization: Bearer insp_your_api_key_here"
{
"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
}
}
}