---
title: "Create a webhook"
method: POST
path: "/webhooks"
tags: ["Webhooks"]
---

# Create a webhook

`POST /webhooks`

## Request

- Base URL: `https://api.multi-upload-tool.com/api/v1`
- URL: `https://api.multi-upload-tool.com/api/v1/webhooks`
- Auth: API key in header `x-api-key`

Registers an endpoint to receive the selected events. Team members with the `MEMBER` role cannot create webhooks.

## Headers

- `X-Team-ID` integer

## Request body

- object
  - `url` string, uri, required: HTTPS endpoint that will receive the event payloads.
  - `events` WebhookEvent[], required
  - `secret` string: Shared secret used to sign deliveries.

## Response `200`

The created webhook.

- object
  - `success` unknown
  - `data` Webhook
    - `id` integer
    - `url` string, uri
    - `events` WebhookEvent[]
    - `isActive` boolean
    - `createdAt` string, date-time

## Other responses

- `400`: The request body or parameters were rejected.
- `401`: The API key is missing, invalid, revoked or expired.
- `403`: The token is valid but not permitted to act on this resource, usually because of team scoping or the caller's team role.
- `429`: Too many requests for this endpoint group.

---

[API](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api.md) · [All operations](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api/revisions/bb7e72abbb76?raw)
