---
title: "create webhook config"
method: POST
path: "/api/v1/notification/webhook"
tags: ["api/v1/notification", "webhook"]
---

# create webhook config

`POST /api/v1/notification/webhook`

#### Controller: 

`github.com/raghavyuva/nixopus-api/internal/features/notification/controller.(*NotificationController).CreateWebhookConfig`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3`

---

## Headers

- `Accept` string

## Response `200`

OK

- WebhookConfigResponse — WebhookConfigResponse schema
  - `data` object, nullable
    - `created_at` string, date-time
    - `id` string, uuid
    - `is_active` boolean
    - `organization_id` string, uuid
    - `type` string
    - `updated_at` string, date-time
    - `user_id` string, uuid
    - `webhook_url` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

## Changes

- **2026-02-27** `93bf2b2f361d` — 13 breaking
  - the response property `errors/items/` became nullable for the status `400` (media type: application/json)
  - the response property `errors/items/` became nullable for the status `400` (media type: application/xml)
  - the response property `errors/items/` became nullable for the status `500` (media type: application/json)
  - the response property `errors/items/` became nullable for the status `500` (media type: application/xml)
  - …9 more

[Change history](https://skmtc.dev/nixopus/apis/openapi/changes/api/v1/notification/webhook/post.md)

---

[API](https://skmtc.dev/nixopus/apis/openapi.md) · [All operations](https://skmtc.dev/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nixopus/openapi/revisions/86356bbcc727/schema)
