Mint a short-lived JWT for authenticating WebSocket connections.
Usage:
ws://.../v1/ws/prices?token=<jwt>
cURL
curl --request POST \ --url https://staging-api.polysimulator.com/v1/keys/ws-token \ --header 'X-API-Key: <x-api-key>'
{ "token": "<string>", "expires_in": 123 }
Your PolySimulator API key
Successful Response
Was this page helpful?