---
title: "Create a Deposit Webhook"
method: POST
path: "/v1/webhook/deposit/api-key"
tags: ["Webhooks"]
---

# Create a Deposit Webhook

`POST /v1/webhook/deposit/api-key`

Create a webhook for a deposit.

## Query parameters

- `apiKey` string, required

## Request body

- CreateDepositHookDto
  - `name` string, required — The name of the webhook.
  - `depositId` string, required — The ID of the deposit the webhook is associated with.
  - `targetUrl` string, required — The URL that will receive the webhook payload when the event occurs.

## Response `200`

Webhook creation response

- PaylinkSubscriptionHookEntity[]
  - `events` string[], required
  - `id` string, required
  - `paylink` string, required
  - `company` string, required
  - `targetUrl` string, required
  - `sharedToken` string, required
  - `creator` string

## Other responses

- `401` — Provided API key has no access to the resource.

---

[API](https://skmtc.net/hel/apis/helio-open-api.md) · [All operations](https://skmtc.net/hel/apis/helio-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hel/helio-open-api/revisions/5732beb2d39f/schema)
