Control betting accounts
POST /bookieaccount/control/
Operation ID: send_command_to_bot_all
Send a command to the bot for all sessions. This endpoint allows you to control all your bookie account bots simultaneously.
Request Body
Parameters
command
string
Yes
Command name. Available commands: all_on
, all_off
Available Commands
all_on
Turn on all bots for all bookie accounts
all_off
Turn off all bots for all bookie accounts
Response
Success Response (200)
Error Responses
400 Bad Request - Invalid command or request format
401 Invalid credentials - Authentication token is invalid or missing
500 Internal server error - Server encountered an error processing the request
Usage
Turn on all bots:
Turn off all bots:
Potential Use Cases
Emergency Shutdown: Quickly turn off all bots in case of issues or emergencies
System Maintenance: Turn off all bots before performing system maintenance
Bulk Operations: Efficiently manage all bots without individual account control
Daily Operations: Start all bots at the beginning of trading day
Risk Management: Quickly stop all automated betting during high-risk periods
System Recovery: Restart all bots after system issues or updates
Scheduled Control: Integrate with scheduling systems for automated bot management
Compliance: Ensure all bots are stopped during restricted periods
Authentication
This endpoint requires authentication. Include your token in the Authorization header:
Important Notes
Bulk Operation: This command affects ALL your bookie accounts simultaneously
Immediate Effect: Commands take effect immediately across all accounts
Status Reporting: The response includes individual results for each account
Error Handling: Some accounts may succeed while others fail - check individual results
Bot Dependencies: Ensure no critical betting operations are running before using
all_off
Recovery Time: Allow time for bots to fully start up after using
all_on
Best Practices
Monitor Results: Always check the response to ensure all accounts were affected as expected
Gradual Rollout: Consider controlling accounts individually for critical operations
Backup Plans: Have manual control procedures in case bulk commands fail
Timing: Use during low-activity periods to minimize impact on betting operations
Last updated