---
title: "addWebhookResponseHeader"
canonical: "https://support.appfire.com/space/PSJ/15483558/addWebhookResponseHeader"
format: markdown
---
> Macro (aura-html)


|  |
| --- |
| This function is available starting with **SIL Engine™ 5.8.0.7**. |

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | addWebhookResponseHeader(httpHeader) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Adds an HTTP header to the response that will be returned to the Webhook caller.

Adds an HTTP header to the response that will be returned to the Webhook caller.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| httpHeader | [**HttpHeader**](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117/Predefined+Structure+Types#HttpHeader) | Yes | The header to be added to the response |

## Return Type

**None**

## Example

```
....
// webhook logic
....
//setting a custom HTTP header to the webhook response:
HttpHeader header = httpCreateHeader("Content-Type", "application/javascript");
addWebhookResponseHeader(header);

//returning success
return true, 200;
```

## See also

> Macro (contentbylabel)