--- name: environment-routes description: Handle 5 OpenAPI operation(s) under /v1/environment/webhooks for the environment route group. --- # environment API Routes Handle 5 OpenAPI operation(s) under /v1/environment/webhooks for the environment route group. Use the generated operation tools to make real API calls. Do not invent API responses. If a tool reports missing setup, return the exact setup field name to the caller. For write, update, or delete operations, state the intended action before calling the tool. ## Operations ### list_webhooks - Operation ID: `list_webhooks` - Route: `GET /v1/environment/webhooks` - Mode: READ - Summary: List Webhooks ### create_webhook - Operation ID: `create_webhook` - Route: `POST /v1/environment/webhooks` - Mode: WRITE - Summary: Create a Webhook - Body: JSON request body accepted. ### get_webhook_by_id - Operation ID: `get_webhook_by_id` - Route: `GET /v1/environment/webhooks/{webhook_id}` - Mode: READ - Summary: Get Webhook By ID - Parameters: - `webhook_id` in `path` required ### update_webhook - Operation ID: `update_webhook` - Route: `PUT /v1/environment/webhooks/{webhook_id}` - Mode: WRITE - Summary: Update a Webhook - Parameters: - `webhook_id` in `path` required - Body: JSON request body accepted. ### delete_webhook - Operation ID: `delete_webhook` - Route: `DELETE /v1/environment/webhooks/{webhook_id}` - Mode: WRITE - Summary: Delete Webhook By ID - Parameters: - `webhook_id` in `path` required