> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lendflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Workflows Webhooks

## Custom Workflow Webhooks

Users can leverage different webhooks that will send notice when an application reaches a specific stage of their workflow or if a specific action was taken.

To configure webhook notifications, open the **Builders** tab in the left-side menu, select **Workflow**, then open the desired template.

<Frame>
  <img src="https://mintcdn.com/lendflow-ph/D03fMJzyuz4WrdkF/images/1232ec8-image-20230714-201548.png?fit=max&auto=format&n=D03fMJzyuz4WrdkF&q=85&s=87059d141725a5e26b81d4516349d068" alt="" width="1093" height="999" data-path="images/1232ec8-image-20230714-201548.png" />
</Frame>

Within the workflow template, click on the blue settings cog on the right.

<Frame>
  <img src="https://mintcdn.com/lendflow-ph/D03fMJzyuz4WrdkF/images/b8f18c3-Screen_Shot_2023-07-14_at_1.18.06_PM.png?fit=max&auto=format&n=D03fMJzyuz4WrdkF&q=85&s=fe44b56493e66f428fd31e87c2b8dc17" alt="" width="1234" height="170" data-path="images/b8f18c3-Screen_Shot_2023-07-14_at_1.18.06_PM.png" />
</Frame>

Click on the Webhooks tab. To turn on a webhook notification, check the box next to the desired webhook and enter a url in the ‘link’ box. Optionally, to add another url ‘link’ for the same webhook (i.e. to get notified in multiple url locations), click the ‘+' icon and enter the url. Hit the ‘Save Template’ button to apply the changes.

<Frame>
  <img src="https://mintcdn.com/lendflow-ph/D03fMJzyuz4WrdkF/images/8f59520-Screen_Shot_2023-07-14_at_1.18.33_PM.png?fit=max&auto=format&n=D03fMJzyuz4WrdkF&q=85&s=7215de95d6068e42282550155b5fb721" alt="" width="994" height="780" data-path="images/8f59520-Screen_Shot_2023-07-14_at_1.18.33_PM.png" />
</Frame>

Webhook categories below match the groups shown in the workflow builder. Each webhook includes when it fires and an example payload.

## Activity Hub

These webhooks notify when Activity Hub calls, SMS, email, tasks, or related events occur on a deal.

### Call Created

