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

# Create a webhook

`POST /webhooks`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/webhooks`
- Auth: HTTP bearer

Register a webhook subscription so Deel delivers events to your endpoint as they occur, letting you react to changes in real time instead of polling for them. Each delivery is signed so your endpoint can verify it originated from Deel.

 **Token scopes**: `webhooks:write`

## Request body

- object
  - `url` string, required: Endpoint to receive webhook.
  - `name` string, nullable, required: Webhook subscription name.
  - `events` string[], required: The list of events to enable for this subscription.
  - `status` 'enabled' | 'disabled', required: Status of webhook.
  - `api_version` string, required: Deel API version. Only v2 is accepted.
  - `description` string, nullable: Webhook subscription description.
  - `signing_key` string, nullable: The webhook's signing key, used to generate webhook signatures. Auto-generated if omitted.
  - `include_child_orgs` boolean, nullable: When true, the webhook will also receive events from child organizations.

## Response `201`

successful operation

- WebhooksCreateWebhookResponse201
  - `data` WebhooksPostResponsesContentApplicationJsonSchemaData, required: The webhook subscription.
    - `id` string, required: Unique identifier of this resource.
    - `url` string, required: Endpoint to receive webhook.
    - `name` string, nullable, required: Webhook subscription name.
    - `events` string[], required: The list of events to enable for this subscription.
    - `hidden` boolean, nullable: Whether to hide the webhook from the frontend view (commonly used by Deel third-party apps).
    - `status` 'enabled' | 'disabled', required: Status of webhook.
    - `internal` boolean: Indicates whether the webhook is internal to Deel.
    - `created_at` string, required: Time at which the webhook was created.
    - `deleted_at` string, nullable: Time at which the webhook was deleted.
    - `updated_at` string, required: Time at which the webhook was updated.
    - `api_version` string, required: Deel API version. Currently Deel accepts v1 or v2.
    - `description` string, nullable, required: Webhook subscription description.
    - `signing_key` string, nullable, required: The webhook's signing key, used to generate webhook signatures.
    - `include_child_orgs` boolean, nullable: When true, the webhook will also receive events from child organizations.

## Other responses

- `400`: Bad Request. The request could not be understood or was missing required parameters.
- `401`: Unauthorized. Authentication credentials were missing or invalid.
- `403`: Forbidden. You do not have permission to access this resource.
- `404`: Not Found. The requested resource could not be found.
- `405`: Method Not Allowed. The HTTP method is not supported for this resource.
- `429`: Too Many Requests. The rate limit has been exceeded.
- `500`: Internal Server Error. An unexpected error occurred.

## Changes

- **2026-10-29** `e7b5bc673185`: 1 info
  - the request property `description` became optional

[Operation history](https://skmtc.dev/deel/apis/endpoints/changes/webhooks/post.md)

---

[API](https://skmtc.dev/deel/apis/endpoints.md) - [All operations](https://skmtc.dev/deel/apis/endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints/revisions/0c7142fd9f93?raw)
