/api/user-bets (POST)
POST
/api/user-bets
const url = 'https://example.com/api/user-bets';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"pickId":1,"matchId":1,"market":"H2H","selectionLabel":"example","line":1,"oddsTaken":1,"stake":1,"sportsbook":"example","placedAt":"2026-04-15T12:00:00Z","notes":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/user-bets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "pickId": 1, "matchId": 1, "market": "H2H", "selectionLabel": "example", "line": 1, "oddsTaken": 1, "stake": 1, "sportsbook": "example", "placedAt": "2026-04-15T12:00:00Z", "notes": "example" }'Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
pickId
integer format: int32
matchId
integer format: int32
market
string
selectionLabel
string
line
number format: double
oddsTaken
number format: double
stake
number format: double
sportsbook
string
placedAt
string format: date-time
notes
string
object
pickId
integer format: int32
matchId
integer format: int32
market
string
selectionLabel
string
line
number format: double
oddsTaken
number format: double
stake
number format: double
sportsbook
string
placedAt
string format: date-time
notes
string
object
pickId
integer format: int32
matchId
integer format: int32
market
string
selectionLabel
string
line
number format: double
oddsTaken
number format: double
stake
number format: double
sportsbook
string
placedAt
string format: date-time
notes
string
Responses
Section titled “ Responses ”OK