Home
Home
  1. πŸ“€ Webhooks
  • πŸš€ Getting Started
  • πŸ”Ž Screening API
    • Overview
    • Blacklist Matching Logic
    • πŸ“‘ Endpoints
      • Blockchain Analysis
      • Individuals Analysis
      • Organizations Analysis
      • Screening Entities Summary Analysis
      • Create BlackList
      • Get All BlackList Records
      • Get Blacklist Record by ID
      • Delete Blacklist Record by ID
      • Update Blacklist Record by ID
      • Update Blacklist Settings Account
  • 🌊 Flow API
    • Overview
    • Flow Step: Identity Verification
    • Flow Step: Onboarding Individual
    • Flow Step: Onboarding Organization
    • πŸ“‘ Endpoints
      • Authentication token
      • Get Flow Instances
      • Get Flow Instance By Id
      • 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
      • Onboarding: Get Entity by document number
      • Onboarding: Get Entity List by document number
    • πŸ“€ Webhooks
      • Overview
      • Flow
      • Identity Verification
      • Onboarding Individual
      • Onboarding Organizations
      • Identity Verification by Onboarding
  • πŸ’ΈTransaction Screening API
    • πŸ”‘ Authentication
    • Overview
    • Transaction Analysis
    • Monitoring & History
    • Document Types
    • Supported Currencies
    • Diagram
    • πŸ“€ Webhooks
    • πŸ“‘ Endpoints
      • Submit Transaction
      • List Transactions
      • List Document types
      • List Cryptocurrencies
      • Register remitter
      • Register Beneficiary
  • πŸ“‚ 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
Overview
Next
Identity Verification
Built with