Receive live events on your HTTP server
Build your own webhook accepting HTTP POST requests. Deploy it and copy the URL
Paste the URL in the app when you setup your new destination. Click on the "Test your server setup". You should receive a message.
Save the destination and select it.
The HTTP post request provides several parameters is each event. Some parameters are used only in specific events.
matchId: string => matches id
type: string => event type ( match_started, match_ended, match_half_time, goal, card, substitution)
 country: string => country name where the game happens
 countryId: string => country id
 countryLogo: string => country Flag Url if available
 league: string => league name
 leagueId: string => league id
 leagueLogo: string => league logo url if available
 matchStadium : string => stadium name
 matchReferee: string => referee name
 teamHome: string => home team name
 teamHomeId: string => home team id
 teamHomeBadge: string => home team logo url
 teamHomeScore: string => home team score
 teamAway: string =>  away team name
 teamAwayId: string =>  away team id
 teamAwayBadge: string  =>  away team logo url
 teamAwayScore: string  =>  away team score
 time: string  =>  time of event in minute
 score: string => match score
 side: string => side of the event (for goals, card or substition)
 player1: string => player 1 name (goal scorer, player getting a card or player leaving game)
 player1Id: string => player 1 id
 player2: string => player 2 name (player doing assist or player entering the game)
 player2Id: string => player 2 id
 card: string => yellow or red
 timestamp: string => server timestamp