I am calling Okta API https://XXXX.oktapreview.com/api/v1/users using API Key via postman
In Authorization tab in postman, I have selected API Token and provided API key and value
I have created API Key from Okta menu security->API->token
I am getting below error , my API Key is valid and not expired … I would appreciate if anyone can let me know what I am missing
Thank you so much, Lijia !!
Yes, I am using postman to test this. After setting “Authorization”: “SSWS *******” in header section, it started working. I was passing this token in Authorization tab which was the issue. It does not matter to set this token in authorization tab but it needs to be set in header section.