Skip to main content
The right endpoints to call after creating a submission depend on which pipeline you selected (see Core Integration Mechanics → Pipeline configuration values). This page walks through the most common journeys.
This guide uses the default EU base URL (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.

For pipeline_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

For pipeline_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.

Classification-only workflow

For pipeline_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.

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_ONLY and re-upload the same file bytes to its new upload_url. submission_id_1 and submission_id_2 are unrelated — track the link between them yourself (e.g. via your own query_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_ONLY submission, same file re-uploaded, unrelated submission_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.”

Next steps