This webhook fires when a call is created for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHCALLCREATED00000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.call_created",
  "object": "adhoc",
  "data": {
    "object": {
      "business": {
        "name": "Acme LLC"
      },
      "call": {
        "assignee": "Jane Analyst",
        "contact_name": "John Owner",
        "call_disposition": "connected",
        "reached_status": "completed",
        "is_outgoing": true,
        "provider": "twilio",
        "business_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "from_number": "+15551234567",
        "to_number": "+15559876543",
        "duration": 185
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Call Updated

This webhook fires when a call is updated for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHCALLUPDATED00000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.call_updated",
  "object": "activity_hub.call",
  "data": {
    "object": {
      "assignee": "Jane Analyst",
      "contact_name": "John Owner",
      "call_disposition": "voicemail",
      "reached_status": "completed",
      "is_outgoing": true,
      "provider": "twilio",
      "business_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "from_number": "+15551234567",
      "to_number": "+15559876543",
      "duration": 42
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Incoming Call

This webhook fires when an incoming call has been logged.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHCALLRECEIVED000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.call_received",
  "object": "activity_hub.incoming_call",
  "data": {
    "object": {
      "assignee": null,
      "contact_name": "John Owner",
      "call_disposition": null,
      "reached_status": "ringing",
      "is_outgoing": false,
      "provider": "twilio",
      "business_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "from_number": "+15559876543",
      "to_number": "+15551234567",
      "duration": null
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Incoming Call Missed

This webhook fires when an incoming call has been missed.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHCALLMISSED00000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.call_missed",
  "object": "activity_hub.incoming_call",
  "data": {
    "object": {
      "assignee": null,
      "contact_name": "John Owner",
      "call_disposition": "missed",
      "reached_status": "no_answer",
      "is_outgoing": false,
      "provider": "twilio",
      "business_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "from_number": "+15559876543",
      "to_number": "+15551234567",
      "duration": 0
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### SMS Received

This webhook fires when an SMS is received for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHSMSRECEIVED0000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.sms_received",
  "object": "activity_hub.sms",
  "data": {
    "object": {
      "sms_log_id": 1001,
      "sms_conversation_id": 55,
      "sms_sender_phone_number": "+15559876543"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Email Received

This webhook fires when an email is received for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHEMAILRECEIVED00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.email_received",
  "object": "activity_hub.email",
  "data": {
    "object": {
      "communication_email_id": 2002,
      "communication_email_thread_id": 88,
      "communication_email_sender_email_address": "owner@acme.com"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Email Activity Update

This webhook fires when an email is marked as sent, opened, delivered, bounced, complained, or unsubscribed.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHEMAILACTIVITY00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.email_activity_update",
  "object": "adhoc",
  "data": {
    "object": {
      "communication_email_id": 2002,
      "from_email": "rep@lendflow.com",
      "sender_id": "9ae320a7-fef1-43e6-ad5f-7b161ce1c595",
      "event_type": "opened",
      "event_time": "2024-07-09T15:27:40+00:00",
      "mail_log_id": 3003
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Task Created

This webhook fires when a task is created for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHTASKCREATED0000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.task_created",
  "object": "activity_hub.task",
  "data": {
    "object": {
      "description": "Follow up with borrower on bank statements",
      "due_date": "2024-07-12T17:00:00.000000Z",
      "assignee": "Jane Analyst",
      "priority": "high",
      "status": "open",
      "created_by": "Sam Manager"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Task Updated

This webhook fires when a task is updated for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHTASKUPDATED0000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.task_updated",
  "object": "activity_hub.task",
  "data": {
    "object": {
      "description": "Follow up with borrower on bank statements",
      "due_date": "2024-07-12T17:00:00.000000Z",
      "assignee": "Jane Analyst",
      "priority": "medium",
      "status": "completed",
      "created_by": "Sam Manager"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Task Due

This webhook fires when a task is due for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHTASKDUE00000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.task_due",
  "object": "activity_hub.task_due",
  "data": {
    "object": {
      "description": "Follow up with borrower on bank statements",
      "due_date": "2024-07-12T17:00:00.000000Z",
      "assignee": "Jane Analyst",
      "priority": "high",
      "status": "open",
      "created_by": "Sam Manager",
      "due_in": "0"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Task Comment Added

This webhook fires when a comment is added to a deal task.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHTASKCOMMENT0000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.task_comment_added",
  "object": "activity_hub.task_comment_added",
  "data": {
    "object": {
      "task_id": 401,
      "comment": "Left a voicemail; will retry tomorrow.",
      "user": "jane.analyst@lendflow.com"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Call Recording Available

This webhook fires when a call recording is available for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHCALLRECORDING00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.call_recording_available",
  "object": "activity_hub.call_recording_available",
  "data": {
    "object": {
      "assignee": "Jane Analyst",
      "recording_file": {
        "url": "https://api.lendflow.com/api/files/f1a2b3c4-d5e6-7890-abcd-ef1234567890",
        "id": "f1a2b3c4-d5e6-7890-abcd-ef1234567890",
        "size": 204800,
        "name": "call-recording.mp3",
        "mime_type": "audio/mpeg"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### SMS Status Changed

This webhook fires when the status of an SMS changes.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHSMSSTATUSCHG000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.sms_status_changed",
  "object": "adhoc",
  "data": {
    "object": {
      "status": "delivered",
      "sms_log_id": 1001,
      "sms_conversation_id": 55,
      "sms_sender_phone_number": "+15551234567"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Phone DNC Requested

This webhook fires when a phone number DNC (Do Not Call) request is made.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHPHONEDNC0000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.phone_dnc_requested",
  "object": "activity_hub.blocked_number",
  "data": {
    "object": {
      "phone_number": "+15559876543",
      "status": "blocked",
      "block_sms": true
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### SMS Link Clicked

This webhook fires when a recipient clicks a link in an outbound SMS.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHSMSLINKCLICK000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.sms_link_clicked",
  "object": "activity_hub.link_click",
  "data": {
    "object": {
      "message_id": 1001,
      "contact_id": 77,
      "clicked_url": "https://borrower.lendflow.com/offers/shared",
      "timestamp": "2024-07-09T15:30:00+00:00"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Email Link Clicked

This webhook fires when a recipient clicks a link in an outbound email.

```json JSON theme={"system"}
{
  "id": "webhook_01JAHEMAILLINKCLICK0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "activity_hub.email_link_clicked",
  "object": "activity_hub.link_click",
  "data": {
    "object": {
      "message_id": 3003,
      "contact_id": 77,
      "clicked_url": "https://borrower.lendflow.com/offers/shared",
      "timestamp": "2024-07-09T15:35:00+00:00"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Application Progress

These webhooks fire for application submissions, status changes, and stage transitions.

Stage transition webhooks (`Application` through `Funded`) fire when an application moves into that stage. The payload includes `from`, `to`, `is_rollback`, and `via_automation`.

### Application Started

This webhook fires when a new application is submitted, under one of the following circumstances:

* The applicant completes the first screen of the widget (excluding pre-qualification screens), OR
* An application is created via the API, OR
* An application is duplicated

```json JSON theme={"system"}
{
  "id": "webhook_01H50F7DR2GM61028X0ZCYQPNQ",
  "created_at": "1689011861250",
  "attempts": 1,
  "event": "application.started",
  "object": "empty.object",
  "data": {
    "object": {},
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Application Fully Submitted

This webhook fires when an application is fully submitted, under one of the following circumstances

* An application is submitted completely via the widget, OR
* An existing application receives the applicants DocuSign signature and a bank connection is made
* A deal is created in a users Internal Funding Workflow via the users client network submitting a placement via Lendflow

```json JSON theme={"system"}
{
  "id": "webhook_01H50QJBRVTYRE91V53YZGCME6",
  "created_at": "1689020608283",
  "attempts": 1,
  "event": "application.fully_submitted",
  "object": "empty.object",
  "data": {
    "object": {},
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}",
      "origin_client": {
        "id": "9ae320a7-fef1-43e6-ad5f-7b161ce1c595",
        "name": "Lendflow1"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Completed

This webhook fires when an application is signed by all owners and has at least one bank statement uploaded.

```json JSON theme={"system"}
{
  "id": "webhook_01H50QS9KDCPRMJ18VN7K64F9M",
  "created_at": "1689020835437",
  "attempts": 1,
  "event": "application.completed",
  "object": "empty.object",
  "data": {
    "object": {},
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Application Has Consent And Three Bank Statements

This webhook fires when an application is signed by one owner and has at least 3 bank statements uploaded.

```json JSON theme={"system"}
{
  "id": "webhook_01JAPCONSENT3BS00000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application.has_consent_and_three_bank_statements",
  "object": "empty.object",
  "data": {
    "object": {},
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Has Consent And Plaid Connection

This webhook fires when the application has signed consent and a plaid connection has successfully been made.

```json JSON theme={"system"}
{
  "id": "webhook_01JAPCONSENTPLAID000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application.consent_and_plaid_data_ready",
  "object": "application.consent_and_plaid_data",
  "data": {
    "object": {
      "user_id": 12345,
      "plaid_item_id": "item-123",
      "plaid_account_ids": [
        "account-1",
        "account-2"
      ]
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead

This webhook fires when an application has its status marked as 'Dead'.

```json JSON theme={"system"}
{
  "id": "webhook_01H50R0528TS29WE03FTQRFJS6",
  "created_at": "1689021060168",
  "attempts": 1,
  "event": "application.dead",
  "object": "application.death",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Restored

This webhook fires when an application is restored.

```json JSON theme={"system"}
{
  "id": "webhook_01JAPRESTORED0000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application.restored",
  "object": "empty.object",
  "data": {
    "object": {},
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application API Data Updated

This webhook fires whenever application data is created or updated via the API, regardless of which data object changed. The payload lists the updated blocks.

```json JSON theme={"system"}
{
  "id": "webhook_01JAPAPIDATAUPDATED0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application.api_data_updated",
  "object": "application.data_update",
  "data": {
    "object": {
      "updated_blocks": [
        "business",
        "personal"
      ]
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Workflow Status Updated

This webhook fires when the status or sub-status of an application has been updated or set

```json JSON theme={"system"}
{
  "id": "webhook_01HZN0NBTA4HK1PVEYB08TSRH4",
  "created_at": "1717618519882",
  "attempts": 1,
  "event": "application.workflow_status_updated",
  "object": "application.workflow_status",
  "data": {
    "object": {
      "is_live_status": false,
      "status": "Business/ Merchant Past",
      "sub_status": "Submitted by another ISO"
    },
    "application": {
      "id": "7c9a5076-e821-42bb-b8eb-e4708bc2e7d2",
      "flow": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/7c9a5076-e821-42bb-b8eb-e4708bc2e7d2",
      "workflow_template_id": "6dd79400-4680-11ed-a527-0242ac120003"
    }
  }
}
```

### Partner Workflow Status Updated

This webhook fires when the destination deal (deal created as a result of a placement) has a workflow status set or changed

```json JSON theme={"system"}
{
  "id": "webhook_01J01VKF3HNSRBMEFM1NMRKMN5",
  "created_at": "1718049422449",
  "attempts": 1,
  "event": "application.partner_workflow_status_updated",
  "object": "application.partner_workflow_status",
  "data": {
    "object": {
      "placement_id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "partner_name": "Funder Name",
      "partner_workflow_status": "Funder Name Status",
      "partner_workflow_sub_status": "Funder Name Sub-Status",
      "partner_workflow_status_updated_at": "2024-08-09 16:11:50"
    },
    "application": {
      "id": "2f922bda-3fd4-44fb-97e6-06494be66c89",
      "flow": {
        "id": "11cd487f-8e19-4bed-95aa-ef29d3009de5",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application

This webhook fires when an application has moved into a new stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JSTAGEAPPLICATIO00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "stage_transition.application",
  "object": "stage.transition",
  "data": {
    "object": {
      "from": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "to": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "is_rollback": false,
      "via_automation": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Underwriting

This webhook fires when an application has moved into a new stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JSTAGEUNDERWRITI00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "stage_transition.underwriting",
  "object": "stage.transition",
  "data": {
    "object": {
      "from": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "to": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "is_rollback": false,
      "via_automation": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Score Cards

This webhook fires when an application has moved into a new stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JSTAGESCORECARDS00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "stage_transition.scorecards",
  "object": "stage.transition",
  "data": {
    "object": {
      "from": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "to": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Scorecards",
          "category": "Scorecards"
        }
      },
      "is_rollback": false,
      "via_automation": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Scorecards",
          "category": "Scorecards"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement

This webhook fires when an application has moved into the Placement stage.

```json JSON theme={"system"}
{
  "id": "webhook_01H50R1B7FWA6QXH1S6SVRFVYT",
  "created_at": "1689021099247",
  "attempts": 1,
  "event": "stage_transition.placement",
  "object": "stage.transition",
  "data": {
    "object": {
      "from": {
        "id": "{previousFlowID}",
        "stage": {
          "id": "{previousStageID}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "to": {
        "id": "{currentFlowID}",
        "stage": {
          "id": "{currentStageID}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "is_rollback": false,
      "via_automation": false
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Offer

This webhook fires when an application has moved into a new stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JSTAGEOFFER00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "stage_transition.offer",
  "object": "stage.transition",
  "data": {
    "object": {
      "from": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "to": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Offer",
          "category": "Offer"
        }
      },
      "is_rollback": false,
      "via_automation": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Offer",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Closing

This webhook fires when an application has moved into a new stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JSTAGECLOSING00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "stage_transition.closing",
  "object": "stage.transition",
  "data": {
    "object": {
      "from": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "to": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "is_rollback": false,
      "via_automation": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Funded

This webhook fires when an application has moved into a new stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JSTAGEFUNDED00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "stage_transition.funded",
  "object": "stage.transition",
  "data": {
    "object": {
      "from": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "to": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "is_rollback": false,
      "via_automation": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Dead Applications

These webhooks fire when an application has remained in a dead status for a given number of days.

### Application Dead 15 Days

This webhook fires when an application has been dead for 15 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD01500000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_15_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 15
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 30 Days

This webhook fires when an application has been dead for 30 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD03000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_30_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 30
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 60 Days

This webhook fires when an application has been dead for 60 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD06000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_60_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 60
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 90 Days

This webhook fires when an application has been dead for 90 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD09000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_90_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 90
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 120 Days

This webhook fires when an application has been dead for 120 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD12000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_120_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 120
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 150 Days

This webhook fires when an application has been dead for 150 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD15000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_150_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 150
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 180 Days

This webhook fires when an application has been dead for 180 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD18000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_180_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 180
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 210 Days

This webhook fires when an application has been dead for 210 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD21000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_210_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 210
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 240 Days

This webhook fires when an application has been dead for 240 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD24000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_240_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 240
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 270 Days

This webhook fires when an application has been dead for 270 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD27000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_270_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 270
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 300 Days

This webhook fires when an application has been dead for 300 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD30000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_300_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 300
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 330 Days

This webhook fires when an application has been dead for 330 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD33000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_330_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 330
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Dead 360 Days

This webhook fires when an application has been dead for 360 days.

```json JSON theme={"system"}
{
  "id": "webhook_01JDEAD36000000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_death.dead_360_days",
  "object": "application.dead_duration",
  "data": {
    "object": {
      "reason": "Fraud",
      "sub_reason": "Fraud Concern",
      "application_started_at": "2024-01-01T12:00:00+00:00",
      "days_dead": 360
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Application Notes

These webhooks fire when a deal note is added to an application.

### New Application Note Created

This webhook fires when a deal note is added to a deal in an application

```json JSON theme={"system"}
{
  "id": "webhook_01HQ4EBW8BE4FPVJJVTNJP16XR",
  "created_at": "1708472529163",
  "attempts": 1,
  "event": "application_note.created",
  "object": "application.note",
  "data": {
    "object": {
      "id": 123,
      "visibility_scope": 2
    },
    "application": {
      "id": "05d550bd-8888-4b4d-444d-d77777d7d777",
      "flow": {
        "id": "4b73c837-50e3-4444-921f-7846bd0ef913",
        "stage": {
          "id": "afe3adb0-1f1f-4f27-f574-4489ff31bf21",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/05d550bd-8888-4b4d-444d-d77777d7d777",
      "workflow_template_id": "97a3b38c-6529-4d36-ad87-25d198ff413f"
    }
  }
}
```

## Business Notes

These webhooks fire when a business note is added to a deal.

### New Business Note Created

This webhook fires when there is a new business note added to a deal

```json JSON theme={"system"}
{
  "id": "webhook_01HZT7GDJ6CMGM6ZSMJZRXN29E",
  "created_at": "1717793470022",
  "attempts": 1,
  "event": "business_note.created",
  "object": "business.note",
  "data": {
    "object": {
      "id": 500,
      "visibility_scope": 1
    },
    "application": {
      "id": "7c9a5076-e821-42bb-b8eb-e4708bc2e7d2",
      "flow": {
        "id": "1dc5a6a9-88dd-4810-aadd-30ce6694934a",
        "stage": {
          "id": "40645345-f28b-4008-b6d3-3856f861fd39",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/7c9a5076-e821-42bb-b8eb-e4708bc2e7d2",
      "workflow_template_id": "6dd79400-4680-11ed-a527-0242ac120003"
    }
  }
}
```

## Data Orchestration

These webhooks fire when a data orchestration template runs and the master status or outcome changes.

### Complete Pass

This webhook fires when a data orchestration template runs and the `master status` is marked as `complete-pass`, and the `outcome` is marked as `pass`.

```json JSON theme={"system"}
{
  "id": "webhook_01H50WAYHSE5TSW84PTC7A8EST",
  "created_at": "1689025608249",
  "attempts": 1,
  "event": "data_orchestration.complete_pass",
  "object": "data_orchestration",
  "data": {
    "object": {
      "status": "finished",
      "master_status": "complete-pass",
      "outcome": "pass",
      "started_at": "2023-07-10T21:46:46.000000Z",
      "finished_at": "2023-07-10T21:46:46.000000Z",
      "error": null
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Complete Fail

This webhook fires when a data orchestration template runs and the `master status` is marked as `Complete-Fail`, and the `outcome` is marked as `fail`.

```json JSON theme={"system"}
{
  "id": "webhook_01H50WKMMASRY6G6EBFR62F8NF",
  "created_at": "1689025893002",
  "attempts": 1,
  "event": "data_orchestration.complete_fail",
  "object": "data_orchestration",
  "data": {
    "object": {
      "status": "finished",
      "master_status": "complete-fail",
      "outcome": "fail",
      "started_at": "2023-07-10T21:51:31.000000Z",
      "finished_at": "2023-07-10T21:51:31.000000Z",
      "error": null
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Manual Review

This webhook fires when a data orchestration template runs and the `outcome` is marked as `manual review`.

```json JSON theme={"system"}
{
  "id": "webhook_01H50X811M9FGZJJFH80R8390G",
  "created_at": "1689026561076",
  "attempts": 1,
  "event": "data_orchestration.manual_review",
  "object": "data_orchestration",
  "data": {
    "object": {
      "status": "finished",
      "master_status": "review",
      "outcome": "manual review",
      "started_at": "2023-07-10T22:02:39.000000Z",
      "finished_at": "2023-07-10T22:02:39.000000Z",
      "error": null
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Missing Data

This webhook fires when a data orchestration template runs and the `status` is marked as `missing data`.

```json JSON theme={"system"}
{
  "id": "webhook_01H5029Y6X9X2XVPN5F53WY1ST",
  "created_at": "1688998312157",
  "attempts": 1,
  "event": "data_orchestration.missing_data",
  "object": "data_orchestration",
  "data": {
    "object": {
      "status": "missing-data",
      "master_status": "error",
      "outcome": "undetermined",
      "started_at": "2023-07-10T14:11:46.000000Z",
      "finished_at": "2023-07-10T14:11:51.000000Z",
      "error": "Prerequisite data for experian_bankruptcies is missing."
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Error

This webhook fires when a data orchestration template runs and the `status` is marked as `error`.

```json JSON theme={"system"}
{
  "id": "webhook_01H50WCR5BPVES4C5RDQYJ0MHC",
  "created_at": "1689025667243",
  "attempts": 1,
  "event": "data_orchestration.error",
  "object": "data_orchestration",
  "data": {
    "object": {
      "status": "error",
      "master_status": "error",
      "outcome": "undetermined",
      "started_at": "2023-07-10T21:47:46.000000Z",
      "finished_at": "2023-07-10T21:47:47.000000Z",
      "error": "Prerequisite data for 'Plaid Bank Data' cannot be obtained."
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Undetermined

This webhook fires when a data orchestration template runs and the status is marked as undetermined.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOUNDETERMINED000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "data_orchestration.undetermined",
  "object": "data_orchestration",
  "data": {
    "object": {
      "log_id": 9001,
      "status": "finished",
      "master_status": "undetermined",
      "outcome": "undetermined",
      "started_at": "2024-07-09T21:46:46.000000Z",
      "finished_at": "2024-07-09T21:46:50.000000Z",
      "error": null
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Data Orchestration Step Completed

This webhook fires when a data orchestration step completes (configured on the data orchestration template).

```json JSON theme={"system"}
{
  "id": "webhook_01JDOSTEPCOMPLETED0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "data_orchestration.step_completed",
  "object": "data_orchestration.step",
  "data": {
    "object": {
      "step_id": "step_experian_business",
      "outcome": "pass",
      "data_orchestration_log_id": 9001,
      "log_entry": {
        "step": "experian_business",
        "status": "finished",
        "outcome": "pass"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Data Orchestration Outcome Reached

This webhook fires when a data orchestration outcome is reached for a step (configured on the data orchestration template).

```json JSON theme={"system"}
{
  "id": "webhook_01JDOOUTCOMEREACHED000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "data_orchestration.outcome_reached",
  "object": "data_orchestration.outcome",
  "data": {
    "object": {
      "step_id": "step_experian_business",
      "outcome": "pass",
      "data_orchestration_log_id": 9001,
      "log_entry": {
        "step": "experian_business",
        "status": "finished",
        "outcome": "pass"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Discovery Call

These webhooks fire when discovery call activity is completed on a deal.

### Discovery Call Completed

This webhook fires when a discovery call is marked as complete on a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JAPDISCOVERYCALL00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "discovery_call.completed",
  "object": "discovery_call",
  "data": {
    "object": {
      "application_id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "completed_at": "2024-07-09T14:13:01.281000Z",
      "completed_by": {
        "id": 42,
        "name": "Jane Smith",
        "email": "jane.smith@example.com"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Documents

These webhooks fire when documents are uploaded or stips are requested on an application.

### Bank Statement Uploaded

This webhook fires when a bank statement was succesfully uploaded to an application

```json JSON theme={"system"}
{
  "id": "webhook_01H50QRM318Z5FBXYYZ7QXWBFP",
  "created_at": "1689020813409",
  "attempts": 1,
  "event": "upload.bank_statement",
  "object": "file",
  "data": {
    "object": {
      "id": {fileId},
      "name": "file_name.pdf",
      "type": "Manually Uploaded Bank Statements"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }  
  }
}
```

### Any Document Uploaded

This webhook fires when **any** new document has been uploaded to an application, regardless of the document type.

```json JSON theme={"system"}
{
  "id": "webhook_01H50QSG0GK87G4M95NBHWMBH2",
  "created_at": "1689020842000",
  "attempts": 1,
  "event": "upload",
  "object": "file",
  "data": {
    "object": {
      "id": {fileId},
      "name": "file_name.pdf",
      "type": "Signed"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Stips Uploaded

This webhook fires when a new application stip or offer stip has been uploaded to an application.

```json JSON theme={"system"}
{
  "id": "webhook_01H50TBXTVDZVMRR7NRXD35G93",
  "created_at": "1689023543131",
  "attempts": 2,
  "event": "upload.stip",
  "object": "file",
  "data": {
    "object": {
      "id": {fileId},
      "name": "file_name.pdf",
      "type": "Offer stip"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Stip Uploaded on an Accepted Offer

This webhook fires when a document is uploaded for an accepted offer stip.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOCACCEPTEDSTIP0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "upload.accepted_offer_stip",
  "object": "offer",
  "data": {
    "object": {
      "id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "status": "accepted",
      "status_date": "2024-07-09 15:27:40",
      "status_updated_via_borrower_platform": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Accepted Offer Has All Required Stips

This webhook fires when all documents for an accepted offer stip have been uploaded.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOCALLSTIPS00000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "upload.accepted_offer_all_stips",
  "object": "offer",
  "data": {
    "object": {
      "id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "status": "accepted",
      "status_date": "2024-07-09 15:27:40",
      "status_updated_via_borrower_platform": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Stip Requested

This webhook fires when a new application stip is requested.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOCAPPSTIPREQ000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application.stip_requested",
  "object": "application.stip",
  "data": {
    "object": {
      "id": "stip-uuid-or-id-001",
      "description": "Please upload a voided check"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Offer Stip Requested

This webhook fires when an offer stip is requested.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOCOFFERSTIPREQ0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "offer.stip_requested",
  "object": "offer.stip",
  "data": {
    "object": {
      "id": "os-11111111-2222-3333-4444-555555555555",
      "offer_id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "stip_name": "Voided Check",
      "description": "Upload a voided check for the funding account"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Offer",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Widget File Uploaded

This webhook fires when a document is uploaded via Widget.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOCWIDGET_FILE000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "upload.widget_file",
  "object": "file",
  "data": {
    "object": {
      "id": "f1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "name": "document.pdf",
      "type": "Manually Uploaded Bank Statements"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### API File Uploaded

This webhook fires when a document is uploaded via API.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOCAPI_FILE000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "upload.api_file",
  "object": "file",
  "data": {
    "object": {
      "id": "f1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "name": "document.pdf",
      "type": "Other"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

These webhooks will notify users when a Third-Party Connection action was performed

### Borrower Platform File Uploaded

This webhook fires when a document is uploaded via Borrower Platform.

```json JSON theme={"system"}
{
  "id": "webhook_01JDOCBORROWER_PLATF000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "upload.borrower_platform_file",
  "object": "file",
  "data": {
    "object": {
      "id": "f1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "name": "document.pdf",
      "type": "Signed"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Funding Transaction History

These webhooks fire when funding transaction history is updated on a deal.

### Funding Transaction History Updated

This webhook fires when a funding transaction is created or updated on a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JFTHUPDATED0000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "funding_transaction_history.updated",
  "object": "funding_transaction",
  "data": {
    "object": {
      "id": "ft-11111111-2222-3333-4444-555555555555",
      "offer_id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "application_id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "action": "created",
      "transaction_amount": 25000.0,
      "transaction_date": "2024-07-09",
      "transaction_type": "funding",
      "draw_commission": 500.0,
      "chrono_index": 1,
      "netsuite_code": "NS-100"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Offer Progress

These webhooks fire when an offer is created, updated, shared, or changes status.

### New Offer Created

This webhook fires when a new offer has been created for an application.

```json JSON theme={"system"}
{
  "id": "webhook_01H50SH9SMAJJQ69CXW5RAK1TG",
  "created_at": "1689022670644",
  "attempts": 1,
  "event": "offer.created",
  "object": "offer",
  "data": {
    "object": {
      "id": "{offerID}",
      "status": null
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Offer Updated

This webhook fires when a funder has made an update to any of the details of their offer, this webhook does not take into account changes to the Offer Status

```json JSON theme={"system"}
{
  "id": "webhook_01J2C20W714XQJBR982VK081XZ",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "offer.updated",
  "object": "offer",
  "data": {
    "object": {
      "id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "status": "accepted",
      "status_date": "2024-07-09 15:27:40",
      "status_updated_via_borrower_platform": false
    },
    "application": {
      "id": "e2848a3e-c77c-40db-81b9-b554a6d58bf9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Scorecards",
          "category": "Scorecards"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Offer Confirmed

This webhook fires when final closing details are recorded for an offer through [Confirm Offer](/api-reference/offers/confirm-offer).

```json JSON theme={"system"}
{
  "id": "webhook_01J2C20W714XQJBR982VKDTR17",
  "created_at": "1720539181241",
  "attempts": 1,
  "event": "offer.confirmed",
  "object": "offer",
  "data": {
    "object": {
      "id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "status": "accepted",
      "status_date": "2024-07-09 15:34:19",
      "status_updated_via_borrower_platform": false
    },
    "application": {
      "id": "e2848a3e-c77c-40db-81b9-b554a6d58bf9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Offers",
          "category": "Offers"
        }
      },
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Offer Sent

This webhook fires when an offer's status changes to **Sent** in the Lendflow Dashboard or through [Update Multiple Offer Statuses](/api-reference/offers/update-multiple-offer-statuses).

```json JSON theme={"system"}
{
  "id": "webhook_01H50ST8PCGME9T9XBNWY23PN3",
  "created_at": "1689022964429",
  "attempts": 1,
  "event": "offer.sent",
  "object": "offer",
  "data": {
    "object": {
      "id": "{offerID}",
      "status": "sent"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }  
  }
}
```

### Offer Accepted

This webhook fires when an offer's status changes to **Accepted** in the Lendflow Dashboard, the Borrower Platform, or through [Update Multiple Offer Statuses](/api-reference/offers/update-multiple-offer-statuses). A `status_updated_via_borrower_platform` value of `true` means the Borrower Platform accepted the offer; `false` means another channel made the update.

```json JSON theme={"system"}
{
  "id": "webhook_01H50SV04YGGMW7400SNQS9CQ8",
  "created_at": "1689022988446",
  "attempts": 1,
  "event": "offer.accepted",
  "object": "offer",
  "data": {
    "object": {
      "id": "{offerID}",
      "status": "accepted",
      "status_date":"2024-02-08 15:51:54",
      "status_updated_via_borrower_platform":false
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Offer Shared with Borrower

This webhook fires when an offer has been shared with an applicant via the Borrower Portal.

```json JSON theme={"system"}
{
  "id": "webhook_01HW36ZDXQ6TK8A3B5E8R330VT",
  "created_at": "1713799935927",
  "attempts": 1,
  "event": "offer.shared",
  "object": "offer",
  "data": {
    "object": {
      "id": "95e61015-5206-4ce3-b2ee-00a8f3485d70",
      "status": null,
      "status_date": null,
      "status_updated_via_borrower_platform": false
    },
    "application": {
      "id": "13888ad1-3447-4ce2-b1bb-67b2a60ae117",
      "flow": {
        "id": "de2ff9a4-fddd-4fc7-8b3a-822ff44469a0",
        "stage": {
          "id": "c6003dad-838f-44e1-8c55-585b36e05555",
          "name": "Offer",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [
        "tracking_token"
      ],
      "url": "https://api.lendflow.com/api/applications/13888ad1-3447-4ce2-b1bb-67b2a60ae117",
      "workflow_template_id": "cc120170-8626-4563-8f63-b22bf2128416"
    }
  }
}
```

### Offer Retracted

This webhook fires when an offer's status changes to **Retracted** in the Lendflow Dashboard or through [Update Multiple Offer Statuses](/api-reference/offers/update-multiple-offer-statuses).

```json JSON theme={"system"}
{
  "id": "webhook_01H50SWBMTWKEFDYEWD3QZ4FHM",
  "created_at": "1689023032986",
  "attempts": 1,
  "event": "offer.retracted",
  "object": "offer",
  "data": {
    "object": {
      "id": "{offerID}",
      "status": "retracted"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }  
  }
}
```

### Offer Retracted in Closing

This webhook fires when a new offer has been marked as retracted in the Closing stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JOFFRETRACTCLOSE0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "offer.retracted_in_closing",
  "object": "offer",
  "data": {
    "object": {
      "id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "status": "retracted",
      "status_date": "2024-07-09 15:27:40",
      "status_updated_via_borrower_platform": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Offer Declined

This webhook fires when an offer's status changes to **Declined** in the Lendflow Dashboard or through [Update Multiple Offer Statuses](/api-reference/offers/update-multiple-offer-statuses).

```json JSON theme={"system"}
{
  "id": "webhook_01H50SVMK0JHQF3A3XDP3Z2BGM",
  "created_at": "1689023009376",
  "attempts": 1,
  "event": "offer.declined",
  "object": "offer",
  "data": {
    "object": {
      "id": "{offerID}",
      "status": "declined"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }  
  }
}
```

### Offer Declined In Closing

This webhook fires when a new offer has been marked as declined in the Closing stage.

```json JSON theme={"system"}
{
  "id": "webhook_01JOFFDECLINECLOSE0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "offer.declined_in_closing",
  "object": "offer",
  "data": {
    "object": {
      "id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "status": "declined",
      "status_date": "2024-07-09 15:27:40",
      "status_updated_via_borrower_platform": false
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Competing Offers

This webhook fires when an application has received an offer from another funder. It will help funders identify if they should send out adverse action notifications to applicants. The webhook will fire with `"has_competition": true` when another funder creates an offer. Note that if an offer is created and then is retracted, a second webhook will fire with `"has_competition": false`

```json JSON theme={"system"}
{
  "id": "webhook_01H7DPJBDZVSDY3TWMDYYA43C2",
  "created_at": "1691603250623",
  "attempts": 1,
  "event": "offer.competition",
  "object": "adhoc",
  "data": {
    "object": {
      "has_competition": true
    },
    "application": {
      "id": "01f4f634-1726-4168-b5c2-fa8e16e481a0",
      "flow": {
        "id": "9211e46d-e3b4-4ea6-922d-35d3dfa7b54b",
        "stage": {
          "id": "eb22c9d5-7e15-4de2-81bb-1cf6fa928a69",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/01f4f634-1726-4168-b5c2-fa8e16e481a0"
    }
  }
}
```

## Placement Progress

These webhooks fire when a lender placement is created or its status changes.

### Lender Placement Created

This webhook fires when a lender placement is created.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCLENDERCREATED0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "lender_placement.created",
  "object": "lender_placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "method": "API"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Pending

This webhook fires when a lender placement status is pending.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCPENDING0001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "placement.pending",
  "object": "placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "status": "pending"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Declined

This webhook fires when a lender placement status is declined.

```json JSON theme={"system"}
{
  "id": "webhook_01H50SH9SMAJJQ69CXW5RAK1TG",
  "created_at": "1689022670644",
  "attempts": 1,
  "event": "placement.declined",
  "object": "placement",
  "data": {
    "object": {
      "id": "{placementID}",
      "status": "declined"
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}",
      "origin_client": {
        "id": "9ae320a7-fef1-43e6-ad5f-7b161ce1c595",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Approved

This webhook fires when a lender placement status is approved.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCAPPROVED0001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "placement.approved",
  "object": "placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "status": "approved"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Error

This webhook fires when a lender placement status is error.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCERROR0001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "placement.error",
  "object": "placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "status": "error"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Queued

This webhook fires when a lender placement status is queued.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCQUEUED0001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "placement.queued",
  "object": "placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "status": "queued"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Duplicate

This webhook fires when a lender placement is duplicated.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCDUPLICATE0001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "placement.duplicate",
  "object": "placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "status": "duplicate"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Pending Review

This webhook fires when a lender placement status is pending - review.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCPENDINGREVIEW0001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "placement.pending_review",
  "object": "placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "status": "pending_review"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Placement Missing Info Or Docs

This webhook fires when a lender placement status is pending - missing info or docs.

```json JSON theme={"system"}
{
  "id": "webhook_01JPLCPENDINGMISSING0001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "placement.pending_missing_info_or_docs",
  "object": "placement",
  "data": {
    "object": {
      "id": "31a18fdc-2a04-4791-8cb9-44813d0c31ed",
      "status": "pending_missing_info_or_docs"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Placement",
          "category": "Placement"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Post Funding Progress

These webhooks fire for post-funding milestones such as repayment progress and renewal windows.

### Offer Repaid Forty Percent

This webhook fires when an applicant has repaid forty percent of their offer.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRREPAID40PCT000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.repaid_forty_percent",
  "object": "adhoc",
  "data": {
    "object": {
      "offer_id": "45ae036f-1dfb-4e7e-a878-43d52af1250b",
      "application_id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "repayment_percentage": 40
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 60 Days/2 Months Funded

This webhook fires when 60 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW06000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_60_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 60 days/2 months",
      "days_funded": 60
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 90 Days/3 Months Funded

This webhook fires when 90 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW09000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_90_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 90 days/3 months",
      "days_funded": 90
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 120 Days/4 Months Funded

This webhook fires when 120 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW12000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_120_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 120 days/4 months",
      "days_funded": 120
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 150 Days/5 Months Funded

This webhook fires when 150 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW15000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_150_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 150 days/5 months",
      "days_funded": 150
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 180 Days/6 Months Funded

This webhook fires when 180 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW18000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_180_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 180 days/6 months",
      "days_funded": 180
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 210 Days/7 Months Funded

This webhook fires when 210 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW21000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_210_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 210 days/7 months",
      "days_funded": 210
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 240 Days/8 Months Funded

This webhook fires when 240 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW24000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_240_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 240 days/8 months",
      "days_funded": 240
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 270 Days/9 Months Funded

This webhook fires when 270 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW27000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_270_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 270 days/9 months",
      "days_funded": 270
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 300 Days/10 Months Funded

This webhook fires when 300 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW30000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_300_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 300 days/10 months",
      "days_funded": 300
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 330 Days/11 Months Funded

This webhook fires when 330 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW33000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_330_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 330 days/11 months",
      "days_funded": 330
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Renew Offer After 360 Days/12 Months Funded

This webhook fires when 360 days have passed after an offer has been funded.

```json JSON theme={"system"}
{
  "id": "webhook_01JPFRRENEW36000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "post_funding_progress.renew_after_360_days_funded",
  "object": "adhoc",
  "data": {
    "object": {
      "message": "Funded offer ready for renewal after 360 days/12 months",
      "days_funded": 360
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Funded",
          "category": "Funded"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Scorecards

These webhooks fire when scorecard evaluation finishes.

### Scorecard Finished

This webhook fires when a scorecard run has finished.

```json JSON theme={"system"}
{
  "id": "webhook_01JSCFINISHED0000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "scorecard.finished",
  "object": "scorecards",
  "data": {
    "object": [
      {
        "scorecard_id": "sc-11111111-2222-3333-4444-555555555555",
        "scorecard_result_id": "sr-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        "status": "Complete",
        "risk_tier": "A",
        "points": 82,
        "knockout": false
      }
    ],
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Scorecards",
          "category": "Scorecards"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Scorecard Group Finished

This webhook fires when a scorecard group run has finished.

```json JSON theme={"system"}
{
  "id": "webhook_01JSCGROUPFINISHED00000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "scorecard.group_finished",
  "object": "scorecard_group",
  "data": {
    "object": {
      "scorecard_group_id": "sg-11111111-2222-3333-4444-555555555555",
      "scorecard_group_result_id": "sgr-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
      "status": "Complete",
      "risk_tier": "B",
      "points": 75
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Scorecards",
          "category": "Scorecards"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Signed Application

These webhooks fire when a signature action is requested or performed.

### Application Signature Requested (DocuSign Only)

This webhook fires when a new signature request is created for an application.

```json JSON theme={"system"}
{
  "id": "webhook_01H5080EMAXWP9YN9KJPCNK5HN",
  "created_at": "1689004292746",
  "attempts": 1,
  "event": "application.signature_requested",
  "object": "adhoc",
  "data": {
    "object": [],
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Signed or Consent Box Checked

This webhook fires when a document was successfully signed for an application

```json JSON theme={"system"}
{
  "id": "webhook_01H50810B3XZMKJB61XSP4CMT4",
  "created_at": "1689004310883",
  "attempts": 1,
  "event": "application.signed",
  "object": "adhoc",
  "data": {
    "object": [],
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Signature Failed (DocuSign Only)

This webhook fires when a document was failed to be signed for an application

```json JSON theme={"system"}
{
  "id": "webhook_01H50810JMXFWX3KDBP2EPG4WY",
  "created_at": "1689004311124",
  "attempts": 1,
  "event": "application.signature_failed",
  "object": "adhoc",
  "data": {
    "object": [],
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

These webhooks will notify users when a Document Upload action was performed

## Third Party Connections

These webhooks fire when a third-party connection action is performed.

### Plaid Connection Success

This webhook fires when a new Plaid connection is successfully made in an application.

```json JSON theme={"system"}
{
  "id": "webhook_01H50H8WDYRRG0QD6910127AH0",
  "created_at": "1689014006206",
  "attempts": 1,
  "event": "service.plaid.connection_success",
  "object": "service.connection_status",
  "data": {
    "object": {
      "service": "plaid",
      "connected": true
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
```

### Plaid Connection Failure

This webhook fires when a Plaid connection has failed in an application.

```json JSON theme={"system"}
{
  "id": "webhook_01H4RWPG4Q8JJ36WZJ0VMQ2T48",
  "created_at": "1688757551255",
  "attempts": 1,
  "event": "service.plaid.connection_failure",
  "object": "service.connection_status",
  "data": {
    "object": {
      "service": "plaid",
      "connected": false
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

### Codat Connection Success

This webhook fires when a new Codat connection is successfully established in an application.

```json JSON theme={"system"}
{
  "id": "webhook_01H4KPGHPY1WKRWKM60R0S8AXS",
  "created_at": "1688583292638",
  "attempts": 1,
  "event": "service.codat.connection_success",
  "object": "service.connection_status",
  "data": {
    "object": {
      "service": "codat",
      "connected": true
    },
    "application": {
      "id": "{applicationId}",
      "flow": {
        "id": "{flowId}",
        "stage": {
          "id": "{stageId}",
          "name": "{stageName}",
          "category": "{stageCategory}"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/{applicationId}"
    }
  }
}
```

These webhooks will notify users when a Data Orchestration action was ran and the `master status` or `outcome` change

## Widget Progress

These webhooks fire based on widget applicant activity.

### Widget Inactivity Notice

This webhook fires when an applicant drops off the widget i.e. they close out the widget or there has been no widget activity in 10+ minutes.

```json JSON theme={"system"}
{
  "id": "webhook_01H8HDNK70Y1SB9GDQR8X9BQST",
  "created_at": "1692801879264",
  "attempts": 1,
  "event": "widget.drop_off",
  "object": "widget.session",
  "data": {
    "object": {
      "product_type": 23,
      "percent_progress": 31,
      "last_active_at": "2023-08-23T14:34:19.000000Z"
    },
    "application": {
      "id": "d03a101e-3310-4cb6-9ee8-37c9a89ba7ce",
      "flow": {
        "id": "8fdf9cfc-2a26-429d-ab50-82e0b3aefcb8",
        "stage": {
          "id": "862237f6-c649-452c-816c-80185b9432ed",
          "name": "Application",
          "category": "Collect Data"
        }
      },
      "client_tracking_token": null,
      "url": "https://api.lendflow.com/api/applications/d03a101e-3310-4cb6-9ee8-37c9a89ba7ce"
    }
  }
}
```

## Checkout Progress

These webhooks fire as an applicant progresses through checkout.

### Checkout Step Complete

This webhook fires when a checkout step has been completed.

```json JSON theme={"system"}
{
  "id": "webhook_01JCHKSTEPCOMPLETE0000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "checkout_progress.step_complete",
  "object": "checkout_step",
  "data": {
    "object": {
      "id": "identity_verification",
      "type": "identity_verification",
      "name": "Identity Verification",
      "checkout_template_id": "ct-11111111-2222-3333-4444-555555555555",
      "checkout_template_name": "Default Checkout"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Checkout Complete

This webhook fires when all checkout steps have been completed.

```json JSON theme={"system"}
{
  "id": "webhook_01JCHKCOMPLETE000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "checkout_progress.complete",
  "object": "checkout_template",
  "data": {
    "object": {
      "id": "ct-11111111-2222-3333-4444-555555555555",
      "name": "Default Checkout"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Closing",
          "category": "Closing"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Application User Assignment

These webhooks fire when an assigned user on a deal is set or updated.

### Application Onboarding Updated

This webhook fires when an onboarding user has been assigned or updated for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JUAONBOARDING0000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_user_assignment.onboarding_updated",
  "object": "application.onboarding_updated",
  "data": {
    "object": {
      "role": "Onboarding",
      "previous_user_info": {
        "id": "11111111-2222-3333-4444-555555555555",
        "name": "Previous User"
      },
      "new_user_info": {
        "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        "name": "New User",
        "updated_at": "2024-07-09 15:27:40",
        "changed_by": "Sam Manager"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Analyst Updated

This webhook fires when an analyst user has been assigned or updated for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JUAANALYST0000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_user_assignment.analyst_updated",
  "object": "application.analyst_updated",
  "data": {
    "object": {
      "role": "Analyst",
      "previous_user_info": {
        "id": "11111111-2222-3333-4444-555555555555",
        "name": "Previous User"
      },
      "new_user_info": {
        "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        "name": "New User",
        "updated_at": "2024-07-09 15:27:40",
        "changed_by": "Sam Manager"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Application Processor Updated

This webhook fires when a processor user has been assigned or updated for a deal.

```json JSON theme={"system"}
{
  "id": "webhook_01JUAPROCESSOR0000000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "application_user_assignment.processor_updated",
  "object": "application.processor_updated",
  "data": {
    "object": {
      "role": "Processor",
      "previous_user_info": {
        "id": "11111111-2222-3333-4444-555555555555",
        "name": "Previous User"
      },
      "new_user_info": {
        "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
        "name": "New User",
        "updated_at": "2024-07-09 15:27:40",
        "changed_by": "Sam Manager"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Underwriting",
          "category": "Data Enrichment"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

These webhooks will notify users when a Signature Action is requested or performed

## Borrower Platform

These webhooks fire when an applicant interacts with the Borrower Platform.

### Borrower Platform URL Visited

This webhook fires when a borrower platform URL has been visited.

```json JSON theme={"system"}
{
  "id": "webhook_01JBPURLVISITED00000000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "borrower_platform.url_visited",
  "object": "borrower_platform.url_visit",
  "data": {
    "object": {
      "id": "c0ffee00-1111-2222-3333-444444444444",
      "client_id": "9ae320a7-fef1-43e6-ad5f-7b161ce1c595",
      "borrower_id": "bbbbbbbb-cccc-dddd-eeee-ffffffffffff",
      "url": "https://borrower.lendflow.com/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9/offers",
      "source": "email",
      "borrower_platform_template_id": "tpl-1111-2222-3333-444444444444",
      "borrower_platform_template_tab_id": "tab-aaaa-bbbb-cccc-dddddddddddd"
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Offer",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

### Visit with Shared Offers

This webhook fires when a borrower visits the borrower platform while in the offer stage and has shared offers.

```json JSON theme={"system"}
{
  "id": "webhook_01JBPVISITSHAREDOFF000001",
  "created_at": "1720539181281",
  "attempts": 1,
  "event": "borrower_platform.visit_with_shared_offers",
  "object": "application",
  "data": {
    "object": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Offer",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    },
    "application": {
      "id": "e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "flow": {
        "id": "08b0f427-88fd-4ecd-949a-e7e0d38ab3e4",
        "stage": {
          "id": "5c5e2746-58ab-4beb-82d3-137aeb65aeda",
          "name": "Offer",
          "category": "Offer"
        }
      },
      "client_tracking_token": null,
      "tracking_tokens": [],
      "url": "https://api.lendflow.com/api/applications/e31903aa-0217-40e9-87eb-353f5ca2bed9",
      "workflow_template_id": "199d5ef1-623c-4de4-a719-033c312c2109",
      "origin_client": {
        "id": "Lendflow",
        "name": "Lendflow"
      },
      "submission_partner": {
        "id": "Lendflow",
        "name": "Lendflow"
      }
    }
  }
}
```

## Custom Webhooks

Custom webhooks are user-defined in the workflow builder. Their payload depends on the parameters configured for each custom webhook.

### Custom Webhook

This webhook fires when a custom webhook configured on the workflow template is triggered. The `event` value is `custom_webhook`, and the `data.object` shape depends on the parameters defined for that custom webhook.

## FAQ

<AccordionGroup>
  <Accordion title="Can one webhook event send to multiple URLs?">
    Yes. Select the **+** icon for the event and add another destination URL.
  </Accordion>

  <Accordion title="When does a workflow webhook fire?">
    Each webhook definition in this guide describes the action or workflow event that triggers it. Enable only the events your integration needs.
  </Accordion>

  <Accordion title="Do all webhook events use the same payload?">
    No. Review the example for the selected event. Custom webhook payloads depend on the parameters configured for that custom webhook.
  </Accordion>
</AccordionGroup>

## Next steps

<Card title="Email Notifications" icon="envelope" href="/lendflow-external/docs/email-notifications" horizontal>
  Configure applicant and organization emails for workflow events.
</Card>

<Card title="Verify Webhook Authenticity" icon="shield-check" href="/lendflow-external/docs/verifying-webhook-authenticity" horizontal>
  Verify that incoming webhook requests were sent by Lendflow.
</Card>
