Alternative for {api_token}

In my application i am able to get access_token, refresh_toke, id_token.

But in some of the API provided by Okta expecting {api_token), So how can i get {api_token} using the above 3 tokens ?

Please suggest.

Assuming you are using okta-auth-js, or another one of our FE libraries that rely on it you can use getAccessToken(). Other options would be to use tokenManager to get a specific token, or to get all tokens.