Submit recommendation feedback
POST/v1/claims/recommendation-feedback
Submit an insurer's final decision on an item with a saved Curacel recommendation. Identify the claim and item using the references supplied when creating the claim. The authenticated HMO must own the claim. Item references must be unique within the claim. No client-generated idempotency key is required or accepted on this endpoint.
An identical retry returns the previous response when the latest feedback, recommendation, and applied item values are unchanged. After intervening feedback, the same payload is treated as a new decision; avoid retrying old requests after sending a newer decision.
Request
- application/json
Body
required
Possible values: <= 255 characters
Your claim reference, returned as data.ref in claim webhooks.
Possible values: <= 255 characters
Your unique claim-item reference, returned as data.items[n].ref in claim webhooks.
Possible values: [confirmed, overridden]
Confirm the current recommendation or submit a different final decision.
Possible values: [approved, rejected]
Required when decision is overridden.
Required when final_status is approved.
Total approved amount; required when final_status is approved.
Possible values: <= 1000 characters
Required when decision is overridden.
Possible values: <= 100 characters
Optional. If provided, it must match the current recommendation or the request returns 409. The claim webhook does not currently include this field.
Responses
- 200
- 401
- 403
- 404
- 409
- 422
Feedback recorded, or the response to an unchanged retry.
- application/json
- Schema
- Example (from schema)
Schema
data object
Possible values: [confirmed, overridden]
Possible values: [approved, rejected]
{
"status": "success",
"message": "Recommendation feedback recorded successfully.",
"data": {
"claim_id": 0,
"claim_item_id": 0,
"claim_ref": "string",
"item_ref": "string",
"decision": "confirmed",
"final_status": "approved",
"approved_qty": 0,
"approved_amount": 0,
"recommendation_version": "string"
}
}
Authentication is missing or invalid.
The authenticated user is not authorized to submit HMO feedback.
The claim reference was not found for the authenticated HMO, or the item reference was not found within the claim.
A reference matches multiple records, or the supplied recommendation version is stale.
The request is invalid, no recommendation exists for the item, or a confirmed approval lacks recommendation quantities or amount.