API reference
Claims
The full claim workflow: submitted → under_review ⇄ documents_requested → approved → settled → closed, or rejected → closed. The customer can withdraw before a decision. Your staff can work the same claims in the Wathiqaty portal at the same time; both see the same state.
Base URL https://sandbox-api.wathiqaty.com/api/v1 (sandbox) · https://api.wathiqaty.com/api/v1 (production)
Drafts are never visible to you.
Query parameters
| Name | Description |
|---|---|
statusstring | Claim status. One of: |
policyIduuid | On this policy. |
categoryIduuid | Claim category. |
insuranceTypestring | Line of business. One of: |
updatedSincedate-time | Only rows changed at or after this instant. Pass the |
pageinteger | Page number, from 1. Default 1. |
sizeinteger | Items per page, 1–100. Default 20. |
sortOrderstring | Default One of: |
curl -X GET "https://sandbox-api.wathiqaty.com/api/v1/partner/claims" \ -H "Authorization: Bearer $ACCESS_TOKEN"
{
"status": "success",
"data": {
"items": [
{
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "submitted",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
}
],
"meta": {
"page": 1,
"size": 20,
"totalItems": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false
}
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "GET",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}With items, documents (download from url), open document requests and policyCoverage (what is left of the sum insured).
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
Plus the generic errors any route can return: Errors.
curl -X GET "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}" \
-H "Authorization: Bearer $ACCESS_TOKEN"{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "submitted",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "GET",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Body (JSON)
| Name | Description |
|---|---|
externalReferencestringrequired | Your own reference, 1–100 characters, unique within your company. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 412 | version_conflict | Changed since you read it (If-Match doesn't match). Reload and retry. |
Plus the generic errors any route can return: Errors.
curl -X PUT "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/external-reference" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "If-Match: W/"7"" \
-d '{"externalReference":"CL/2026/000981"}'{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": "CL/2026/000981",
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "submitted",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "PUT",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}submitted → under_review.
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 400 | bad_request | Not allowed in the current status (details.from, details.to). |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/start-review" \
-H "Authorization: Bearer $ACCESS_TOKEN"{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "under_review",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}Request documents
/partner/claims/{id}/document-requests→ documents_requested (or adds to the open round). The customer is notified and resubmits (claim.resubmitted).
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Body (JSON)
| Name | Description |
|---|---|
requestsobject[]required | 1–20 of |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 400 | bad_request | Not allowed in the current status (details.from, details.to). |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/document-requests" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"requests":[{"name":"Itemised hospital invoice","note":"Stamped by the hospital","dueDate":"2026-12-15"}]}'{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "documents_requested",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}Accept or reject a document
/partner/claims/{id}/documents/{documentId}/reviewRejecting reopens a request for it and moves under_review → documents_requested.
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
documentIduuidrequired | The document's id. |
Body (JSON)
| Name | Description |
|---|---|
decisionstringrequired | Your decision. One of: |
reasonstring | 3–2000 characters. Required to reject. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim or document doesn't exist or isn't your company's. |
| 400 | bad_request | Not allowed in the current status (details.from, details.to). |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/documents/{documentId}/review" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"decision":"rejected","reason":"The report is not signed."}'{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "submitted",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}What the customer would be paid after the deductible, and what would remain of the cover. Changes nothing.
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Query parameters
| Name | Description |
|---|---|
approvedAmountdecimalrequired | Amount you intend to approve, > 0. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
Plus the generic errors any route can return: Errors.
curl -X GET "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/approval-preview?approvedAmount=<approvedAmount>" \
-H "Authorization: Bearer $ACCESS_TOKEN"{
"status": "success",
"data": {
"deductibleApplied": "0.00",
"payableAmount": "4200.00",
"remainingAfter": "245800.00"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "GET",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}under_review → approved. Itemised claims list every item once (an item below its claimed amount needs a reason); other claims send approvedAmount. Every document must be reviewed first, and the total can't exceed what is left of the sum insured.
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Body (JSON)
| Name | Description |
|---|---|
itemsobject[] | Itemised claims: |
approvedAmountdecimal | Other claims: > 0 and ≤ the claimed amount. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 400 | bad_request | Not allowed in the current status (details.from, details.to). |
| 400 | documents_pending | A document is still pending (details.pendingDocumentIds). |
| 400 | claim_not_payable | Over the remaining cover (details.remaining, details.sumInsured, details.consumed). |
| 422 | validation_error | Wrong form for the claim, or items missing or repeated. |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/approve" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"items":[{"lineId":"l1","approvedAmount":"700.00"},{"lineId":"l2","approvedAmount":"3000.00","reason":"Network price for MRI is 3000"}]}'approved.{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "approved",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": "3700.00",
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Body (JSON)
| Name | Description |
|---|---|
reasonstringrequired | 3–2000 characters, shown to the customer. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 400 | bad_request | Not allowed in the current status (details.from, details.to). |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/reject" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason":"The treatment is excluded under section 4.2 of the wording."}'rejected.{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "rejected",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}approved → settled, with your payment reference.
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Body (JSON)
| Name | Description |
|---|---|
settlementReferencestringrequired | 1–255 characters. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 400 | bad_request | Not allowed in the current status (details.from, details.to). |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/settle" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"settlementReference":"PAY-2026-55120"}'settled.{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "settled",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}settled or rejected → closed.
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 400 | bad_request | Not allowed in the current status (details.from, details.to). |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/close" \
-H "Authorization: Bearer $ACCESS_TOKEN"closed.{
"status": "success",
"data": {
"id": "c9e8d7f6-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"number": "CLM-00000107",
"externalReference": null,
"policyId": "6f1c2d3e-4b5a-4c69-8d7e-1f2a3b4c5d6e",
"categoryId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
"status": "closed",
"incidentDate": "2026-12-01",
"claimedAmount": "4200.00",
"approvedAmount": null,
"items": [
{
"lineId": "l1",
"description": "Outpatient consultation",
"claimedAmount": "700.00"
},
{
"lineId": "l2",
"description": "MRI scan",
"claimedAmount": "3500.00"
}
],
"documents": [
{
"id": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"requirementKey": "medical_report",
"status": "pending",
"fileName": "report.pdf",
"url": "https://files.wathiqaty.com/claims/report.pdf"
}
],
"documentRequests": [],
"policyCoverage": {
"sumInsured": "250000.00",
"consumed": "0.00",
"remaining": "250000.00"
},
"submittedAt": "2026-12-02T08:30:00.000Z",
"updatedAt": "2026-12-02T08:30:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Query parameters
| Name | Description |
|---|---|
afteruuid | Messages after this message id. |
limitinteger | 1–100. Default 50. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
Plus the generic errors any route can return: Errors.
curl -X GET "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/messages" \
-H "Authorization: Bearer $ACCESS_TOKEN"{
"status": "success",
"data": [
{
"id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
"author": "customer",
"body": "I uploaded the stamped invoice.",
"attachments": [],
"createdAt": "2026-12-03T09:00:00.000Z"
}
],
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "GET",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}A public reply on the claim. Retries with the same clientMessageId don't post twice.
Path parameters
| Name | Description |
|---|---|
iduuidrequired | The claim's Wathiqaty id. |
Body (JSON)
| Name | Description |
|---|---|
bodystringrequired | 1–5000 characters. |
clientMessageIduuid | Your id for the message, for safe retries. |
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | Claim doesn't exist or isn't your company's. |
| 400 | bad_request | The claim is closed or withdrawn. |
Plus the generic errors any route can return: Errors.
curl -X POST "https://sandbox-api.wathiqaty.com/api/v1/partner/claims/{id}/messages" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"body":"Thank you, we are reviewing the invoice.","clientMessageId":"3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f"}'{
"status": "success",
"data": {
"id": "4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f7a",
"author": "insurer",
"body": "Thank you, we are reviewing the invoice.",
"attachments": [],
"createdAt": "2026-12-03T09:05:00.000Z"
},
"error": null,
"metadata": {
"timestamp": "2026-11-05T09:15:02.481Z",
"path": "/api/v1/partner/…",
"method": "POST",
"requestId": "8d7e2c1a-41f0-4a4e-9a55-6f0b3c2d1e77"
}
}