---
title: "Your endpoint implementation for handling Oper Connect's webhooks"
method: POST
path: "/your-webhook-endpoint"
tags: ["Webhooks"]
---

# Your endpoint implementation for handling Oper Connect's webhooks

`POST /your-webhook-endpoint`

This path represents the path to your API implementation of the end point that is configured in Oper Connect. It describes what Oper Connect will send to your endpoint, and what it expects in response.

## Request body

- Event, nullable
  - `event_type` 'loan_request_sent_to_lender', required — this field provides more information about the type of the event that has triggered the webhook.
  - `created` string, date, nullable, required — contains the date on which the object was made. The date should be communicated in compliance with the ISO 8601 standard, which is defined as YYYY-MM-DD.
  - `livemode` boolean, required — if the object exists in livemode, this will have the value 'true'. If not, this will have the value 'false'
  - `new_data` NewData, required
    - `loan_request` LoanRequest, required — unresolved $ref
    - `lender_state` LenderState, nullable, required
      - `id` string — the unique identifier of each lender state

## Response `201`

created

## Other responses

- `202` — Updated
- `400` — Generic error
- `422` — Invalid input

---

[API](https://skmtc.net/opercredits/apis/loan-request-webhook-api.md) · [All operations](https://skmtc.net/opercredits/apis/loan-request-webhook-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opercredits/loan-request-webhook-api/revisions/e7d848b30c22/schema)
