Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| developers:websocket:connecting [2025/03/14 03:11] – chad | developers:websocket:connecting [2026/05/29 16:49] (current) – chad | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| | **Live** | %%wss:// | | **Live** | %%wss:// | ||
| | **Simulator** | %%wss:// | | **Simulator** | %%wss:// | ||
| + | | **Live (Admin)** | %%wss:// | ||
| + | | **Simulator (Admin)** | %%wss:// | ||
| </ | </ | ||
| Line 20: | Line 22: | ||
| ===== Authentication ===== | ===== Authentication ===== | ||
| Authentication must be performed **immediately after establishing a connection** by sending a `LoginRequest` message. This API supports two authentication methods: | Authentication must be performed **immediately after establishing a connection** by sending a `LoginRequest` message. This API supports two authentication methods: | ||
| - | - **API Key Authentication** (provide only the `api_key` field). | + | - **API Key Authentication** (provide only the `apikey` field). |
| - | - **Username/ | + | - **Username/ |
| **Example LoginRequest (API Key Authentication): | **Example LoginRequest (API Key Authentication): | ||
| < | < | ||
| { | { | ||
| - | "api_key": " | + | "apiKey": " |
| } | } | ||
| </ | </ | ||
| Line 36: | Line 38: | ||
| " | " | ||
| " | " | ||
| - | "app_name": " | + | "appName": " |
| - | "app_license": " | + | "appLicense": " |
| } | } | ||
| </ | </ | ||
| Line 47: | Line 49: | ||
| { | { | ||
| " | " | ||
| - | "session_id": " | + | "sessionId": " |
| - | "user_id": " | + | "userId": " |
| - | "firm_id": " | + | "firmId": " |
| " | " | ||
| } | } | ||