Home
Home
  1. 📤 Webhooks
  • 🚀 Getting Started
  • 🔎 Screening API
    • Overview
    • Blacklist Matching Logic
    • Blockchain Analysis
      POST
    • Individuals Analysis
      POST
    • Organizations Analysis
      POST
    • Screening Entities Summary Analysis
      POST
    • Create BlackList
      POST
    • Get All BlackList Records
      GET
    • Get Blacklist Record by ID
      GET
    • Delete Blacklist Record by ID
      DELETE
    • Update Blacklist Record by ID
      PATCH
    • Update Blacklist Settings Account
      PATCH
  • 🌊 Flow API
    • Overview
    • Flow Step: Identity Verification
    • Flow Step: Onboarding Individual
    • Flow Step: Onboarding Organization
    • 📡 Endpoints
      • Authentication token
      • Get Flow Instance
      • Get File from Flow Instance
      • Identity: Get Details
      • Identity: Get Files
      • Identity: Update Status
      • Onboarding: Get Details
      • Onboarding: Get File
      • Onboarding: Get Multiple Files
      • Onboarding: Update Status
    • 📤 Webhooks
      • Webhooks Overview
      • Flow
      • Identity Verification
      • Onboarding Individual
      • Onboarding Organizations
      • Identity Verification by Onboarding
  • 💸 Transaction API
    • 🔑 Authentication
    • Overview
    • Transaction Analysis
    • Transaction Status
    • Document Types
    • Cryptocurrencies
    • Diagram
    • 📤 Webhooks
  • 📡 Endpoints
    • Create operation
    • Get operation
    • Get valid document types
    • Get valid coins
  • 📂 Resources
    • Concept Details
    • Enum Validation
Home
Home
  1. 📤 Webhooks

Flow

Webhook that notifies you whenever a flow instance is either successfully completed (FLOW_COMPLETED) or explicitly rejected (FLOW_REJECTED). Both share the same payload structure, with the main difference being the status field.

Overview#

The Flow Status Webhook notifies your system about the final status of a flow instance once it has been processed, regardless of the result.
It provides the essential details to track whether the flow was successfully completed or rejected.

Webhook Trigger#

Rillis sends a POST request to your configured webhook URL each time a flow reaches its final state.

Webhook Payload Schema#

ParameterTypeDescription
idStringUnique webhook event identifier.
typeStringType of the event: "FLOW_COMPLETED" or "FLOW_REJECTED".
timestampNumber (timestamp)Timestamp of the webhook event.
data.flow_instance_idStringUnique identifier for the specific flow instance.
data.flow_idStringID of the flow definition.
data.user_idStringID of the user who completed or rejected the flow.
data.statusString"COMPLETED" or "REJECTED".
data.completed_atString (ISO date)When the flow reached its final status.
data.urlStringReference URL for further details about the flow instance.

Status Differences#

FLOW_COMPLETED:
Triggered when the entire flow and its services have been successfully completed.
FLOW_REJECTED:
Triggered when the flow is explicitly rejected during processing.

Example Webhook Payloads#

Example: Flow Completed#

{
  "id": "67a3be0fb928eb94fbb49e09",
  "type": "FLOW_COMPLETED",
  "timestamp": 1738784271042,
  "data": {
    "flow_instance_id": "67a3be04d236cd46c537c95d",
    "flow_id": "67a3af4ca59af345d61f4f9c",
    "user_id": "67a3a5065eee513d753f19b7",
    "status": "COMPLETED",
    "completed_at": "2025-02-05T19:37:51.042Z",
    "url": "https://example.com/webhook"
  }
}

Example: Flow Rejected#

{
  "id": "67a3cbc2b928eb94fbb49e0f",
  "type": "FLOW_REJECTED",
  "timestamp": 1738787778405,
  "data": {
    "flow_instance_id": "67a3cbb9d236cd46c537c9a8",
    "flow_id": "67a3af4ca59af345d61f4f9c",
    "user_id": "67a3a5065eee513d753f19b7",
    "status": "REJECTED",
    "completed_at": "2025-02-05T20:36:18.405Z",
    "url": "https://webhook.site/07eb6d44-791b-473f-bcac-dffc50c4f8e3"
  }
}
Modified at 2025-05-29 16:10:02
Previous
Webhooks Overview
Next
Identity Verification
Built with