This guide uses the default EU base URL (
If your tenant is in another cell (e.g.,
https://api.documents.resistant.ai).If your tenant is in another cell (e.g.,
us-1, ca-1, ap-2, ap-3), use the corresponding base URL described in Concepts.Fraud analysis → Adaptive Decision (recommended)
Forpipeline_configuration: "FRAUD_ONLY" (the default), fraud analysis and Adaptive Decision both run automatically. /decision is the endpoint most integrations should call — it gives you a single, routable decision output. Fetch /fraud only when you need the full indicator-level evidence behind that decision.
- Primary call:
GET /v2/submission/{submission_id}/decision— see Adaptive Decision. - Supporting evidence:
GET /v2/submission/{submission_id}/fraud— the underlying fraud analysis that Adaptive Decision is based on.
Quality-only workflow
Forpipeline_configuration: "QUALITY_ONLY", only the document’s image/scan quality is assessed. There’s no fraud signal to base a decision on, so Adaptive Decision does not apply to this pipeline.
- Fetch:
GET /v2/submission/{submission_id}/quality— see Core Integration Mechanics → Quality analysis.
Classification-only workflow
Forpipeline_configuration: "CLASSIFICATION_ONLY", only the document type is identified. As with the quality-only workflow, there’s no fraud signal involved, so Adaptive Decision does not apply.
- Fetch:
GET /v2/submission/{submission_id}/classification— see Core Integration Mechanics → Document classification.
Quality gate → optional fraud analysis
For customers who want to reject low-quality submissions (e.g. blurry scans) before committing to a full fraud analysis. This requires two separate submissions of the same file —pipeline_configuration is fixed per submission, so there’s no way to “upgrade” a quality-only submission into a fraud analysis after the fact.
- Pre-check:
GET /v2/submission/{submission_id_1}/quality— see Core Integration Mechanics → Quality analysis. - If proceeding: create a new submission with
pipeline_configuration: FRAUD_ONLYand re-upload the same file bytes to its newupload_url.submission_id_1andsubmission_id_2are unrelated — track the link between them yourself (e.g. via your ownquery_id).
Classification gate → optional fraud analysis
Same pattern as the quality gate, but rejecting on document type instead of scan quality — e.g. don’t run (and pay for) a fraud analysis on a document type your workflow doesn’t expect.- Pre-check:
GET /v2/submission/{submission_id_1}/classification— see Document classification. - If proceeding: same as the quality gate above — a new
FRAUD_ONLYsubmission, same file re-uploaded, unrelatedsubmission_id.
Want both a quality and a classification pre-check before deciding on fraud? Run both gates independently (two pre-check submissions, two uploads) before the
FRAUD_ONLY submission — there’s no combined pipeline value for “quality + classification only.”