/
v3.0.11Get access

subscribeToCouponGamesOnly

This API establishes a targeted subscription to receive real-time data updates only for a specific subset of games.

Request parameters:

NameDescriptionTypeValuesDefault
gameIds
An array of numeric ids of matches to subscribe.array--

Call example:

subscribeToCouponGamesOnly({
  gameIds: [29706036]
})

Response examples:

{
  game: {
    '29706036': {
      sport: {
        name: 'Football',
        alias: 'Soccer',
        order: 1
      },
      region: {
        name: 'Europe',
        order: 0
      },
      competition: {
        name: 'UEFA Champions League',
        order: 1
      },
      id: 29706036,
      team1_id: 435,
      show_type: 'OUTRIGHT',
      team2_id: 387,
      start_ts: 1780156800,
      _parent_id: 566,
      team2_name: 'Arsenal',
      team1_name: 'Paris Saint-Germain',
      sport_alias: 'Soccer',
      region_alias: 'Europe',
      team1_reg_name: 'FR',
      team2_reg_name: 'GB'
    }
  }
}