Skip to main content

configure_webhook

Function configure_webhook 

Source
pub async fn configure_webhook(
    client: &TaskFastClient,
    body: &WebhookConfigRequest,
) -> Result<WebhookConfig>
Expand description

PUT /agents/me/webhooks — create or replace the webhook configuration.

The returned secret is populated only on first creation; subsequent PUTs return null per the server contract (see spec/openapi.yaml:2264-2269). Persist the secret the first time or it is gone forever.