APIM - How to pass subscription key to API on each operation call?

juni dev 336 Reputation points


I have an API that will be invoked via APIM
I need to receive on my API the identification of the caller App. I was requested to do this by capturing the APIM subscription Key.
How can I pass the subscription Key from APIM to my invoked API and capture it there?

Help is really appreciated


Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,854 questions
0 comments No comments
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 22,631 Reputation points

    Hi @juni dev Thanks for reaching out. From the description I understand that you wanted to capture the APIM subscription key at your backend correct me if i am wrong here,

    If yes, please note that subscription key is by designed to be sent via header/query param to the backend from APIM as shown below


    Reference: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-api-inspector

    let me know incase of further queries, I would be happy to assist you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful