---
title: "Create"
method: POST
path: "/webhook-subscriptions"
tags: ["Account Webhook Subscription Resource"]
---

# Create

`POST /webhook-subscriptions`

## Request

- Base URL: `https://api.maildroppa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maildroppa.com/webhook-subscriptions`
- Auth: API key in header `X-API-Key`

## Request body

- AccountWebhookSubscriptionRequestDto
  - `targetUrl` string
  - `event` string
  - `deliveryContentType` 'application/json' | 'text/plain': Delivery media type. Omission selects application/json; null is invalid.

## Other responses

- `400`: Bad Request
- `401`: Not Authorized
- `403`: Not Allowed
- `428`: Accept the customer agreements in the app before using API keys.

---

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