Apify Discord Mirror

Updated 5 months ago

Webhook integration - more detailed headers?

At a glance

The community member has set up a webhook integration for an actor, but is concerned about API security. They would like to send more headers via the webhook or get more reliable, static information to set up a condition on their server to only accept the webhook if a token matches or the origin/referrer is an Apify domain. The current headers sent do not seem to be static or retrievable. The community member knows they can create variables in the payload, but they want to stop the webhook at the header level before parsing the payload.

A comment from another community member states that this is currently not supported.

I've set up webhook integration for an actor to fire upon success.

It works fine, however, I'm concerned about api security. Is there any way I can send more headers via the webhook (or get more reliable, static information)? I'd like to have a condition set up on my server to only accept the webhook if for example; a token matches, or the origin/refer is an apify domain. The couple of keys and Id sent in the headers as they are currently, don't seem to be static or retrievable.

I know I can create variables in the actual payload itself, but I'm wanting to stop the webhook at the header level, before I parse the payload
Attachment
image.png
P
1 comment
Hello I am sorry to say, but this is currently not supported.
Add a reply
Sign up and join the conversation on Discord