Register an uploaded evidence file on a claim
Publishing Claims
Register an uploaded evidence file on a claim
POST /publishing/claims//evidence/attach
POST
Register an uploaded evidence file on a claim
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /publishing/claims//evidence/attach Description: Companion toPOST /publishing/claims/{id}/evidence — after the
client’s signed PUT to GCS succeeds, call this to append the file to
the claim’s evidenceUrls array and record a system message.
fileKey must fall under the tenant+claim-scoped prefix returned by
the evidence endpoint. Idempotent on fileKey — repeat calls with
the same key return the claim unchanged, no duplicate row.
Supports the Idempotency-Key header (route key
p5.claim.evidence-attach).
Authorization:
- RBAC:
useror higher; claimant-or-admin check enforced in the service - Requires an active
publisheraddon
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Headers
Path Parameters
Body
application/json
Response
Evidence attached (or already-attached claim returned unchanged)