Hi Jay,
Thanks for joining the conversation! When one creates a webhook, you get a webhook_id and a token. You can see this under Webhooks in Aruba Central.
When my application sitting on the internet receives a webhook call, I see the webhook's ID in the HTTP POST data. As en example, here is some of the data I receive.
{
alert_type': 'SWITCH_POE_UTILIZATION',
'webhook': '12341234-1234-1234-1234-1234234523252'
}
Whilst I get the webhook_id in the POST data, I do not get the webhook's token.
I've also checked the HTTP params, i,e, the things after the host in the url:
https://myhost.com/post_action?param1=hello¶m2=goodbye
There is no webhook token in the params, in fact, there are no params at all.
So lastly, I check the HTTP headers. Again I see no webhook token there.
I do see some Aruba Central specific things such as:
{
X-Central-Delivery-Timestamp': '1583177418',
'X-Central-Customer-Id': '1234567,
'X-Central-Signature': 'random_text=',
'X-Central-Service': 'alerts', 'Content-Type': 'application/json'
}
But no webhook token.
Does that explain things a bit better? In short, I'm trying to find the webhook's token in the request that Aruba Central sends to my host when firing the webhook.
Cheers,
Conor