Attest · Guide
The capture release
Before any camera opens on a page Provenance draws, the person sees a short sheet: the heading "Before you continue", one sentence and two buttons, Not now and I agree. The sentence names your company and Provenance, says what is photographed, and links to the Terms of Service at its capture section.
Provenance records each answer. With the release on, the server refuses a face or ID capture until the person agrees, so no surface can skip the sheet.
Before you begin: read capture requests. The release is a server setting (server configuration); with it off, captures run without the sheet and nothing here applies.
1. What the person sees
The sentence follows the request's items, never the person's location:
| The request asks for | The sentence starts |
|---|---|
| A selfie and an ID (every ID session) | "Pellowmarsh uses Provenance to take and check photos of your face and ID" |
| A selfie, no ID | "… photos of your face" |
| An ID, no selfie | "… photos of your ID, including the face on it" |
| Photos or videos with no face step (every claim session) | "… these photos" (or "this photo", "these photos and videos") |
Every sentence ends ", and by choosing I agree you accept Provenance's Terms of Service." The link opens the capture section in a new tab, and the sheet is still there when the person comes back.
On a phone the sheet slides up from the bottom; on a computer it is a centred dialog. The same sheet runs on the capture page, in <provenance-capture capture-request>, and in the Provenance app.
2. What you learn
I agree records an agreement, and the capture goes on.
Not now records a decline. The request keeps its status (pending or in_progress) and gains release.status: "declined":
"release": {
"required": true,
"variant": "face_id",
"status": "declined",
"terms_version": "2027-02-03",
"at": "2027-02-04T09:12:40.118Z",
"release_id": "crel_01M76A3QW8E0RZK9N4T2V5B7XC",
"attested_by": "provenance",
"company_terms_version": null,
"terms_ref": "ctr_7mQ2vX9bK4sY1dF8cL6h"
}
You also get:
- the
attest.capture_request.release_declinedwebhook, once per decline, with the terms version and the time; - a
release_declinedentry on the request's timeline; - with a
redirect_url, a Back to button with your company name that returns the person withcapture_request_idandstatus=release_declined.
A declined request is never billed. The person can choose Start again while the link works, and an agreement after a decline is a second record; both stay.
Closing the sheet with Escape or the back gesture is not a decline: nothing is recorded and you are not told.
3. The record
Each answer is one record, never edited. List a request's records with GET /, or the account's by date, as JSON or CSV, with GET /.
A record holds the action, the sentence variant, the surface, the language, a SHA-256 of the sheet text as shown, the values filled into it, and the version and SHA-256 of the Terms of Service at that moment. It holds no IP address and no name.
The signed result (GET /) carries a release claim that points at the agreement the captures were taken under, with both hashes.
4. If your app draws its own capture screens
In an app with the native SDK, <ProvenanceReleaseSheet> shows our sheet before your own screens, and the record says Provenance showed it. The SDK's helpers take termsAccepted: true and send the field below.
When your own screen asks the person to accept the terms, create the request from your server with "customer_terms": true, then say so on each call that starts an item. On a request without it, terms_accepted is refused (400), because the capture calls carry only the link, which the person holds. Say so on: the nonce, the video session, choosing the document, the head turn or, from your app, the native nonce (POST /v1/attest/capture_links/items/{index}/native_nonce).
curl -X POST "$PROVENANCE_API/v1/attest/capture_links/items/0/native_nonce?token=$TOKEN" \
-H "Content-Type: application/json" \
-d '{ "side": "front", "terms_accepted": true, "company_terms_version": "acme-2026-10" }'
const res = await fetch(`${process.env.PROVENANCE_API}/v1/attest/capture_links/items/0/native_nonce?token=${encodeURIComponent(token)}`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ side: "front", terms_accepted: true, company_terms_version: "acme-2026-10" }),
});
const { nonce, claim_id } = await res.json();
import os
import httpx
api = os.environ["PROVENANCE_API"]
r = httpx.post(
f"{api}/v1/attest/capture_links/items/0/native_nonce", params={"token": token},
json={"side": "front", "terms_accepted": True, "company_terms_version": "acme-2026-10"},
)
nonce = r.json()["nonce"]
| Field | Meaning |
|---|---|
terms_ | true: the person accepted Provenance's Terms of Service and your own terms before this capture |
terms_ | Optional: when, on your clock. A time in the future is refused |
company_ | Optional: your label for your own terms, up to 64 characters, stored as sent |
- A face or ID item without the field, and without an agreement from our sheet, is refused with
409 terms_acceptance_required. - A photo or video item with no face step is accepted with or without it.
- The first call with the field writes one record with
attested_by: customer; later calls at the same terms version write nothing more. Sending it on every call is fine.
What we can verify: the statement arrived before the first capture, from your account. What we can't: that a screen was shown, what it said, or who tapped it. That stays with you, as your terms with Provenance say.
5. When the terms change
An agreement is to one version of the Terms of Service. Only a change to the capture section or the privacy notice asks again. If the person agreed earlier and those sections changed before they finished, the next capture call is refused with reason: version_changed, and the sheet opens again with one more line: "Our terms changed on February 3, 2027."
Your own code sends terms_accepted again after asking the person again.
The request's release.current is false from the moment those sections change until the person agrees again.
6. In the console
In Attest → Capture requests:
- The list shows Declined in the Status column when the person chose Not now and the request is still open. The Status filter finds them.
- The Release card on a request shows the state (Agreed, Declined, Shown, Not shown, Terms changed or Consent withdrawn) and the record it rests on: when the sheet was shown, the action and its time, the SHA-256 of the sheet text, the Terms of Service version and its SHA-256, how long photos are kept, the language, the surface and the record ID. A statement from your own code reads "Stated by your app", with your terms label when you sent one. Every record for the request is listed under the card.
- View the text rebuilds the sentence and the whole Terms of Service from the record and says whether each matches the record's hash. A dated version also links its archived page. The same text comes from GET
/.v1/ attest/ capture_ releases/ {id}/ text - Export releases downloads the account's records for the list's dates as CSV, the same file as GET
/withv1/ attest/ capture_ releases format=csv. - Releases agreed above the list is the share of requests whose sheet was shown that ended agreed, counted from your records. It shows while the release is on, and the same number comes from GET
/.v1/ attest/ capture_ releases/ summary
7. When a person withdraws consent
The Terms of Service tell the person to contact you to withdraw. Delete the images with the reason:
curl -X DELETE "$PROVENANCE_API/v1/attest/capture_requests/$CAPTURE_ID/media?reason=consent_withdrawn" \
-H "Authorization: Bearer $PROVENANCE_KEY"
const res = await fetch(`${process.env.PROVENANCE_API}/v1/attest/capture_requests/${captureId}/media?reason=consent_withdrawn`, {
method: "DELETE",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
});
const { status, release } = await res.json(); // "cancelled" if it was open; release.status "withdrawn"
import os
import httpx
api = os.environ["PROVENANCE_API"]
r = httpx.delete(
f"{api}/v1/attest/capture_requests/{capture_id}/media",
params={"reason": "consent_withdrawn"},
headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"},
)
print(r.json()["release"]["status"]) # withdrawn
The images go at once. The request is cancelled if it is still open, a withdrawn record is added with attested_by: customer, and the Release card reads Consent withdrawn. The signed result and the earlier records stay, and the result still names the agreement the images were taken under. In the console, choose Delete media and then The person withdrew consent.
If the person contacts Provenance
A person sometimes writes to Provenance instead of you. We find the request by the reference on their copy of the Terms of Service and pass it on: your account's owner gets an email with the request ID, the day the person wrote and what they asked for (to withdraw consent, to delete their photos, a copy of their data, or a question). We tell the person we passed it on.
We delete nothing ourselves. Act on it as above, and reply to the person through your own channels: we hold no name or contact details for them.
Errors you might see
| Code | When |
|---|---|
terms_ (409) | A face or ID capture with no current agreement. details. is not_, declined or version_ |
release_ (409) | The sheet answered with text the server doesn't serve for this request; fetch it again |
release_ (503) | The text could not be served or the record could not be written; the camera stays closed. On a record's text, the stored text for its version is missing |
release_ (400) | A language other than English |
See also
- Capture requests, ID capture sessions and claim capture sessions
- Webhooks for
attest.capture_request.release_declined - Plans and usage: a declined release is never billed