WebRequest.GetWebHook
---------------------

Queries the web hook for this web request.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebHook](component_WebHook.md) | [11.5](newinversion115.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "WebRequest.GetWebHook"; WebRequest ) 

**MBS**( **"WebRequest.GetWebHook";** /\* Queries the web hook for this web request. \*/  
**$WebRequest**) /\* The reference number of the web request. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebRequest | The reference number of the web request. | $WebRequest |

### Result

Returns text or error.

### Description

Queries the web hook for this web request.  
If you have multiple hooks, defines which one you reference.  
### See also

- [WebRequest.GetHeaders](WebRequestGetHeaders.md)
- [WebRequest.GetHost](WebRequestGetHost.md)

This function is free to use.

Created 17th October 2021 , last changed 14th July 2022

  
[WebRequest.GetURL](WebRequestGetURL.md) - [WebRequest.List](WebRequestList.md)

[HTML Version](WebRequestGetWebHook.shtml)