Create Recovery Claim
POST/api/repairs/recovery-claims
Create Recovery Claim.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request fields:
supplier_id(required): integer, exists:suppliers,idline_ids(required): array, min:1, max:500line_ids.*(optional): integer, distinct, exists:repair_order_lines,idbasis(optional): Enum:in:"unit_cost","repair_cost"amounts(optional): arrayamounts.*(optional): numeric, min:0, max:10000000attachment_ids(optional): array, max:50attachment_ids.*(optional): integer, distinct, exists:repair_attachments,idnotes(optional): string, max:5000
Permission: repairs.recovery.
Authentication: Bearer token with the repairs:read / 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 Content
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.