new
Create WebSocket Token 🟨 🟦 🟩
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"status": 200,
"errors": [],
"pagination": [],
"result": [
{
"is_new": true,
"token": "abc123xyz789...", // The WebSocket authentication token
"server": "wss://ws-eu.soccerfootball.info/?token=abc123xyz789...", // Full WebSocket connection URL with token
"max_connections": 2, // Maximum simultaneous client connections allowed
"max_subscribe_per_connection" : 2,// Maximum subscribe allowed per connection
"allowed_channels": ["MAIN"], // List of channels available for subscription MAIN, STATS, ODDS, STATS_REALTIME, ODDS_REALTIME
"expires_at": "2024-01-15 14:30:00" // Token expiration timestamp (UTC)
}
]
}Example of code for direct API
Example of code for RapidAPI
Last updated