# Can you access a NON Dev Okta instance with Postman & API Token

**URL:** <https://devforum.okta.com/t/can-you-access-a-non-dev-okta-instance-with-postman-api-token/20044>\
**Category:** Questions\
**Created:** [March 31, 2022, 2:06pm UTC](https://devforum.okta.com/t/can-you-access-a-non-dev-okta-instance-with-postman-api-token/20044 "2022-03-31T14:06:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![armansour](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@armansour](https://devforum.okta.com/u/armansour)\
**Post date:** [March 31, 2022, 2:06pm UTC](https://devforum.okta.com/t/can-you-access-a-non-dev-okta-instance-with-postman-api-token/20044/1 "2022-03-31T14:06:56Z")

</div>

Hi Guys, can i access a NON DEV Okta instance with postman & api token? or does it have to be a dev envir. only? I followed the guide here [Test the Okta REST APIs using Postman | Okta Developer](https://developer.okta.com/code/rest/#set-up-your-environment)

here is the error from postman

ET [https://mycompany.okta.com/api/v1/users?filter=status%20eq%20"ACTIVE"&limit=100](https://mycompany.okta.com/api/v1/users?filter=status%20eq%20%22ACTIVE%22&limit=100)  
Error: Invalid character in header content [“Authorization”]  
Request Headers  
Accept: application/json  
Content-Type: application/json  
Authorization: SSWS my API xxxxxxxxxxxxxxxxxxxxxxx↵  
my API xxxxxxxxxxxxxxxxxxxxxxx:  
my API xxxxxxxxxxxxxxxxxxxxxxx  
User-Agent: PostmanRuntime/7.29.0  
Postman-Token: 01d83580-48e6-xxxxxxxx-xxxxxx  
Host: [companyname.okta.com](http://companyname.okta.com)  
Accept-Encoding: gzip, deflate, br  
Connection: keep-alive

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [March 31, 2022, 3:16pm UTC](https://devforum.okta.com/t/can-you-access-a-non-dev-okta-instance-with-postman-api-token/20044/2 "2022-03-31T15:16:23Z")

</div>

You can use the APIs with other orgs, Developer orgs just have certain, developer-centric features enabled for them by default.

Whats with the ‘my API’ portion in your Authorization headers? It should just be ‘SSWS insertAPIkeyhere’

 ![Screen Shot 2022-03-31 at 8.16.01 AM](https://global.discourse-cdn.com/oktadev/original/2X/4/4852753ab14570b1600696a7f33f3476feb76a5b.png)

---

<div class="post-metadata">

**Author:** ![armansour](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@armansour](https://devforum.okta.com/u/armansour)\
**Post date:** [March 31, 2022, 4:02pm UTC](https://devforum.okta.com/t/can-you-access-a-non-dev-okta-instance-with-postman-api-token/20044/3 "2022-03-31T16:02:04Z")

</div>

Hi Andrea

My Headers settings is exactly like you, here is my Envir. screen shot

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/4/433c0375053d903705e5edb26a408a4697e5cd7f.jpeg)

---

<div class="post-metadata">

**Author:** ![armansour](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@armansour](https://devforum.okta.com/u/armansour)\
**Post date:** [March 31, 2022, 8:18pm UTC](https://devforum.okta.com/t/can-you-access-a-non-dev-okta-instance-with-postman-api-token/20044/4 "2022-03-31T20:18:08Z")

</div>

Resolved

I copied my okta domain into a notepad , then paste it into my postman Env. settings, worked like a charm, looks like there was some unwanted characters like line breaks, tabs, etc.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [April 1, 2022, 8:18pm UTC](https://devforum.okta.com/t/can-you-access-a-non-dev-okta-instance-with-postman-api-token/20044/5 "2022-04-01T20:18:29Z")

</div>

Closed on April 1, 2022, 8:18pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
