When you create an authorization withDocumentation Index
Fetch the complete documentation index at: https://docs.trycollate.ai/llms.txt
Use this file to discover all available pages before exploring further.
policy.finalSubmission = requires_confirmation, Collate prepares the payer submission internally and
pauses at the final boundary. The authorization exposes
nextAction.type = approve_submission and a submission.reviewSnapshot
describing the package. You review the snapshot and confirm before Collate
submits.
This page covers when the snapshot appears, what it contains, how to render
it, and how to recover when it goes stale.
When approval is required
The authorization exposesapprove_submission only when:
policy.finalSubmission = requires_confirmationwas selected at create time,- Collate has finished requirement collection and submission preparation, and
- the current case version is ready to be sent to the payer.
policy.finalSubmission = automatic, Collate submits without pausing here
and approve_submission is never produced.
The review snapshot
submission.reviewSnapshot is an embedded projection on the authorization:
| Field | Meaning |
|---|---|
id | Stable snapshot ID. |
status | current snapshots can be approved. Stale snapshots cannot. |
kind | final_submission for the payer-submission boundary. |
generatedAt | When Collate built the snapshot. |
covers | Authorization, requirements, answer-set, and attachment versions the snapshot represents. |
summary | Structured payload to render in your reviewer UI. |
questionnaireResponse | Answer set in the snapshot. |
attachments | Files in the snapshot. |
warnings | Soft warnings to surface to the reviewer. |
liveViewUrl | Embedded browser view URL when browser sign-in is active. |
summary, questionnaireResponse, attachments, and warnings in
your reviewer UI. Surface anything in warnings prominently — these are not
errors, but they are issues Collate wants the reviewer to confirm before
final submission.
Approving the submission
Whenstatus = requires_confirmation and nextAction.type = approve_submission,
send the current nextAction.id to POST /confirm:
Stale snapshots
Answer or attachment writes recompute requirements and may produce a new review snapshot. Approving a snapshot that no longer covers the current authorization returns409 review_stale.
To recover:
Read the latest authorization
Retrieve the authorization to pick up the current
version, nextAction,
and submission.reviewSnapshot.Render the new snapshot
Show the reviewer the updated
summary, questionnaireResponse,
attachments, and warnings.Browser sign-in
If the route is configured forportalAuthMode = customer_login, Collate
needs an authenticated session it cannot complete on its own. The snapshot
includes liveViewUrl — embed this URL in your reviewer UI to show the live
browser view while the reviewer approves.