Fourthline Test Outcome API
Configure a Sandbox outcome for an Identity Verification API v2 workflow.
Configure a Sandbox outcome for an Identity Verification API v2 workflow.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fourthline:fourthline-test-outcome-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Identity Verification API v2 Test Outcome API
version: '2'
description: 'Identity Verification API v2.
This API uses API-level versioning. Workflow endpoints are under `/v2/workflows/`.
The ReadMe documentation version is independent of this API version. This reference is published on the ReadMe 2.0 documentation version. That version is the documentation set. It is not a version of the AML API or the QES API.
**Authentication:** No changes are required for authentication when migrating to API v2. Call Create access token (`POST /v1/oauth2/token`). API v1 and API v2 use this path. The AML API and the QES API use the same access token. The token is valid for **1 hour**. Send it as `Authorization: Bearer `.
The AML API and the QES API are separate references. They use endpoint-level versioning.
**JSON property names** use **camelCase** (for example `workflowId`, `clientId`, `problemDetails`, `transferData`).
**Product keys** use PascalCase **string values**, not property names: `IdentityVerification`, `Payments` (Bank Account Verification), `Signatures` (Qualified Electronic Signature). The same keys appear in Get workflow status, reports, and Identity Verification Webhooks v2.
**Other conventions:** Create access token request and response fields use OAuth **snake_case** (`grant_type`, `access_token`). Document `type` values and `rawVizReading[].fieldName` identifiers use PascalCase strings (for example `SelfieImage`, `FirstName`).
**Error responses:** The JSON error shape depends on the endpoint.
**ProblemDetails** — top-level `type`, `title`, `status`, and `detail` (no `problemDetails` wrapper).
`validationProblemDetails` — extends `problemDetails` with an `errors` object: keys are property or rule names; values are arrays of error message strings.
`validationProblemDetails` is returned on `400` from:
- Upload or update client data (`PATCH`)
- Upload client document (`POST`)
- Upload ID document metadata (`POST`)
Other conventions:
- **Workflow** endpoints that still wrap errors: a `problemDetails` object with `title`, `status`, `detail`, and `traceId` (for example Get workflow status, Upload multiple client documents non-`400` responses).
- **Create workflow** `400`: ValidationProblemDetails; `404`: ProblemDetails.
- **Get report as ZIP** errors: plain-text `404` bodies; `500` with an empty response body.
- **Create SDK session** validation failures: `message`, `code`, and `errors[]` (each item has `code`, `property`, `message`).
- **Qualified Electronic Signature** endpoints: top-level `title`, `status`, `detail`, and `traceId` (no `problemDetails` wrapper).
- **Create access token** OAuth errors: `error` and `error_description`.'
servers:
- url: https://api.ext-sandbox.fourthline.com
description: 'Main API host. The JSON workflow report is served at **`/v2/workflows/{workflowId}/report/json`** on this host.
'
tags:
- name: Test Outcome
description: Configure a Sandbox outcome for an Identity Verification API v2 workflow.
paths:
/v2/testendpoint/workflows/{workflowId}:
post:
summary: Configure outcome
description: 'Use this endpoint to configure the expected outcome of an Identity Verification workflow in the Sandbox environment.
Create the workflow first, then call this endpoint before the workflow starts processing.
In the `expectations` object, configure the `pending` property. When the workflow reaches the `pending` status, the `statusCode` specified in `responseDetails` determines the verification outcome.
You can specify any valid `statusCode` listed in Identity Verification status codes, including:
- `1xxx` - Identity data
- `2xxx` - Home address
- `3xxx` - Sendbacks
- `4xxx` - Rejections
- `5xxx` - Fraud
This request stores that configuration. Call Get workflow status for the result.'
tags:
- Test Outcome
parameters:
- $ref: '#/components/parameters/authorization'
- $ref: '#/components/parameters/cacheControl'
- name: workflowId
in: path
required: true
description: 'The unique identifier of the workflow for which to configure the outcome. <br />
Format: uuid <br />
Example: `3fa85f64-5717-4562-b3fc-2c963f66afa6`
'
schema:
type: string
format: uuid
example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
requestBody:
required: true
content:
application/json:
examples:
status_code_200:
summary: statusCode 200
value:
expectations:
pending:
responseDetails:
- statusCode: 200
targetStatus: pending
status_code_4400:
summary: statusCode 4400
value:
expectations:
pending:
responseDetails:
- statusCode: 4400
targetStatus: pending
status_code_3202:
summary: statusCode 3202
value:
expectations:
pending:
responseDetails:
- statusCode: 3202
targetStatus: pending
schema:
type: object
required:
- expectations
properties:
expectations:
type: object
description: Set the `pending` property. When the workflow status is `pending`, the `statusCode` in `responseDetails` determines the outcome.
required:
- pending
properties:
pending:
type: object
description: Provide `responseDetails` with one or more status codes.
required:
- responseDetails
- targetStatus
properties:
responseDetails:
type: array
items:
type: object
required:
- statusCode
properties:
statusCode:
type: integer
format: int32
description: 'Selects the outcome applied when the workflow status is `pending`. Call [Get workflow status](ref:get-workflow-status) for the result. <br /><br />**Examples:** <br />Identity Verification: request `4400` is returned as message `statusCode` `500`. <br />Document Authentication: request `3202` is returned as message `statusCode` `3202`, with product `status` `inconsistent_data`. <br />Biometric Authentication: request `3100` is returned as message `statusCode` `3100`, with product `status` `inconsistent_data`.'
example: 200
targetStatus:
type: string
description: Set `pending`.
responses:
'200':
description: 'The response body is the string `Processed`. The workflow exists, and the expectations were validated and stored.
'
content:
application/json:
schema:
type: string
example: Processed
examples:
ok:
summary: Processed
value: Processed
'404':
description: 'Not Found. The response body is plain text: `Workflow` followed by the workflow ID and `not found`.
'
content:
text/plain:
schema:
type: string
description: A plain-text message identifying the workflow that was not found.
examples:
workflow_not_found:
summary: Not Found
value: Workflow 3fa85f64-5717-4562-b3fc-2c963f66afa6 not found
'422':
description: 'Unprocessable Entity. The response body is a plain-text validation error message. For example, `Not enough response details` when `responseDetails` is empty.
'
content:
text/plain:
schema:
type: string
description: A plain-text validation error message.
example: Not enough response details
examples:
not_enough_response_details:
summary: Unprocessable Entity
value: Not enough response details
'502':
description: 'Bad Gateway. The response body is plain text: `Workflow name could not be resolved for` followed by the workflow ID.
'
content:
text/plain:
schema:
type: string
description: A plain-text message stating that the workflow name could not be resolved.
examples:
workflow_name_unresolved:
summary: Bad Gateway
value: Workflow name could not be resolved for 3fa85f64-5717-4562-b3fc-2c963f66afa6
operationId: postV2TestendpointWorkflowsByWorkflowId
x-operation-id-source: derived
components:
parameters:
cacheControl:
name: Cache-Control
in: header
required: false
description: To have the response validated by the origin server instead of reusing stored content, we strongly recommend including this parameter and setting it to `no-cache`.
schema:
type: string
default: no-cache
authorization:
name: Authorization
in: header
required: true
description: The `access_token` returned in your most recent [Create access token](ref:create-access-token) response.
schema:
type: string
default: Bearer <access_token>
x-readme-fauxas: true
x-provenance:
method: searched
source: https://docs.fourthline.com/reference
harvested: '2026-12-02'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://docs.fourthline.com/reference/create-sdk-session.md
- https://docs.fourthline.com/reference/create-workflow.md
- https://docs.fourthline.com/reference/get-report-json.md
- https://docs.fourthline.com/reference/get-report-pdf.md
- https://docs.fourthline.com/reference/get-report-xml.md
- https://docs.fourthline.com/reference/get-report-zipfile.md
- https://docs.fourthline.com/reference/get-workflow-status.md
- https://docs.fourthline.com/reference/post_v2-testendpoint-workflows-workflowid.md
- https://docs.fourthline.com/reference/remove-document-duplication-restriction.md
- https://docs.fourthline.com/reference/start-workflow.md
- https://docs.fourthline.com/reference/upload-client-data.md
- https://docs.fourthline.com/reference/upload-client-document.md
- https://docs.fourthline.com/reference/upload-client-documents-bulk.md
- https://docs.fourthline.com/reference/upload-identity-document-metadata.md
merge:
pages: 14
deduped: 32
conflicts_kept_first: 0