> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base39.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Atualizar destino de notificações

> Ferramenta MCP update_webhook da Base39.

Altera o endereço ou ativa e desativa um destino de notificações da organização. Preço: R\$ 0,00 (gratuito).

## Ferramenta

`update_webhook`

## Exemplo de chamada

```json theme={null}
{
  "method": "tools/call",
  "params": {
    "name": "update_webhook",
    "arguments": {
      "id": "wh_00000000000000000000000000000001",
      "enabled": false
    }
  }
}
```

## Exemplo de resultado

```json theme={null}
{
  "url": "https://notificacoes.example.com/base39",
  "enabled": false,
  "object": "webhook_endpoint",
  "id": "wh_00000000000000000000000000000001",
  "created_at": "2026-11-10T12:00:00.000Z"
}
```

> [accordion] Parâmetros
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "id": {
>       "type": "string",
>       "pattern": "^wh_[a-f0-9]{32}$",
>       "description": "Identificador do destino de notificações."
>     },
>     "url": {
>       "type": "string",
>       "maxLength": 2048,
>       "format": "uri",
>       "description": "Endereço HTTPS público que receberá as notificações."
>     },
>     "enabled": {
>       "description": "Ativa ou desativa o envio para este destino.",
>       "type": "boolean"
>     }
>   },
>   "required": [
>     "id"
>   ],
>   "additionalProperties": false,
>   "minProperties": 2,
>   "examples": [
>     {
>       "id": "wh_00000000000000000000000000000001",
>       "enabled": false
>     }
>   ]
> }
> ```

> [accordion] Resultado
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "url": {
>       "type": "string",
>       "maxLength": 2048,
>       "format": "uri",
>       "description": "Endereço HTTPS público que receberá as notificações."
>     },
>     "enabled": {
>       "default": true,
>       "description": "Ativa o envio para este destino.",
>       "type": "boolean"
>     },
>     "object": {
>       "type": "string",
>       "const": "webhook_endpoint",
>       "description": "Destino de notificações Base39."
>     },
>     "id": {
>       "type": "string",
>       "pattern": "^wh_[a-f0-9]{32}$",
>       "description": "Identificador do destino de notificações."
>     },
>     "created_at": {
>       "type": "string",
>       "format": "date-time",
>       "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
>       "description": "Data de criação do destino."
>     }
>   },
>   "required": [
>     "url",
>     "enabled",
>     "object",
>     "id",
>     "created_at"
>   ],
>   "additionalProperties": false,
>   "examples": [
>     {
>       "url": "https://notificacoes.example.com/base39",
>       "enabled": false,
>       "object": "webhook_endpoint",
>       "id": "wh_00000000000000000000000000000001",
>       "created_at": "2026-11-10T12:00:00.000Z"
>     }
>   ]
> }
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.