Trulioo Flows API

Initialize and drive a workflow flow.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /customer/v2/flow/{userStateId} Get the current step of a flow · Get Current Step Or Initialize A Flow #
Ask an LLM
“What step is a user on in a hosted flow?”
“Can I initialize a new flow for a user state ID?”
Tell an agent
Get the current step of flow {userStateId}.
Initialize a new flow for user state {userStateId}.
POST /customer/v2/flow/{userStateId} Submit data for the current flow step · Submit Data For The Current Step Of A Flow #
Ask an LLM
“How do I submit answers for the current step of a flow?”
“Can I send JSON data for the next step of a hosted workflow?”
Tell an agent
Submit data for the current step of flow {userStateId}.
Send answers for step {userStateId} in the hosted workflow.
POST /customer/v2/flow/{userStateId}/file Submit a file for the current flow step · Submit File For The Current Step Of A Flow #
Ask an LLM
“Can I upload a document image for the current step of a flow?”
“How do I attach a file to a hosted workflow step?”
Tell an agent
Submit file {file} for the current step of flow {userStateId}.
Upload a document image for step {userStateId} in the hosted workflow.
POST /customer/v2/flow/{userStateId}/back Go back one step in a flow · Backward Step In The Flow #
Ask an LLM
“Can a user go back to the previous step of a flow?”
“How do I compute a backward step in a hosted workflow?”
Tell an agent
Go back one step in flow {userStateId}.
Compute a backward step for hosted workflow {userStateId}.
POST /customer/v2/handoff Notify a handoff between capture and processing · Post Handoff #
Ask an LLM
“How do I tell the platform the flow is being handed off from user capture to backend processing?”
“Can I notify a flow handoff between capture and processing?”
Tell an agent
Post a handoff notification for the flow.
Notify the platform that control of the flow is being handed off.
POST /customer/v2/init Create or update a user state ID · Create Or Update User State #
Ask an LLM
“How do I create a new user state ID for a flow?”
“Can I update an existing user state with init data?”
Tell an agent
Create a new user state ID for a flow.
Create or update a user state with init data.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trulioo:trulioo-flows-api"
All apis
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.

Get an API 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 Specification

trulioo-flows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trulioo Platform Flows API
  description: 'Workflow Studio API (Trulioo Platform). Drive hosted and embedded workflows: initialize a flow, submit data and files for each step, handle handoffs between user-facing capture and backend processing, and retrieve end-client profiles, files, workflow definitions, and transaction state. Backs both the Low-Code Workflow Studio and the API-first Workflow Studio integrations.'
  version: '2.0'
  contact:
    name: Trulioo Support
    url: https://developer.trulioo.com
    email: support@trulioo.com
servers:
- url: https://api.trulioo.com
  description: Production
security:
- OAuth2: []
tags:
- name: Flows
  description: Initialize and drive a workflow flow.
paths:
  /customer/v2/flow/{userStateId}:
    get:
      summary: Get Current Step Or Initialize A Flow
      description: Returns the current step for an existing flow identified by `userStateId`, or initializes a new flow.
      operationId: getFlow
      tags:
      - Flows
      parameters:
      - $ref: '#/components/parameters/UserStateId'
      responses:
        '200':
          description: Current flow step.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowStep'
    post:
      summary: Submit Data For The Current Step Of A Flow
      description: Submit JSON payload for the current step.
      operationId: submitFlowData
      tags:
      - Flows
      parameters:
      - $ref: '#/components/parameters/UserStateId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Next step.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowStep'
  /customer/v2/flow/{userStateId}/file:
    post:
      summary: Submit File For The Current Step Of A Flow
      description: Submit a file (e.g. document image) for the current flow step.
      operationId: submitFlowFile
      tags:
      - Flows
      parameters:
      - $ref: '#/components/parameters/UserStateId'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: Next step.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowStep'
  /customer/v2/flow/{userStateId}/back:
    post:
      summary: Backward Step In The Flow
      description: Compute a backward step in the flow execution.
      operationId: flowBack
      tags:
      - Flows
      parameters:
      - $ref: '#/components/parameters/UserStateId'
      responses:
        '200':
          description: Previous step.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowStep'
  /customer/v2/handoff:
    post:
      summary: Post Handoff
      description: Notify the platform that control of the flow is being handed off between user-facing capture and backend processing.
      operationId: postHandoff
      tags:
      - Flows
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Handoff acknowledged.
  /customer/v2/init:
    post:
      summary: Create Or Update User State
      description: Create a new user state ID or update an existing one with init data.
      operationId: createOrUpdateUserState
      tags:
      - Flows
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: User state ID.
          content:
            application/json:
              schema:
                type: object
                properties:
                  userStateId:
                    type: string
components:
  schemas:
    FlowStep:
      type: object
      properties:
        userStateId:
          type: string
        stepId:
          type: string
        stepType:
          type: string
        inputs:
          type: object
          additionalProperties: true
        outputs:
          type: object
          additionalProperties: true
  parameters:
    UserStateId:
      name: userStateId
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.trulioo.com/customer/v2/auth/customer
          scopes: {}
externalDocs:
  description: Workflow Studio (API)
  url: https://developer.trulioo.com/reference/workflow-studio-api