The webhook is designed to close the web view.
Parameter | Type | Description |
action | boolean (required) | • WEBVIEW_CLOSED |
uuid | string (required) | The webview ID to be closed |
clientId | string (optional) | External client ID (only for authorized clients). The parameter has been deprecated, use threadsClientId instead. |
threadsClientId | Long (optional) | Internal client ID (applicable for both authorized and non-authorized clients) |
sender | string (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.