set_webhook
Set or update the webhook URL for an endpoint. Returns a signing secret that must be saved. PATs are preferred and require mcp:endpoints:write or mcp:*.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The unique slug identifier for the endpoint | |
| apiKey | No | Legacy endpoint API key (x402_*) | |
| webhookUrl | Yes | HTTPS URL to receive webhook events | |
| accessToken | No | Your dashboard MCP personal access token (sgl_pat_*) |