---
updatedAt: 2026-10-01T21:26:00.000Z
agentTools:
  projectIndex: https://developer.trulioo.com/llms.txt
---

# Receiving Events

### Subscribing to Event Types

To use the Events API, start by configuring the Export API step in the workflow builder.

Your Callback URL(s) will receive JSON payloads for the event types you subscribe to. The number of events will depend on user activity within your workflow. Each event generates one request to a Callback URL.

<br />

| **Notes**                                                                                                                                                                                                                   |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Webhook events are queued and delivered in sequence. During periods of high traffic, there may be a delay before events are sent, so delivery may not occur immediately after the corresponding actions in Workflow Studio. |
| You cannot subscribe to events through our API. Use the workflow builder to subscribe to webhooks via the Export API step.                                                                                                  |

<br />

### URL Verification Handshake

Events sent to a Request URL may contain sensitive data from your workflow. To ensure secure delivery, we verify your server ownership with a challenge request. After you configure the API Export node and add a Request URL, we will send an HTTP POST request to that URL. This request will verify your SSL certificate and include a JSON body with three fields.

Refer to URL verification handshake below for further details.

<br />

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Export API (Workflow)",
    "description": "# Introduction\n\n The export API can be used to receive real time data through the event webhook and to collect data submitted in a batch or query manner. We may support query DSL in the future. \n\n",
    "contact": {
      "name": "Workflow Export",
      "email": "support@trulioo.com"
    },
    "version": "2.1.0"
  },
  "servers": [
    {
      "url": "https://api.trulioo.com/wfs/export/"
    }
  ],
  "tags": [
    {
      "name": "Webhooks",
      "description": "Webhooks allows you to receive real-time HTTP notifications of events to specific flows. To use Webhooks, you will need to set up an endpoint on a secure (HTTPS) server, then add and configure the Webhooks in your dashboard. The webhook configuration can also be made through our API if you have already obtained the Authorization bearer token."
    }
  ],
  "paths": {
    "/subscribe/": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Receiving Events",
        "operationId": "sendEvent",
        "parameters": [
          {
            "name": "callbackUrl",
            "in": "query",
            "description": "The URL to dispatch events to",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The URL to dispatch events to"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "callbacks": {
          "Url verification handshake": {
            "'{$request.body#/callbackUrl}'": {
              "post": {
                "tags": [
                  "Webhooks"
                ],
                "summary": "Url verification handshake",
                "description": "Responding to the challenge\n\nOnce you receive the event, complete the sequence by responding with HTTP 200 and the challenge attribute value.",
                "requestBody": {
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/SubscriptionRequest"
                      },
                      "example": {
                        "challenge": "string",
                        "type": "url_verification"
                      }
                    }
                  }
                },
                "responses": {
                  "200": {
                    "description": "Complete the sequence by responding with HTTP 200 and the challenge attribute value",
                    "headers": {
                      "x-trulioo-signature": {
                        "description": "A HMAC header that is used to check the authencitiy of the event being sent.\n\nIt is generated by signing the RAW response payload with HmacSHA256 and the secret set up for your account.\n\n\n\nThe secure token is retrieved using the Trulioo API. If this call fails FOR ANY REASON the header will not be included.\n\nJS example on how to calculate the HMAC.\n\n   const CryptoJS = require('crypto-js');\n\n   const bytes = CryptoJS.HmacSHA256(rawResponse, secret);\n\n   const hmac = hashBytes.toString(CryptoJS.Hex);\n\n",
                        "style": "simple",
                        "schema": {
                          "type": "string"
                        }
                      }
                    },
                    "content": {
                      "application/json": {
                        "schema": {
                          "$ref": "#/components/schemas/SubscriptionResponse"
                        },
                        "examples": {
                          "Handshake verification response sample": {
                            "summary": "Complete the handshake verification",
                            "description": "Handshake verification response sample",
                            "value": {
                              "challenge": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "default": {
                    "description": "Handshake failed"
                  }
                }
              }
            }
          },
          "Webhook for workflow events dispatch": {
            "'{$request.body#/callbackUrl}'": {
              "post": {
                "summary": "Workflow event dispatcher",
                "description": "Events dispatched as JSON\n\nWhen an event in your subscription occurs in a workflow, we'll send an HTTP POST request to your Request URL. The event will be in the Content-Type: `application/json` format.\n\nTo ensure proper integration and data exchange, it is imperative that your system responds with HTTP 200. Additionally, please ensure that the content type of your response is set to `application/json`. This ensures that the data is transmitted in the correct format, facilitating accurate processing on our end.",
                "requestBody": {
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/FlowEventResponse"
                      }
                    }
                  }
                },
                "responses": {
                  "200": {
                    "description": "Return this code if the callback was received and processed successfully",
                    "headers": {
                      "x-trulioo-signature": {
                        "description": "A HMAC header that is used to check the authencitiy of the event being sent.\n\nIt is generated by signing the RAW response payload with HmacSHA256 and the secret set up for your account.\n\n\n\nThe secure token is retrieved using the Trulioo API. If this call fails FOR ANY REASON the header will not be included.\n\nJS example on how to calculate the HMAC.\n\n   const CryptoJS = require('crypto-js');\n\n   const bytes = CryptoJS.HmacSHA256(rawResponse, secret);\n\n   const hmac = hashBytes.toString(CryptoJS.Hex);\n\n",
                        "style": "simple",
                        "schema": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "default": {
                    "description": "Processing failed, the payload will be retained for 7 days and resent, however it can also be queried in a batch request"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SubscriptionRequest": {
        "type": "object",
        "properties": {
          "challenge": {
            "type": "string",
            "description": "A randomly generated string produced by Workflow Studio, contains the expected response"
          },
          "type": {
            "type": "string",
            "description": "You will receive `URL_VERIFICATION` during the configuration process."
          }
        }
      },
      "SubscriptionResponse": {
        "type": "object",
        "properties": {
          "challenge": {
            "type": "integer",
            "description": "A randomly generated string produced by Workflow Studio",
            "format": "int64"
          }
        }
      },
      "AttachmentMetadataQueryApi": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "document_front",
              "document_back",
              "document_portrait",
              "selfie"
            ]
          },
          "contentType": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "DeviceIntelligenceServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "transactionId": {
            "type": "string"
          },
          "deviceId": {
            "type": "string"
          },
          "riskLevel": {
            "type": "string"
          },
          "riskScore": {
            "type": "number"
          },
          "eventId": {
            "type": "string"
          },
          "sessionId": {
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "errorMessage": {
            "type": "string"
          }
        }
      },
      "DocVServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "matchStatus": {
            "type": "string",
            "description": "The document verification status can be one of the following:\n- `ACCEPTED` - The verification passed and the identity documentation is verified.\n- `REVIEW` - The verification results require manual review due to insufficient information to make an automated decision.\n- `DECLINED` - The verification failed and the identity documentation was not verified.\n- `NO_RESULT` - The verification has not been completed yet, so please check again later.\n- `ERROR` - The verification could not be completed due to a configuration, authorization, or data capture issue.\n",
            "enum": [
              "ACCEPTED",
              "REVIEW",
              "DECLINED",
              "NO_RESULT",
              "ERROR"
            ]
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "documentCountryOfOrigin": {
            "type": "string",
            "description": "A 2-letter ISO 3166-1 alpha-2 country code.",
            "example": "`US`, `CA`"
          },
          "date": {
            "type": "string",
            "description": "The precise UTC timestamp when the event occurred.",
            "format": "date-time",
            "example": "2023-04-25T23:40:25.55307353Z"
          },
          "transactionInfo": {
            "type": "string"
          }
        }
      },
      "DocumentAuthenticationAdditionalValueWebhook": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "DocumentAuthenticationDocumentResultWebhook": {
        "type": "object",
        "properties": {
          "weight": {
            "type": "number"
          },
          "startPageIndex": {
            "type": "integer",
            "format": "int32"
          },
          "pageCount": {
            "type": "integer",
            "format": "int32"
          },
          "triggeredRules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentAuthenticationTriggeredRuleWebhook"
            }
          }
        }
      },
      "DocumentAuthenticationFileResultWebhook": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string"
          },
          "fileWeight": {
            "type": "number"
          },
          "totalWeight": {
            "type": "number"
          },
          "triggeredRules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentAuthenticationTriggeredRuleWebhook"
            }
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentAuthenticationDocumentResultWebhook"
            }
          }
        }
      },
      "DocumentAuthenticationResultWebhook": {
        "type": "object",
        "properties": {
          "riskStatus": {
            "type": "string"
          },
          "riskScore": {
            "type": "number"
          },
          "totalFileCount": {
            "type": "integer",
            "format": "int32"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentAuthenticationFileResultWebhook"
            }
          }
        }
      },
      "DocumentAuthenticationServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "transactionId": {
            "type": "string"
          },
          "completedAt": {
            "type": "string"
          },
          "failedAt": {
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          },
          "result": {
            "$ref": "#/components/schemas/DocumentAuthenticationResultWebhook"
          }
        }
      },
      "DocumentAuthenticationTriggeredRuleWebhook": {
        "type": "object",
        "properties": {
          "ruleId": {
            "type": "string"
          },
          "ruleName": {
            "type": "string"
          },
          "weight": {
            "type": "number"
          },
          "additionalValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentAuthenticationAdditionalValueWebhook"
            }
          },
          "guidance": {
            "type": "string"
          }
        }
      },
      "EidvServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "match": {
            "type": "boolean"
          },
          "transactionInfo": {
            "$ref": "#/components/schemas/VerifyTransactionInfoWebhook"
          },
          "secondaryMatch": {
            "type": "boolean"
          }
        }
      },
      "ElectronicIdServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "match": {
            "type": "boolean"
          },
          "transactionInfo": {
            "$ref": "#/components/schemas/VerifyTransactionInfoWebhook"
          },
          "endClientPIIData": {
            "$ref": "#/components/schemas/EndClientPIIData"
          },
          "providerName": {
            "type": "string"
          },
          "attachmentMetadata": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttachmentMetadataQueryApi"
            }
          },
          "hasSelfie": {
            "type": "boolean"
          },
          "hasDocumentFront": {
            "type": "boolean"
          },
          "hasDocumentBack": {
            "type": "boolean"
          },
          "hasDocumentPortrait": {
            "type": "boolean"
          }
        }
      },
      "EndClientPIIData": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string"
          },
          "countryOfResidence": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "emailAddress": {
            "type": "string"
          },
          "nationalIdNumber": {
            "type": "string"
          },
          "nationality": {
            "type": "string"
          },
          "givenInitials": {
            "type": "string"
          },
          "documentNumber": {
            "type": "string"
          },
          "documentIssuingCountry": {
            "type": "string"
          },
          "documentExpiry": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          }
        }
      },
      "Event": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The following events describes the action type of a user with your workflow:\n\n* `FLOW_START` - The flow was started. A new end client session was generated\n\n* `STEP_INIT` - The form node was initiated; Form elements were returned to the client\n\n* `STEP_SUBMIT` - The form node was submitted. The event contains the form data that was entered by the end client\n\n* `SERVICE_INIT` - The interactive service was initiated\n\n* `INTERMEDIATE_EVENT_RECEIVED` - An intermediate event was received from a service such as DocV or Electronic Identification\n\n* `SERVICE_SUBMIT` - Service data is available for the executed service\n\n* `INSTANT_SERVICE_SUBMIT` - Service data is available for the executed service instantly when configured\n\n* `SERVICE_TIMEOUT` - The service was marked as timeout\n\n* `FLOW_END` - The flow was finished\n\n* `ABANDONED` - The end client was automatically marked as abandoned based on the workflow settings\n\n\nManual actions that can be done in Client Manager generate the following events:\n* `MANUALLY_ACCEPTED` - The end client was manually accepted\n\n* `MANUALLY_REJECTED` - The end client was manually rejected\n\n* `MANUALLY_PENDING_REVIEW` - The end client was manually marked as pending review\n\n* `MANUALLY_ABANDONED` - The end client was manually marked as abandoned\n\n* `NOTE_ADDED` - A note was added\n\n* `TASK_ADDED` - A task was added\n\n* `TASK_DONE` - A task was marked as done\n\n* `TASK_UNDONE` - A task was marked as undone\n\n\n<b>Note: The list of event types can be enriched at any moment, without prior notice.</b>\n",
            "enum": [
              "FLOW_START",
              "STEP_INIT",
              "STEP_SUBMIT",
              "SERVICE_INIT",
              "INTERMEDIATE_EVENT_RECEIVED",
              "SERVICE_SUBMIT",
              "INSTANT_SERVICE_SUBMIT",
              "SERVICE_TIMEOUT",
              "ABANDONED",
              "FLOW_END",
              "MANUALLY_ACCEPTED",
              "MANUALLY_REJECTED",
              "MANUALLY_PENDING_REVIEW",
              "MANUALLY_ABANDONED",
              "NOTE_ADDED",
              "TASK_ADDED",
              "TASK_DONE",
              "TASK_UNDONE"
            ]
          },
          "user": {
            "type": "string",
            "description": "The user ID belonging to the user that initiated this action."
          },
          "ts": {
            "type": "integer",
            "description": "A UNIX timestamp indicating when the action was performed.",
            "format": "int64"
          }
        },
        "description": "Describes the type of interaction of a user with your workflow."
      },
      "FlowEventResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "A unique identifier for this specific event. In the case of TASK_ADDED, TASK_DONE, TASK_UNDONE or NOTE_ADDED it is the id of the entity. In the case of MANUALLY_ACCEPTED, MANUALLY_REJECTED  or MANUALLY_PENDING_REVIEW it will not be present. Otherwise it currently coincides with userId."
          },
          "text": {
            "type": "string",
            "description": "The text associated with this specific event. It is only present in case the EventType is TASK_ADDED, TASK_DONE, TASK_UNDONE or NOTE_ADDED. Otherwise it will not be present."
          },
          "modifierUserName": {
            "type": "string",
            "description": "The user who manually triggered this event. It is only present in case the EventType is TASK_ADDED, TASK_DONE, TASK_UNDONE, NOTE_ADDED, MANUALLY_ACCEPTED, MANUALLY_REJECTED, MANUALLY_PENDING_REVIEW. Otherwise it will not be present."
          },
          "test": {
            "type": "boolean",
            "description": "This signals whether an event corresponds to test data or live data"
          },
          "flowId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "description": " This reflects the type of callback you're receiving. Typically, that is `EVENT_CALLBACK`. You may encounter `URL_VERIFICATION` during the configuration process."
          },
          "ts": {
            "type": "integer",
            "description": "A UNIX timestamp indicating when the Event was sent (not when the user interaction occurred).",
            "format": "int64"
          },
          "event": {
            "$ref": "#/components/schemas/Event"
          },
          "serviceType": {
            "type": "string",
            "description": "`TWILIO` - Twilio\n\n`TRULIOO_EIDV` - Person Match\n\n`TRULIOO_KYB_SEARCH` - Business Finder\n\n`TRULIOO_KYB_VERIFY` - Business Essentials\n\n`TRULIOO_KYB_INSIGHTS` - Business Insights\n\n`TRULIOO_KYB_COMPLETE` - Business Complete\n\n`TRULIOO_DOCV` - Identity Document Verification\n\n`TRULIOO_PERSON_WL` - Person Watchlist Screening\n\n`TRULIOO_BUSINESS_WL` - Business Watchlist Screening\n\n`TRULIOO_ELECTRONIC_ID` - Electronic Identification\n\n`TRULIOO_PERSON_RI` - Person Fraud\n\n`TRULIOO_BUSINESS_RI` - Business Fraud\n\n`SHARED_SIGNING`\n\n`ACCEPT` - Accept\n\n`REJECT` - Reject\n\n`PERSON_OCR` - Document Data Extraction\n\n`BUSINESS_OCR` - Business Document Data Extraction\n\n`TRULIOO_DEVICE_INTELLIGENCE` - Device Intelligence\n\n`DOCUMENT_AUTHENTICATION` - Document Authentication\n\n",
            "enum": [
              "TWILIO",
              "TRULIOO_EIDV",
              "TRULIOO_KYB_SEARCH",
              "TRULIOO_KYB_VERIFY",
              "TRULIOO_KYB_INSIGHTS",
              "TRULIOO_KYB_COMPLETE",
              "TRULIOO_DOCV",
              "TRULIOO_PERSON_WL",
              "TRULIOO_BUSINESS_WL",
              "TRULIOO_ELECTRONIC_ID",
              "TRULIOO_PERSON_RI",
              "TRULIOO_BUSINESS_RI",
              "SHARED_SIGNING",
              "ACCEPT",
              "REJECT",
              "PERSON_OCR",
              "BUSINESS_OCR",
              "TRULIOO_DEVICE_INTELLIGENCE",
              "DOCUMENT_AUTHENTICATION"
            ]
          },
          "formData": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "description": "All data submitted by the user as a key value pair. The value is an array to cover all input cases",
              "deprecated": true,
              "items": {
                "type": "string",
                "description": "All data submitted by the user as a key value pair. The value is an array to cover all input cases",
                "deprecated": true
              }
            },
            "description": "All data submitted by the user as a key value pair. The value is an array to cover all input cases",
            "deprecated": true
          },
          "pscsFormData": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "type": "array",
                "description": "All PSC data submitted by the user as an array of key value pair. The value is an array to cover all input cases",
                "deprecated": true,
                "items": {
                  "type": "string",
                  "description": "All PSC data submitted by the user as an array of key value pair. The value is an array to cover all input cases",
                  "deprecated": true
                }
              },
              "description": "All PSC data submitted by the user as an array of key value pair. The value is an array to cover all input cases",
              "deprecated": true
            },
            "description": "All PSC data submitted by the user as an array of key value pair. The value is an array to cover all input cases",
            "deprecated": true
          },
          "formDataDetails": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/SubmittedFormData"
            },
            "description": "All data submitted by the user as a key value pair. The key is fieldId and value is an object to cover all input cases"
          },
          "pscsFormDataDetails": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/SubmittedFormData"
              },
              "description": "All PSC data submitted by the user as key value pair. The key is endClientId and value is another key value pair of fieldId and an object of all input cases"
            },
            "description": "All PSC data submitted by the user as key value pair. The key is endClientId and value is another key value pair of fieldId and an object of all input cases"
          },
          "formEnhancedFiles": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "description": "All files submitted by the user as a key value pair. The value can be used to download files",
              "items": {
                "type": "string",
                "description": "All files submitted by the user as a key value pair. The value can be used to download files"
              }
            },
            "description": "All files submitted by the user as a key value pair. The value can be used to download files"
          },
          "serviceData": {
            "$ref": "#/components/schemas/ServiceDataWebhook"
          },
          "intermediateEvent": {
            "type": "object",
            "description": "Payload of the event.\nFor TRULIOO_DOCV serviceType the schema and available events are described at: <a href='https://docs.verification.trulioo.com/sdk/webhook/index.html' target='_blank'>https://docs.verification.trulioo.com/sdk/webhook/index.html</a>. TRULIOO_ELECTRONIC_ID can return ElectronicIdEventResponse events."
          },
          "workflowOutcome": {
            "$ref": "#/components/schemas/WorkflowOutcomeData"
          }
        }
      },
      "KybCompanyAddress": {
        "type": "object",
        "properties": {
          "streetNumber": {
            "type": "string"
          },
          "streetName": {
            "type": "string"
          },
          "streetType": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "unitNumber": {
            "type": "string"
          },
          "buildingName": {
            "type": "string"
          },
          "buildingNumber": {
            "type": "string"
          }
        }
      },
      "KybCompanyData": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          },
          "fullAddress": {
            "type": "string"
          },
          "businessType": {
            "type": "string"
          },
          "businessStatus": {
            "type": "string"
          },
          "dunsNumber": {
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/KybCompanyAddress"
          }
        }
      },
      "KybSearchServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "match": {
            "type": "boolean"
          },
          "transactionInfo": {
            "$ref": "#/components/schemas/VerifyTransactionInfoWebhook"
          },
          "companyData": {
            "$ref": "#/components/schemas/KybCompanyData"
          }
        }
      },
      "KybServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "match": {
            "type": "boolean"
          },
          "transactionInfo": {
            "$ref": "#/components/schemas/VerifyTransactionInfoWebhook"
          },
          "secondaryMatch": {
            "type": "boolean"
          },
          "businessStatus": {
            "type": "string"
          },
          "businessAgeInMonths": {
            "type": "string"
          },
          "pscTypes": {
            "type": "string",
            "enum": [
              "INCLUDES_BUSINESSES_AND_UNKNOWN",
              "ONLY_INDIVIDUALS"
            ]
          },
          "pscDirectorsInfo": {
            "$ref": "#/components/schemas/PscDirectorsInfo"
          },
          "pscOwnersInfo": {
            "$ref": "#/components/schemas/PscDirectorsInfo"
          }
        }
      },
      "PscDirectorsInfo": {
        "type": "object",
        "properties": {
          "includesIndividuals": {
            "type": "boolean"
          },
          "includesBusinessesAndUnknown": {
            "type": "boolean"
          },
          "onlyIndividuals": {
            "type": "boolean"
          },
          "onlyBusinessesAndUnknown": {
            "type": "boolean"
          }
        }
      },
      "ServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          }
        },
        "description": "Payload of the service",
        "oneOf": [
          {
            "$ref": "#/components/schemas/EidvServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/KybServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/KybSearchServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/ElectronicIdServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/DocVServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/WlServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/TwilioServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/SharedSigningServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/DeviceIntelligenceServiceDataWebhook"
          },
          {
            "$ref": "#/components/schemas/DocumentAuthenticationServiceDataWebhook"
          }
        ]
      },
      "SharedSigningServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "shareType": {
            "type": "string",
            "enum": [
              "SMS",
              "EMAIL",
              "NONE"
            ]
          },
          "flowId": {
            "type": "string"
          },
          "ownerIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "SubmittedFormData": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "data": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "role": {
            "type": "string"
          },
          "normalizedName": {
            "type": "string",
            "description": "Normalized name or alias of the field. Use this to identify the field when role attribute is not defined."
          }
        },
        "description": "All PSC data submitted by the user as key value pair. The key is endClientId and value is another key value pair of fieldId and an object of all input cases"
      },
      "TwilioServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "phone": {
            "type": "string"
          },
          "verified": {
            "type": "boolean"
          }
        }
      },
      "VerifyTransactionInfoWebhook": {
        "type": "object",
        "properties": {
          "accountName": {
            "type": "string"
          },
          "accountIdentifier": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "transactionId": {
            "type": "string"
          },
          "transactionRecordId": {
            "type": "string"
          },
          "userName": {
            "type": "string"
          }
        }
      },
      "WatchlistHitDetails": {
        "type": "object",
        "properties": {
          "wlHitsNumber": {
            "type": "integer",
            "format": "int32"
          },
          "amHitsNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pepHitsNumber": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "WatchlistResult": {
        "type": "object",
        "properties": {
          "watchlistStatus": {
            "type": "string"
          },
          "watchlistHitDetails": {
            "$ref": "#/components/schemas/WatchlistHitDetails"
          }
        }
      },
      "WlServiceDataWebhook": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int64"
          },
          "serviceStatus": {
            "type": "string",
            "description": "`COMPLETED` - A response was received from the source. This is a final status.\n\n`IN_PROGRESS` - Service/verification is in progress and no response was received yet.\n\n`FAILED` - Verification didn't finish properly and an error occurred. This is a final status.\n\n`TIMEOUT` - No response was received within the timeout period for the service.\n\n`ABANDONED` - The DocV experience was abandoned by the end client. This is a final status.\n",
            "enum": [
              "COMPLETED",
              "IN_PROGRESS",
              "FAILED",
              "TIMEOUT",
              "ABANDONED"
            ]
          },
          "match": {
            "type": "boolean"
          },
          "transactionInfo": {
            "$ref": "#/components/schemas/VerifyTransactionInfoWebhook"
          },
          "watchlistResults": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/WatchlistResult"
            }
          },
          "secondaryMatch": {
            "type": "boolean"
          }
        }
      },
      "WorkflowOutcomeData": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier of the outcome, same as in the flow workflowOutcomes"
          },
          "label": {
            "type": "string",
            "description": "Outcome label when the flow completed"
          },
          "color": {
            "type": "string",
            "description": "Outcome tag color when the flow completed: NEUTRAL, GREEN, YELLOW, or RED"
          },
          "description": {
            "type": "string",
            "description": "Description written on the end step that set the outcome"
          }
        },
        "description": "Workflow outcome of the end step the user reached. It is only present in case the EventType is FLOW_END and the end step has an outcome. Otherwise it will not be present."
      }
    }
  }
}
```