Create Inspection Checklist
POST/api/repairs/inspection-templates
Creates an inspection checklist template. Requires the Repairs: Settings permission.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Fields:
name(string, required, max 255)kind(string, required) —diagnosis(done when the unit is opened up) orqc(the quality check before it ships back).product_category_id(integer, optional, nullable) — apply to products in this category.product_id(integer, optional, nullable) — apply to one product. Leave both empty for a general checklist that applies to everything.items(array, required, 1–100 items)items.*.id(integer, optional, min 1) — keep an existing item's ID so saved answers stay linked; new items get the next free ID.items.*.label(string, required, max 255)items.*.type(string, required) —pass_fail,note,photoorphoto_required(stored asphoto).items.*.required(boolean, optional, defaulttrue) — whether the item must be answered before the checklist counts as complete.is_active(boolean, optional, defaulttrue)
When a unit is inspected, the most specific active checklist of that kind applies: one for its product, else one for its category, else the general one.
Authentication: Bearer token with the repairs:write scope.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.