You can add a subscription key to your request in 2 ways:

1. Include it in the query string

  • Open Postman and select the Params tab for your request.
  • Go to the Find and Use an API Subscriptions details page, and scroll to the Native OAuth Application-flow section.
  • Copy the query parameter value. For this example, the value is 'subscription-key'.
  • Paste that value into the Query Params Key field in Postman.
  • Go back to the Find and Use an API Subscriptions details page, and scroll to the Native OAuth Application-flow section.
  • Copy the primary key value.
  • Paste the primary key value into the Query Params Value field in Postman.
  • Select Send to run the request.

2. Add it to the header

  • Open Postman and select the Headers tab from your request.
  • Go to the Find and Use an API Subscriptions details page, and scroll Subscription key section.
  • Copy the header name value. For this example, the value is 'Apim-Subscription-Key'.
  • Paste that value into the Headers Key field in Postman.
  • Go back to the Find and Use an API Subscriptions details page, then scroll Subscription key section.
  • Copy the primary key value.
  • Paste that primary key value into the Header Value field in Postman.
  • Select the Send button to execute the request.

If your API subscription uses the Native OAuth Application-flow, you need to get an API subscription token.