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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **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

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | httpHeader | **[HttpHeader](https://appfire.atlassian.net/wiki/spaces/PSCONF/pages/15303915)** | 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)