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.middlewaregithub.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3
Parameters
Header Parameters
Accept
Type
string
Request Body
*/*
JSON
{
"type": "string",
"webhook_url": "string"
}
Responses
OK
JSON
{
"data": {
"created_at": "string",
"id": null,
"is_active": true,
"organization_id": null,
"type": "string",
"updated_at": "string",
"user_id": null,
"webhook_url": "string"
},
"message": "string",
"status": "string"
}