New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Exchange Session Token

GET 

/sessions/token-exchange

Exchange Session Token

SDK ReferenceTypeScript
exchangeSessionToken()
ParametersTypeRequiredDescription
initCodestringrequiredThe part of the code return when initializing the flow.
returnToCodestringrequiredThe part of the code returned by the return_to URL.
VariableType
dataSuccessfulNativeLogin