Skip to content

API Reference / Steam accounts

Reconnect accounts in error

Request a Steam session restart for up to 100 accounts in the error state, or for every such account of the workspace when none are named. Accounts whose error the customer must fix first (rejected credentials, a restricted account) or whose logins Steam is throttling are refused with the reason, so a reconnect never repeats a login Steam will reject.

POST/steam.v1.Steam/ReconnectAccounts

Request body

application/jsonRequired

Request to restart the Steam sessions of accounts in the error state.

accountNames?array<string>

Accounts to reconnect, at most 100. Empty means every account of the workspace in the error state, up to 100.

Response body

application/json

Success

results?array<ReconnectAccountResult>

One result per account considered.

Show attributes
accountName?string

The account this result is for.

refusal?string

Why no restart was requested. Unspecified when started.

Value in"RECONNECT_ACCOUNT_REFUSAL_NOT_IN_ERROR""RECONNECT_ACCOUNT_REFUSAL_CREDENTIALS_REJECTED""RECONNECT_ACCOUNT_REFUSAL_ACCOUNT_RESTRICTED""RECONNECT_ACCOUNT_REFUSAL_LOGIN_THROTTLED""RECONNECT_ACCOUNT_REFUSAL_NOT_FOUND"

started?boolean

True when a session restart was requested. The new session status arrives through AccountUpdated.

curl -X POST "https://api.goldmine.to/steam.v1.Steam/ReconnectAccounts" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountNames": [
      "trader_bot_01"
    ]
  }'
{
  "results": [
    {
      "accountName": "trader_bot_01",
      "started": true
    }
  ]
}