---
title: "Register Webhook"
method: POST
path: "/api/agent-credit/alerts/webhooks/register"
tags: ["Liquidation Alerts"]
---

# Register Webhook

`POST /api/agent-credit/alerts/webhooks/register`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/agent-credit/alerts/webhooks/register`
- Auth: none declared

Register a webhook URL to receive real-time alerts.

## Request body

- WebhookRegister
  - `agent_address` string, required
  - `url` string, required
  - `secret` string, nullable
  - `events` unknown[]
    - unknown

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kojiru/apis/kojiru-api.md) · [All operations](https://skmtc.dev/kojiru/apis/kojiru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kojiru/apis/kojiru-api/revisions/7974409f57cd?raw)
