oCoreoCore Docs
API Reference

Web Socket

Get WebSocket token

Returns a short-lived JWT token for authenticating WebSocket connections.

GET
/ws-token

Authorization

Authorization<token>

JWT Bearer token (format: Bearer {token})

In: header

curl -X GET "//api.ocore.dev/api/ws-token" \
  -H "Authorization: <token>"

OK

{
  "token": "string"
}

Was this page helpful?