
zhoujj1228firstNamez.20303 (Customer) asked a question.
In my case,
I need to check the session of Okta. Is the session of Okta active or not need to check that.
I used this API for it.
For that need to pass cookies in the header. But, I am not able to get cookies on our website.
Thank You.

Hello and thank you for reaching out to the Okta Community!
Information about retrieving cookies can be found here:
https://developer.okta.com/docs/guides/session-cookie/main/#retrieve-a-session-cookie-through-the-openid-connect-authorization-endpoint
https://developer.okta.com/docs/guides/session-cookie/main/#retrieve-a-session-cookie-by-visiting-a-session-redirect-link
https://developer.okta.com/docs/guides/session-cookie/main/#retrieve-a-session-cookie-by-visiting-an-application-embed-link
For more Developer resources, please visit: developer.okta.com and devforum.okta.com
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope it helps!