# Post Webhook

## Create the Webhook Configuration

> Configure webhook URLs in the Edge. This is used to configure the unique webhook URL for specific events that will send data to that URL.

```json
{"openapi":"3.0.0","info":{"title":"Monogoto Edge User API Configuration","version":"2.0"},"tags":[{"name":"Webhook Configuration","description":"Configure and manage webhook URLs for alerts/events."}],"servers":[{"url":"https://api.monogoto.io/api"}],"security":[],"paths":{"/webhook":{"post":{"summary":"Create the Webhook Configuration","description":"Configure webhook URLs in the Edge. This is used to configure the unique webhook URL for specific events that will send data to that URL.","tags":["Webhook Configuration"],"requestBody":{"required":true,"description":"Schema for Adding Webhook Configurations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookConfig"}}}},"responses":{"200":{"description":"Successful Response"}}}}},"components":{"schemas":{"WebhookConfig":{"type":"object","properties":{"alerts":{"$ref":"#/components/schemas/WebhookAlerts"}},"required":["alerts"]},"WebhookAlerts":{"type":"object","properties":{"cdr":{"$ref":"#/components/schemas/WebhookAlertConfig"},"s1ap":{"$ref":"#/components/schemas/WebhookAlertConfig"},"s6a":{"$ref":"#/components/schemas/WebhookAlertConfig"},"uesubs":{"$ref":"#/components/schemas/WebhookAlertConfig"}},"required":["cdr","s1ap","s6a","uesubs"]},"WebhookAlertConfig":{"type":"object","properties":{"enabled":{"type":"boolean"},"webhook_url":{"type":"string","format":"uri"}},"required":["enabled","webhook_url"]}}}}
```
