---
updatedAt: 2026-06-26T13:05:06.000Z
agentTools:
  projectIndex: https://developers.newo.ai/llms.txt
---

# Update an outgoing webhook

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Webhooks",
    "version": "1.0.0",
    "contact": {
      "name": "Newo Support",
      "url": "https://docs.newo.ai"
    },
    "description": "Register **outgoing webhooks** to receive notifications when your agent executes\na command, and **incoming webhooks** to let external services trigger agent events.\n"
  },
  "servers": [
    {
      "url": "https://api.newo.ai",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/v1/webhooks/{webhook_id}": {
      "patch": {
        "operationId": "updateWebhook",
        "summary": "Update an outgoing webhook",
        "security": [
          {
            "JWTBearer": []
          }
        ],
        "parameters": [
          {
            "name": "webhook_id",
            "in": "path",
            "required": true,
            "description": "Webhook UUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook updated successfully"
          },
          "4XX": {
            "description": "Newo API error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiErrorDto"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "JWTBearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "JWT Bearer token. Obtain your token from the Newo platform under\n**Account → API Keys**.\n"
      }
    },
    "schemas": {
      "IdentifyingName": {
        "type": "string",
        "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
        "description": "A slug-style identifier used throughout the Newo platform for integrations,\nconnectors, flows, skills, and more. Must start with a letter or underscore;\nsubsequent characters may be letters, digits, or underscores.\n",
        "example": "my_integration"
      },
      "UpdateWebhookDto": {
        "type": "object",
        "description": "Fields to update on an outgoing webhook. All properties are optional.",
        "properties": {
          "description": {
            "type": "string",
            "description": "Updated description"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Updated target URL"
          },
          "connector_idn": {
            "$ref": "#/components/schemas/IdentifyingName"
          },
          "command_idns": {
            "type": "array",
            "nullable": true,
            "description": "Updated command filter list",
            "items": {
              "$ref": "#/components/schemas/IdentifyingName"
            }
          }
        }
      },
      "ApiErrorItemDto": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Human-readable error message"
          },
          "code": {
            "type": "string",
            "description": "Machine-readable error code"
          }
        },
        "required": [
          "code",
          "message"
        ]
      },
      "ApiErrorDto": {
        "type": "object",
        "description": "Standard error response returned on 4XX responses.",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP-aligned error code"
          },
          "type": {
            "type": "string",
            "description": "Custom error type identifier"
          },
          "reason": {
            "type": "string",
            "description": "Human-readable reason for the error"
          },
          "errors": {
            "type": "array",
            "description": "Field-level validation errors (if applicable)",
            "items": {
              "$ref": "#/components/schemas/ApiErrorItemDto"
            }
          }
        },
        "required": [
          "code",
          "reason"
        ]
      }
    }
  },
  "security": [
    {
      "JWTBearer": []
    }
  ]
}
```