---
updatedAt: 2025-11-11T23:14:18.000Z
agentTools:
  projectIndex: https://developers.fortresstrust.com/llms.txt
---

# Patch the current webhook config. (Auth)

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Core Api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sandbox.fortressapi.com/"
    }
  ],
  "paths": {
    "/api/organization/v1/current-organization/webhook-config": {
      "patch": {
        "tags": [
          "CurrentOrganization"
        ],
        "summary": "Patch the current webhook config. (Auth)",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "The idempotency key for the endpoint",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The webhook config patch model",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookConfigPatchModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookConfigPatchModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookConfigPatchModel"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Webhook config is patched."
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Webhook config is not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "examples": {
                  "Example 1": {
                    "summary": "Validation exception",
                    "value": {
                      "title": "string",
                      "status": 404,
                      "traceId": "string",
                      "path": "string",
                      "errors": {
                        "00000000-0000-0000-0000-000000000000": [
                          "Validation error"
                        ]
                      }
                    }
                  },
                  "Example 2": {
                    "summary": "Not found",
                    "value": {
                      "type": "string",
                      "title": "Not Found",
                      "status": 404,
                      "traceId": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "WebhookConfigPatchModel": {
        "type": "object",
        "properties": {
          "url": {
            "maxLength": 1000,
            "minLength": 3,
            "type": "string",
            "description": "Gets or sets the webhook url.",
            "nullable": true
          },
          "enabled": {
            "type": "boolean",
            "description": "Gets or sets whether this webhook config is enabled.",
            "nullable": true
          },
          "sharedSecret": {
            "maxLength": 1000,
            "minLength": 8,
            "type": "string",
            "description": "Gets or sets shared secret.",
            "nullable": true
          },
          "webhookTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WebhookTypeResponse"
            },
            "description": "Gets or sets the webhook types.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Webhook config patch model"
      },
      "WebhookTypeResponse": {
        "enum": [
          "payment",
          "transaction",
          "nft",
          "kyc",
          "document",
          "custodialAccount",
          "externalAccount",
          "identity",
          "asset",
          "wallet"
        ],
        "type": "string",
        "description": "The type of a webhook"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Put access token in the box below.<br>For example: <b>Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6I</b>",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```