Create API token and service account

Is it possible to use an API token for an application that will use some of the endpoints my API expose?
I did not find much on API Token documentation. Is this intended for this use? If so, assuming that the application has that api token then when sending to the API what the API should do in order to either validate that token or call to another okta endpoint to make sure the token is valid?

Thanks

You canā€™t use the API Token to protect your endpoints.
Okta API tokens are used to authenticate requests to the ā€œOkta APIā€ just like HTTP cookies authenticate requests to the Okta Application with your browser.

Reference - https://support.okta.com/help/Documentation/Knowledge_Article/API-54325410

If you need to protect your own API endpoints, you should use API Access Management - https://developer.okta.com/use_cases/api_access_management/

1 Like

Thanks for your answer.

Experts,

I am newbie to okta. Trying to setup a ā€˜service userā€™ account with required privileges for create user API.

The application team will be using JAVA API to create users in okta tentant.

Could you please help me with any URL / steps to create service user.

Thanks!
sri

Can you create a new post and provide some more details about your use case and what youā€™re working on so we can see what your options are? Thanks!

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