I need to modify the headers for a webhook request (to include auth token).
I understand that the ’ gform_webhooks_request_headers’ filter exists. BUT I don’t want this filter run for EVERY webhook configured on a form… just one specific webhook that requires the relevant header/token.
My question is: does the ‘gform_webhooks_request_headers’ filter get executed for ALL configured webhooks on the form, or can you specify a single configured webhook to be affected by this filter? If not, should I default to use ‘gform_after_submission’ action (gform_after_submission - Gravity Forms Documentation)?
Thanks in advance!