# Using dynamic job variables in the HTTP header of a Webhook notification in AWX

**URL:** <https://forum.ansible.com/t/using-dynamic-job-variables-in-the-http-header-of-a-webhook-notification-in-awx/45386>\
**Category:** Get Help\
**Tags:** variables, awx\
**Created:** [February 23, 2026, 4:36pm UTC](https://forum.ansible.com/t/using-dynamic-job-variables-in-the-http-header-of-a-webhook-notification-in-awx/45386 "2026-02-23T16:36:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomDraps](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@TomDraps](https://forum.ansible.com/u/TomDraps)\
**Post date:** [February 23, 2026, 4:36pm UTC](https://forum.ansible.com/t/using-dynamic-job-variables-in-the-http-header-of-a-webhook-notification-in-awx/45386/1 "2026-02-23T16:36:36Z")

</div>

Hello,

I am using AWX to run jobs and I want to send a Webhook notification upon completion.

**The issue:**  
The API I am calling via the Webhook requires an Access Token in the HTTP header (Authorization: Bearer …). This token is not permanent; it is retrieved dynamically during the execution of my job.

**My question:**  
Is it possible to take a variable generated by my job and insert it directly into the HTTP header configuration of the Webhook notification?

I noticed that it is possible to customize the message body (the text) using variables, but I cannot find a way to do the same for the Header.

Is this a supported feature in AWX, or are notification headers strictly static?

Thank you for your help !

Tom

---

<div class="post-metadata">

**Author:** ![U880D](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/u880d/32/10032_2.png) [@U880D](https://forum.ansible.com/u/U880D)\
**Post date:** [February 24, 2026, 7:25am UTC](https://forum.ansible.com/t/using-dynamic-job-variables-in-the-http-header-of-a-webhook-notification-in-awx/45386/2 "2026-02-24T07:25:03Z")

</div>

> [@TomDraps](#):
>
> Is this a supported feature in AWX, or are notification headers strictly static?

According documentation [Notifications - Webhook](https://docs.ansible.com/projects/awx/en/24.6.1/userguide/notifications.html#webhook), can you try and test with something like

```lang-yaml
{"Authentication": "{{ _token }}", "MessageType": "Test"}

```

in your hook configuration?
