Verifications
Verify by URL synchronously, or by upload without us keeping your media.
By URL
curl -s https://api.c2pa.design/v1/verifications \
-H "authorization: Bearer $C2PA_API_KEY" \
-H "content-type: application/json" \
-H "idempotency-key: deploy-2026-09-09-hero" \
-d '{
"url": "https://cdn.example.com/hero.jpg",
"project_id": "0199b1f2-5d0c-7e1f-a2b3-c4d5e6f7a8b9",
"trust": "official",
"metadata": { "release": "2026.9.1" }
}'
Synchronous. We fetch the URL with the SSRF guards described under url-checks, hand the bytes to the engine, and return the result. The bytes are never written to disk.
Idempotency-Key is honoured for 24 hours per key: the same key returns the original
verification rather than spending quota again.
By upload
Two calls, because we do not want your media on our disks any longer than the parse takes.
# 1. ask for a target
curl -s https://api.c2pa.design/v1/verifications \
-H "authorization: Bearer $C2PA_API_KEY" \
-H "content-type: application/json" \
-d '{"upload":true,"filename":"hero.jpg","content_type":"image/jpeg","size_bytes":248210}'
{
"id": "0199b1f2-6c1e-7a3b-9d4e-5f6a7b8c9d0e",
"status": "pending",
"upload": {
"url": "https://…presigned…",
"method": "PUT",
"headers": { "Content-Type": "image/jpeg" },
"expires_at": "2026-09-09T12:15:00Z"
}
}
# 2. PUT the bytes, then tell us
curl -X PUT --data-binary @hero.jpg -H "content-type: image/jpeg" "$UPLOAD_URL"
curl -s -X POST https://api.c2pa.design/v1/verifications/0199b1f2-6c1e-7a3b-9d4e-5f6a7b8c9d0e/complete \
-H "authorization: Bearer $C2PA_API_KEY"
The object is verified and deleted. A storage lifecycle rule deletes anything we miss within a day, so the guarantee does not depend on our code being correct.
Poll GET /v1/verifications/{id} or subscribe to verification.completed.
Options
| Field | Default | Meaning |
|---|---|---|
trust |
official |
official, interim, both, none |
include_raw |
false |
Include the full manifest store in result.raw_manifest_store |
project_id |
— | Scopes the row and the monitor coverage |
metadata |
— | Up to ten string pairs, echoed back and in webhooks |
Listing
GET /v1/verifications?project_id=…&status=completed&from=…&cursor=…&limit=50
Keyset pagination: pass next_cursor back as cursor. Ordering is newest first and stable.
Limits
64 MB per asset. Images, video, audio and PDF; the engine returns 415 for anything it cannot
parse rather than guessing.