API Authentication

11 views
Skip to first unread message

Jason Willcox

unread,
Jan 13, 2026, 9:30:22 AM (6 days ago) Jan 13
to ZAP User Group
Hi,

New to ZAP, have been using BurpSuite but looking to switching to ZAP.  I'm currently running into a blocker with API authentication.
Below is what was required to be completed in BurpSuite, how do I set the same in ZAP?

apiKeyHeader
Type - API Key / Custom token (Fixed)
Add to - Header
Name - Ocp-Apim-Subscription-Key
Key - ######################

apiKeyQuery
Type - API Key / Custom token (Fixed)
Add to - Query parameter
Name - subscription-key
Key - #######################

I added Ocp-Apim-Subscription-Key as a header under Session Management in the context using Header-based Session Management.

Any help appreciated

Thanks
Jason

Simon Bennetts

unread,
Jan 13, 2026, 11:27:30 AM (6 days ago) Jan 13
to ZAP User Group
Reply all
Reply to author
Forward
0 new messages