sendBettingMateChatMessage
Sends a user message to an existing BettingMate AI chat session and returns the assistant's reply. Requires an active sessionId from createBettingMateChatSession.
Documentation
Try it now
Request parameters:
Call example:
sendBettingMateChatMessage({
sessionId: '5e6af8d1-6e71-4fa3-b753-5fe8f3e06159',
message: 'Hello'
})Response examples:
{
error: '',
isLoading: false,
data: {
result: 0,
details: {
session_id: '5e6af8d1-6e71-4fa3-b753-5fe8f3e06159',
message: "<p>Hello! I'm here to help you analyze sports data...</p>",
timestamp: '2026-06-08T10:46:51.415578Z',
recommendations: [{
sport: 1,
sport_alias: 'Football',
region: 10001,
region_alias: 'World',
competition: 3042,
competition_name: 'International Friendlies',
game: 29935545,
home_team_name: 'France',
away_team_name: 'Northern Ireland',
start_time: '2026-06-08T19:10:00Z',
market: 2282737922,
market_type: 'P1XP2',
tag: 999,
selections: [6787814713, 6787814714, 6787814715],
selection_prices: [],
is_player_market: false,
reason: null
}],
metadata: {
action: 'agent',
tools_used: [],
iterations: 1,
session_id: '5e6af8d1-6e71-4fa3-b753-5fe8f3e06159',
timestamp: '2026-06-08T10:46:51.351064+00:00',
warning: null,
user_id: 285523160,
error: null
}
}
}
}