RathRath Finance
API Reference

Register WebSocket

Creates or returns persistent WebSocket credentials for real-time transaction status notifications.

POST
/api/user/register-websocket

Authorization

bearerAuth
AuthorizationBearer <token>

Dashboard JWT used for authenticated account configuration endpoints.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://tachyon.rath.fi/api/user/register-websocket"
{
  "success": true,
  "data": {
    "wsUrl": "wss://tachyon.rath.fi/ws",
    "apiKey": "ws_1234567890abcdef1234567890abcdef"
  },
  "timestamp": "2025-10-24T12:34:56.789Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "category": "string",
    "details": null,
    "traceId": "string"
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "category": "string",
    "details": null,
    "traceId": "string"
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "category": "string",
    "details": null,
    "traceId": "string"
  },
  "timestamp": "2019-08-24T14:15:22Z"
}