How to get the Okta State token each time when user login

Hi Okta team,

Currently we are doing the app performance automation.

But we met one issue when tried to login Okta by sending below API


We cannot get the generated realtime state token, which is used as request body parameter in this API to be used in automation scripts. When it was dynamic token but we did not know how to get the token before sending the POST request.
Please refer to attached screenshot.

Is there any way to get the state token? or other ways to make the login automatically?

Any help would be greatly appreciated.