Configuring a webhook in IBM Watson™ Assistant
The default webhook configurations will require an update to point to your new IBM Cloud Functions URL that you copied from the caseworker
function.
The following steps outline how to update the default webhook configurations:
Go to your IBM Watson™ Assistant.
Click
Options>Webhooks
on the left side and paste the URL into theURL
input box.Figure 1: Watson Assistant Webhooks.
Note: you need to add a
“.json”
to the URL so that Watson recognizes that you are returning a JSON snippet.
An authorization header is automatically added. The configuration is added to secure the web chat to authenticate the webhook calls by passing the JSON Web Token (JWT) as part of the request.
For more information, see Web chat: Reusing the JWT for webhook authentication.