Highway Taxi - WebSocket & FCM Test Console
DEV0
WS Base URL
API Base URL (for FCM)
Firebase Token
Chat (1-to-1)
Booking Status
FCM Notifications
One-to-One Chat WebSocket
Disconnected
wss://…/ws/chat?token=…
Connect
Disconnect
Recipient User ID
Message
Send
Or send raw JSON
Send Raw
Payload Reference
Send message: { "type": "message", "to": "<userId>", "text": "Hello" } Ping: { "type": "ping" }
Event Log
Clear
Booking Status WebSocket
Disconnected
wss://…/ws/booking?token=…
Connect
Disconnect
Booking ID
Subscribe
Unsubscribe
Active Subscriptions
No active subscriptions
Or send raw JSON
Send Raw
Payload Reference
Subscribe: { "type": "subscribe", "bookingId": "<uuid>" } Unsubscribe: { "type": "unsubscribe", "bookingId": "<uuid>" } Ping: { "type": "ping" } Server events: { "type": "status_update", "bookingId": "...", "status": "confirmed|on_the_way|completed|cancelled", "timestamp": "..." }
Event Log
Clear
FCM Push Notification Tester
Admin JWT Token
Target Type
Customer
Driver
Target User ID (UUID)
Notification Title
Notification Body
Your driver is on the way. Estimated arrival: 5 minutes.
Image Banner URL (optional)
Redirect URL / Deep Link (optional)
Custom Data JSON (optional)
{ "bookingId": "abc-123", "screen": "booking_detail" }
Send Notification
Request Payload
Click "Send Notification" to see payload
Response Log
Clear
Mobile Preview
HT
Booking Confirmed
Your driver is on the way. Estimated arrival: 5 minutes.
API Endpoint
POST {apiBase}/admin/notification/send Headers: Authorization: Bearer {adminJwtToken} Content-Type: application/json Body: { "target_type": "customer" | "driver", "target_id": "<uuid>", "title": "Booking Confirmed", "body": "Your driver is on the way...", "image": "https://...", "redirect_url": "highwaytaxi://...", "data": { ... } }