renew

Renew WebSocket Token 🟨 🟦 🟩

GET https://api.soccerfootball.info/v1/ws/renew/?wid=ID

Extend the expiration time of an existing WebSocket token.

Query Parameters

Name
Type
Description

t

string

Your API Token DIRECT API ONLY

wid

string

The WebSocket token to renew

Headers

Name
Type
Description

X-RapidAPI-Key

string

Your API token RAPIDAPI ONLY

X-RapidAPI-Host

string

soccerfootballinfo.rapidapi.com RAPIDAPI ONLY

{
  "status": 200,
  "errors": [],
  "pagination": [],
  "result": [
    {
      "renewed": true,
      "token": "abc123xyz789...",
      "expires_at": "2024-01-15 15:00:00",
      "message": "WebSocket token renewed successfully"
    }
  ]
}

Example of code for direct API

Example of code for RapidAPI

More example of code on rapidAPIarrow-up-right

Last updated