
WeiQ.83473 (Customer) asked a question.
I am currently building a dashboard to monitor all the API tokens under my account. I only need to track the API token id, status, and some timestamps, no need to reveal the token strings.
After researching around for a while, I couldn't find such API that can return the list of API tokens.
Then I extracted an internal API from the OKTA Admin UI -> Security -> API -> Token view. And this is the internal API looks like: https://xxxxxx.okta.com/api/internal/tokens
Here's some questions about the API:
1. Is there a real public API that can list all the API tokens?
2. If there's no public API to list API tokens, is it allowed to use the /api/internal/tokens endpoint outside okta UI to list all the tokens?
3. What's the rate limit for /api/internal/tokens?
4. Is there any security concern on using this API outside OKTA UI? Why there's no such API created or documented for customer to use?
Thank you!

Hello @WeiQ.83473 (Customer)
I hope you are having a great day
Thank you for posting, I tried to find an API that list all the API's but this is not documented.
the link below include the API to list all the tokens:
https://developer.okta.com/docs/reference/api/users/#response-parameters-5
the rate limit per token is 5 seconds ( To the Identity Engine, to 20 requests per user per 5 seconds and 10 requests per state token per 5 seconds ). If you need further assistance you can also feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, this is a place for the Okta developer community to interact
I hope this helps !!!
Have a great day ahead
Regards
Henry E.
Okta Inc.
Hi Henry,
Thank you for the reply. But, I can not find anything related to API tokens from this link https://developer.okta.com/docs/reference/api/users/#response-parameters-5, or the related user object: https://developer.okta.com/docs/reference/api/users/#user-object. Could you past a sample request and response here?
Thank you very much for the help! I really appreciate your help.
Best Regards!