Create Claim
POST/v1/api/quality/claims
Creates a received (inbound) or filed (outbound) claim. When origin_shipment_id is provided, validates that the inspection belongs to the requested site and has the required direction (inbound inspections for outbound claims; outbound inspections for inbound claims). Creates the claim, inspection link, initial finding, and agent session in one transaction. A linking failure rolls back claim creation. Automated triage starts after commit and reuses the link, proceeding directly to evidence retrieval and assessment. Without origin_shipment_id, triage searches for a shipment normally. Standalone sites skip automated triage.
Auth Required
Required Permissions:
quality.claims:write("Claims Write")
Request
Responses
- 200
- 400
- 401
- 403
- 500
Claim created, with any supplied inspection already linked.
Bad Request. The request was invalid or cannot be otherwise served.
Unauthorized. User is not authenticated or session is invalid.
Forbidden. User does not have the required permissions.
Internal Server Error