Connect a sportsbook
connect_sportsbookReturn a 10-minute betslipdoctor.ai link (linkUrl, expiresAt) for the customer to open and finish connecting a sportsbook. The app checks the requested book and optional two-letter state; without a state it uses the account’s state when known, otherwise the sportsbook list opens. If the state list is unavailable, the sportsbook list may open instead. While linking is not allowed it answers book_link_required with consent.text, consent.privacyUrl and consent.textVersion: show the text and privacy link word for word, and only after the customer’s explicit yes call again with consent true, that consentTextVersion and a commandKey (a missing or stale version is refused). Never sees sportsbook passwords; never places a wager.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | Yes | ||
| state | No | ||
| consent | No | ||
| commandKey | No | ||
| consentTextVersion | No |