# Authorization for API Key - how?

**URL:** <https://community.postman.com/t/authorization-for-api-key-how/6325>\
**Category:** Help Hub\
**Created:** [July 4, 2019, 1:17pm UTC](https://community.postman.com/t/authorization-for-api-key-how/6325 "2019-07-04T13:17:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NathanBurnsDS](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@NathanBurnsDS](https://community.postman.com/u/NathanBurnsDS)\
**Post date:** [July 4, 2019, 1:17pm UTC](https://community.postman.com/t/authorization-for-api-key-how/6325/1 "2019-07-04T13:17:05Z")

</div>

Noob to API’s and Postman - I’m trying to use the Yelp API. After attaching the appropriate URL after GET in Postman I receive the error in the screenshot. I assume I fix this in the Authorization tab, but it’s not clear what I enter for “Key” and “Value”. I assume “Key” is the authorization key I received from Yelp (is this correct?) but what about “Value”? Many thanks in advance.

 ![screenshotPostman](https://us1.discourse-cdn.com/getpostman/original/2X/d/dbfc4ee5b8f7ba0ce2fcd58f6c5e54442f54685d.png)

---

<div class="post-metadata">

**Author:** ![NathanBurnsDS](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@NathanBurnsDS](https://community.postman.com/u/NathanBurnsDS)\
**Post date:** [July 4, 2019, 1:20pm UTC](https://community.postman.com/t/authorization-for-api-key-how/6325/2 "2019-07-04T13:20:22Z")

</div>

By “authorization key” I mean the “API key” I was given from Yelp.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [July 4, 2019, 1:26pm UTC](https://community.postman.com/t/authorization-for-api-key-how/6325/3 "2019-07-04T13:26:08Z")

</div>

Hey @NathanBurnsDS,

Thank you for posting your question! 🏆

Are you able to share a screenshot of the `Request Headers`, please?

I would imagine that the `header` should look something like this:

 ![30](https://us1.discourse-cdn.com/getpostman/original/3X/5/9/598de153881fbdc4ae71e3707ef1a8d7f8e1022c.png)

---

<div class="post-metadata">

**Author:** ![NathanBurnsDS](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@NathanBurnsDS](https://community.postman.com/u/NathanBurnsDS)\
**Post date:** [July 4, 2019, 1:37pm UTC](https://community.postman.com/t/authorization-for-api-key-how/6325/4 "2019-07-04T13:37:37Z")

</div>

You’re right ; I just replaced my token from Yelp with the API key and it worked. Thanks for the simple and swift response, Danny!

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [July 4, 2019, 1:42pm UTC](https://community.postman.com/t/authorization-for-api-key-how/6325/5 "2019-07-04T13:42:21Z")

</div>

You’re very welcome! 👍
