Claims
Attach a photo or document
POST/claims/{claimId}/evidence
Scope claims.writeLIVE keys only
JPEG, PNG or PDF up to 3.5 MB, up to 10 files, before the decision. Stored privately; the same file twice returns 409.
Request
Path parameters
| Name | In | Type | Description |
|---|---|---|---|
claimIdRequired | path | string | Pattern ^(?:QD-CLM-[A-F0-9]{24}|QDCLM[A-Z0-9]{3,31})$ |
Body ClaimEvidenceRequest
| Field | Type | Description |
|---|---|---|
fileNameRequired | string | 0–200 characters |
contentBase64Required | string | The file, base64 encoded: JPEG, PNG or PDF, up to 3.5 MB. |
Response
| Status | Meaning |
|---|---|
201 | Attached |
The body is { "status": "success", "data": … }. Fields of data (ClaimEvidenceResult):
| Field | Type | Description |
|---|---|---|
evidenceRequired | ClaimEvidence |
Errors
Errors use the error envelope { "status": "error", "message", "code"?, "details"? }.
| Status | When |
|---|---|
400 | The request is not valid. A field is missing or invalid, or the Idempotency-Key header is missing or malformed. |
401 | Missing, invalid, expired or revoked API key. The API key is missing, invalid, expired or revoked. |
403 | The key lacks the scope, or the operation needs a LIVE key. The key lacks the scope, or this call needs a LIVE key (LIVE_KEY_REQUIRED), or the Business owner is not verified (SENDER_VERIFICATION_REQUIRED). |
404 | Not found for this Business and environment. IDs from another Business or environment are always 404. Not found for this Business and environment. IDs from another Business or the other environment are always 404. |
409 | Idempotency key reused with another body, or the resource changed state. The idempotency key was used with a different body, a reference is already taken, or the resource changed state. |
429 | Too many requests. See the RateLimit headers. Too many requests. Wait for Retry-After, then retry with the same idempotency key. |