Endpoint
API key in
Bearer pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx format.Always
application/json.The SDK never asks you to call this from the browser. Your backend calls it (see Backend Integration); the SDK only calls it directly as a fallback if you pass
secretKey to launch().Response / Success (HTTP 200)
fetchSessionToken returns it untouched and the SDK reads the fields it needs. You don’t need to parse or transform it.