---
updatedAt: 2025-03-08T00:38:56.000Z
agentTools:
  projectIndex: https://wiki.manifold.autos/llms.txt
---

# Update Webhook.

Update the configuration of an existing webhook.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Manifold Data REST API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.analytics.autos/",
      "description": "Manifold REST API Base URL"
    }
  ],
  "paths": {
    "/webhook/{id}": {
      "put": {
        "tags": [
          "Notification"
        ],
        "summary": "Update Webhook.",
        "description": "Update the configuration of an existing webhook.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique identifier of the webhook to be updated.",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Object containing the updated details of the webhook.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponseModelResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "429": {
            "description": "Rate limited"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HttpStatusCode": {
        "enum": [
          100,
          101,
          102,
          103,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          226,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          400,
          401,
          402,
          403,
          404,
          405,
          406,
          407,
          408,
          409,
          410,
          411,
          412,
          413,
          414,
          415,
          416,
          417,
          421,
          422,
          423,
          424,
          426,
          428,
          429,
          431,
          451,
          500,
          501,
          502,
          503,
          504,
          505,
          506,
          507,
          508,
          510,
          511
        ],
        "type": "integer",
        "format": "int32"
      },
      "ManifoldNotificationType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "WebhookRequestModel": {
        "type": "object",
        "properties": {
          "connectionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Gets or sets the list of connection IDs associated with the webhook.\r\nThese IDs are used to identify connections that the webhook is linked to.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "Gets or sets the URL associated with the webhook.\r\nThis is the endpoint where the webhook will send the HTTP requests\r\nto deliver notifications.",
            "nullable": true
          },
          "httpVerb": {
            "type": "string",
            "description": "Specifies the HTTP verb used by the webhook when making requests to the specified URL.",
            "nullable": true
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Represents the custom headers included in the webhook requests.",
            "nullable": true
          },
          "notificationTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifoldNotificationType"
            },
            "description": "Gets or sets the collection of notification types associated with the webhook.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the configuration details of a webhook used for event notifications."
      },
      "WebhookResponseModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Gets or sets the unique identifier for the webhook.",
            "format": "uuid"
          },
          "connectionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Gets or sets the collection of unique identifiers for the connections associated with the webhook.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "Gets or sets the URL associated with the webhook.\r\nThis is the endpoint where the webhook will send the HTTP requests\r\nto deliver notifications.",
            "nullable": true
          },
          "httpVerb": {
            "type": "string",
            "description": "Specifies the HTTP verb used by the webhook when making requests to the specified URL.",
            "nullable": true
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Represents the custom headers included in the webhook requests.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Gets or sets the timestamp indicating when the webhook was created.",
            "format": "date-time"
          },
          "notificationTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifoldNotificationType"
            },
            "description": "Gets or sets the collection of notification types associated with the webhook.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the configuration details of a webhook used for event notifications."
      },
      "WebhookResponseModelResponseModel": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "message": {
            "type": "string",
            "description": "Response message",
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/WebhookResponseModel"
          },
          "next": {
            "type": "string",
            "description": "A next field is present if more objects are available, containing the cursor for the next page. If no more objects exist, next will not be defined in the response.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response Model of the API"
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "API Key needed to access the endpoints. x-api-key: {API Key}",
        "name": "X-API-KEY",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": []
    }
  ],
  "x-readme": {}
}
```