• KB Home
  • API
  • edna Chat Center API for Bot Connect
  • Webview Closed Webhook

Webview Closed Webhook

The webhook is designed to close the web view.

ParameterTypeDescription
actionboolean (required) WEBVIEW_CLOSED
uuidstring (required)The webview ID to be closed
clientIdstring (optional)External client ID (only for authorized clients). The parameter has been deprecated, use threadsClientId instead.
threadsClientIdLong (optional)Internal client ID (applicable for both authorized and non-authorized clients)
senderstring (required)Information about the sender, always ThreadsAPI

HTTP Request

POST <url for webhook> HTTP/1.1
Content-Type: application/json

{
   "action":"WEBVIEW_CLOSED",
   "threadsClientId":100500,
   "uuid":"1",
   "sender":"ThreadsAPI"
}

Example of a Successful HTTP Response

It is expected that a response with code 200 will be returned.

Hints Webhook
Next Article Customize ClientData in Webhook Content