Webhook Events
Alloy can trigger webhooks for a number of different events
Live Journey Application Status Change
Get notified every time a significant event occurs during a live Journey Application (see Journeys Events page for examples).
Sandbox Journey Application Status Change
Get notified every time a significant event occurs during a sandbox Journey Application (see Journeys Events page for examples).
Manually Review an Entity
Get notified every time an entity is manually reviewed.
Response
Manually Review an Entity
{
"data": {
"agent": {
"email": ":agent_email",
"external_id": ""
},
"notes": [
{
"note": "",
"created_at": 1702934949567,
"updated_at": 1702934949567,
"note_author_agent_email": ":agent_email"
}
],
"reason": "Other",
"outcome": "Approved",
"reasons": ["Other"],
"service": "Alloy",
"started": 1702934491622,
"reviewer": ":agent_email",
"completed": 1702934949564,
"timestamp": 1702934949564,
"group_token": null,
"entity_token": ":entity_token",
"review_token": ":review_token",
"child_entities": [],
"application_name": ":workflow_name",
"application_token": ":workflow_token",
"external_group_id": null,
"external_entity_id": ":external_entity_id"
},
"type": "create:reviews:is_entity",
"timestamp": 1703021350284,
"description": "Manually Review an Entity",
"request_token": ":request_token"
}Manually Review a Group
Get notified every time a group is manually reviewed.
Response
Manually Review a Group
{
"request_token": ":request_token",
"timestamp": 1702402702993,
"type": "create:reviews:is_group",
"description": "Manually Review a Group",
"data": {
"entity_token": ":group_entity_token",
"external_entity_id": ":external_entity_id",
"group_token": ":group_entity_token",
"external_group_id": ":external_entity_id",
"review_token": ":review_token",
"application_token": ":workflow_token",
"application_name": ":workflow_name",
"outcome": "Manual Review",
"reason": "Other",
"reasons": ["Other"],
"started": 1702402408256,
"timestamp": 1702402702903,
"completed": 1702402702903,
"reviewer": ":agent_email",
"agent": {
"email": ":agent_email",
"external_id": ":agent_external_id"
},
"notes": [],
"child_entities": [
{
"entity_token": ":group_entity_token",
"evaluation_tokens": [":evaluation_token"]
},
{
"entity_token": ":entity_token",
"evaluation_tokens": [":evaluation_token"]
},
{
"entity_token": ":entity_token",
"evaluation_tokens": [":evaluation_token"]
}
]
}
}Create an Evaluation Manually
Get notified every time an evaluation is manually created.
Response
Create an Evaluation Manually
{
"data": {
"agent_info": ":agent_email",
"status_code": 201,
"entity_token": null,
"evaluation_token": ":evaluation_token",
"application_token": ":workflow_token",
"evaluation_status": "complete"
},
"type": "create:evaluations:run_create",
"timestamp": 1653518019578,
"description": "Notify on Creating an Evaluation Manually",
"request_token": ":request_token"
}Rerun an Evaluation Manually
Get notified every time an evaluation is manually rerun.
Response
Rerun an Evaluation Manually
{
"data": {
"service": "Alloy",
"agent_info": ":agent_info",
"status_code": 201,
"entity_token": ":entity_token",
"evaluation_token": ":evaluation_token",
"application_token": ":workflow_token",
"evaluation_status": "complete"
},
"type": "create:evaluations:rerun_create",
"timestamp": 1696946967599,
"description": "Notify on Rerunning an Evaluation Manually",
"request_token": ":request_token"
}Asynchronously Updated Evaluation
This refers to flows using data vendors such as Middesk, Onfido, etc. Sometimes Middesk requires a human to do research on an entity before returning a result. This process takes longer than a typical evaluation which is returned in a matter of seconds. In this case, the workflow will wait for Middesk to return its result, and when it does, this webhook will be fired.
Response
Asynchronously Updated Evaluation
{
"data": {
"outcome": ":outcome",
"entity_token": ":entity_token",
"outcome_reasons": [],
"evaluation_token": ":evaluation_token",
"application_token": ":workflow_token",
"evaluation_status": "complete",
"external_group_id": ":external_group_id",
"external_entity_id": ":external_entity_id"
},
"type": "update:evaluations:async_update",
"timestamp": 1658773111287,
"description": "Notify on Asynchronously Updated Evaluation",
"request_token": ":request_token"
}Evaluation Created by Data Vendor Webhook
This refers to evaluations created for "Recurring" workflow scenarios, for example, when a ComplyAdvantage watchlist updates and finds a hit against a previously-run applicant.
Response
Evaluation Created by Data Vendor Webhook
{
"data": {
"outcome": ":outcome",
"entity_token": ":entity_token",
"outcome_reasons": [],
"evaluation_token": ":evaluation_token",
"application_token": ":workflow_token",
"evaluation_status": "complete",
"external_group_id": null,
"external_entity_id": ":external_entity_id"
},
"type": "create:evaluations:recurring_create",
"timestamp": 1651914337560,
"description": "Notify on Evaluation Created by Data Vendor Webhook",
"request_token": ":request_token"
}Create new notes for Entities, Evaluations, Reviews, and Documents
Get notified every time a new note is added to an entity, journey application ("Add Application Note"), evaluation ("Add Evaluation Note"), review, and document.
Response
Entity
{
"data": {
"note": "",
"created_at": 1658523983534,
"updated_at": 1658523983534,
"entity_token": ":entity_token",
"note_author_agent_email": ":agent_email"
},
"type": "create:notes",
"timestamp": 1658523986843,
"description": "create new Notes for Entities, Evaluations, Reviews, and Documents",
"request_token": ":request_token"
}Journey Application
{
"data": {
"note": "",
"created_at": 1658523983534,
"updated_at": 1658523983534,
"journey_application_token": ":journey_application_token",
"note_author_agent_email": ":agent_email"
},
"type": "create:notes",
"timestamp": 1658523986843,
"description": "create new Notes for Entities, Evaluations, Reviews, and Documents",
"request_token": ":request_token"
}Evaluation
{
"data": {
"note": "",
"created_at": 1658523983534,
"updated_at": 1658523983534,
"evaluation_token": ":evaluation_token",
"note_author_agent_email": ":agent_email"
},
"type": "create:notes",
"timestamp": 1658523986843,
"description": "create new Notes for Entities, Evaluations, Reviews, and Documents",
"request_token": ":request_token"
}Document
{
"data": {
"note": "",
"created_at": 1658523983534,
"updated_at": 1658523983534,
"document_token": ":document_token",
"note_author_agent_email": ":agent_email"
},
"type": "create:notes",
"timestamp": 1658523986843,
"description": "create new Notes for Entities, Evaluations, Reviews, and Documents",
"request_token": ":request_token"
}Batch evaluation is completed
Get notified when a batch evaluation is completed.
Response
Batch evaluation is completed
{
"data": {
"_links": {
"batch": {
"href": "/v1/batches/:batch_token"
}
},
"batch_token": ":batch_token",
"batch_status": "complete"
},
"type": "update:batches",
"timestamp": 1653653602622,
"description": "a batch evaluation run is completed",
"request_token": ":request_token"
}Attempted Transaction Status Update
This is triggered via case management. Get notified when the status of an ACH transaction changes after an agent does their manual review. See Case Management Events for examples.
Attempted Bank Account Status Update
This is triggered via case management. Get notified if an entity's account has been frozen or unfrozen due to suspicious activity. See Case Management Events for examples.
Case Creation
Get notified if a new case is created — either manually or automatically via evaluation. See Case Management Events for examples.
Case Status Update
This is triggered via case management. Get notified when a case's status is updated. See Case Management Events for examples.
Published Attribute Value Change
update:publishedattributesvaluesentities
Get notified if a published attribute is changed manually.
Response
JSON
{
"request_token": ":request_token" ,
"timestamp": 1724694191647,
"type": "update:publishedattributesvaluesentities",
"description": "Notify on published attribute value change",
"data": {
"published_attibute_token": ":published_attibute_token",
"agent": ":agent_email",
"value_changed_at": 1724694191540,
"entities_values": [
{
"entity_token": ":entity_token",
"value": "testing"
}
]
}
}Rule-Based Notification Triggered
Get notified when a Rule-Based Notification rule is triggered
Response
JSON
{
"request_token": ":request_token",
"timestamp": 1724694191647,
"type": "create:rulenotificationpolicies:rule_notification_policy_id",
"description": "Notify on Rule-Based Notification triggered",
"data": {
"rule_based_notification_token": ":rule_based_notification_token",
"application_token": ":workflow_token",
"journey_token": null,
"rule_name": "Rule Name",
"target_type": "tag",
"target_value": "Tag Name",
"count": 3,
"percent": null,
"percent_change": null,
"baseline_rate_over_time_window": null,
"operator": "gt",
"threshold": 2,
"threshold_percent": null,
"time_window": 15,
"policy_type": "count",
"minimum_total_resource_count": null
}
}🗒️ If the Rule-Based Notification is configured with a Workflow,
journey_tokenwill benull. If it is configured with a Journey,application_tokenwill benull
🗒️ The following fields will depend on the value of
policy_type:
- If
policy_typeis "count":percent,percent_change,baseline_rate_over_time_window,threshold_percent, andminimum_total_resource_countwill all benull.- If
policy_typeis "percent":count,percent_change,threshold, andbaseline_rate_over_time_windowwill all benull.- If
policy_typeis "percent_change":count,percent,threshold, andminimum_total_resource_countwill all benull.
Additional details of what to expect from certain payload fields:
target_type- Target object type. One of "outcome", "response_status", or "tag"target_value- Name of the target objectcount- The current integer count between 0 and 2147483647 of thetarget_valueover the currenttime_windowthat triggered the Rule-Based Notification (ex: "Count of Evaluations with Tag XYZ")percent- The current percentage between 0.00 and 100.00 of the count of target types to the count of total Evaluations or Journey Applications over the currenttime_windowthat triggered the Rule-Based Notification (ex: "Percent of Applications with Outcome ABC")percent_change- The percent change between -100.00 and 99999999.00 of the current count of the target value over thetime_windowto the average count of thetarget_valuepertime_windowover the 90 days prior to the earlier of current day ortime_windowbaseline_rate_over_time_window- Calculated baseline decimal(12, 4) rate of the average count oftarget_valuepertime_windowover the 90 days prior to the earlier of current day ortime_windowoperator- Comparison operator. One of "eq", "gt", "gte", "lt", "lte"threshold- The threshold integer value used in the comparison for "count" policy types.threshold_percent- The threshold decimal(10,2) percentage value used in the comparison for rules withpolicy_type"percent" and "percent_change".time_window- The time window in integer minutes at discrete intervals used to calculate the current counts, percents, and baseline trends for comparison of whether the rule triggers. Expected values: 15, 30, 60, 120, 180, 240, 300, 360, 720, 1440, 2880, 4320, 5760, 7200, 8640, 10080, dependent onpolicy_type.policy_type- Type of policy. One of "count", "percent", "percent_change"minimum_total_resource_count- Minimum integer count of resources that must be present before triggering. For rules withpolicy_type"percent" only.
Updated 7 days ago