PUT Webhooks
Update Webhook
id : required Passed as URL parameter, specifying which webhook to update.
Requires Authentication.
- id : (required) Passed as URL parameter, specifying which webhook to update.
- label : (required) A unique string for your webhook. It can be anything you want.
- url: (required) A URL to post to when the webhook is activated.
- enabled: (required) Sets the webhook to be in either the enabled or disabled states.
- type: (required) ["prepublish"/"postpublish"] Sets the type of webhook. See TYPES in the description for the "Create Webhook" API method.
- events: (required) An array of strings indicating which event types activate your webhook. See events below.
Additional Details
See "Create or Replace Webhook" method for details about webhook behavior and settings.
Request
Parameters
Values in the path and query string.
appid path string TalkLabs ID required
The TalkLabs application ID assigned to your account.
Example:your-app-id id path string required
Request
JSON body
Send as application/json.
label string required
url string required
enabled boolean required
webhookType integer · int32 required
events WebhookEventTypes[] required
entities string[]
requiredCustomTags string[]
Request example
{
"label": "Demonstration Webhook Re-Labeled",
"url": "https://localhost:443",
"enabled": false,
"events": [
"speech",
"custom",
"reply",
"reaction",
"action",
"enter",
"exit",
"roomopened",
"roomclosed",
"purge"
],
"webhookType": {}
} Response
Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 500 Internal Server Error ApiResult