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

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

here is the error from postman

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
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

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’

1 Like

Hi Andrea

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


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.

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