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

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

According documentation Notifications - Webhook, can you try and test with something like

{"Authentication": "{{ _token }}", "MessageType": "Test"}

in your hook configuration?