naftiko: 1.0.0-alpha2 info: label: Trulioo Platform API — Flows description: >- Drive Trulioo Workflow Studio flows: initialize a flow, submit data and files for each step, walk backward, and execute handoffs between user-facing capture and backend processing. tags: - Trulioo - Workflow Studio - Flows created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: TRULIOO_CLIENT_ID: TRULIOO_CLIENT_ID TRULIOO_CLIENT_SECRET: TRULIOO_CLIENT_SECRET capability: consumes: - type: http namespace: platform-flows baseUri: https://api.trulioo.com description: Trulioo Workflow Studio flow control. resources: - name: flow path: /customer/v2/flow/{userStateId} operations: - name: getFlow method: GET description: Get Current Step Or Initialize A Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userStateId in: path type: string required: true - name: submitFlowData method: POST description: Submit Data For The Current Step Of A Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userStateId in: path type: string required: true - name: body in: body type: object required: true - name: flow-back path: /customer/v2/flow/{userStateId}/back operations: - name: flowBack method: POST description: Backward Step In The Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userStateId in: path type: string required: true - name: init path: /customer/v2/init operations: - name: createOrUpdateUserState method: POST description: Create Or Update User State outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true - name: handoff path: /customer/v2/handoff operations: - name: postHandoff method: POST description: Post Handoff outputRawFormat: json inputParameters: - name: body in: body type: object required: true authentication: type: oauth2 flow: client_credentials tokenUrl: https://api.trulioo.com/customer/v2/auth/customer clientId: '{{env.TRULIOO_CLIENT_ID}}' clientSecret: '{{env.TRULIOO_CLIENT_SECRET}}' exposes: - type: mcp namespace: platform-flows-mcp port: 9090 transport: http description: MCP adapter for Trulioo Workflow Studio flows. tools: - name: trulioo-get-flow description: Get current step or initialize a Trulioo workflow flow hints: readOnly: true destructive: false idempotent: false call: platform-flows.getFlow with: userStateId: tools.userStateId outputParameters: - type: object mapping: $. - name: trulioo-submit-flow-data description: Submit data for the current step of a Trulioo workflow flow hints: readOnly: false destructive: false idempotent: false call: platform-flows.submitFlowData with: userStateId: tools.userStateId body: tools.body outputParameters: - type: object mapping: $.