Skip to main content
POST
updateBotBrokerKeys

Headers

Authorization
string<JWT>
required

User API token.

Body

application/json
bot_id
string
required

AlphaInsider bot identifier.

broker_keys
object
required

Broker credentials. Send only the fields for the selected broker. Lighter requires live to be true plus lighter_key and lighter_secret; AlphaInsider resolves and stores its account and API key indexes server-side.

Response

Request was successful.

success
boolean

True when the request succeeded.

response
object

Endpoint-specific response payload, or an error message when success is false.