Webhook Endpoints
Update webhook endpoint
Partially updates a public webhook endpoint. Supported fields are name, url, auth, and customHeaders. At least one field is required. Omitted fields are preserved. Passing customHeaders: null clears custom headers. Existing webhook subscriptions stay attached to the same endpoint ID. After changing the endpoint URL or auth, test each affected subscription.
Access to webhook management is gated by brokerage. Talk to Augment to enable access before relying on this endpoint.
patch/v2/webhook-endpoints/{webhookEndpointId}
Request
- Base URLhttps://api.prod.goaugment.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Primary Webhook",
"url": "https://example.com/webhooks/augment-v2",
"auth": {
"token": "customer-secret-token"
},
"customHeaders": {
"X-Customer-Header": "value"
}
}Response
Webhook endpoint updated successfully
Example response
{
"id": "webhook_endpoint_01HY...",
"name": "Primary Webhook",
"url": "https://example.com/webhooks/augment",
"customHeaders": {
"X-Customer-Header": "value"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.