dogabot dogabot Documentation

Update a bot

patch https://api.dogabot.com/api/v1/bots/{id}

Partial update of an owned bot. The bot must be stopped. Omit fields you do not want to change. Requires the listed write scope and feat:api:write on an Institutional account. Send Idempotency-Key.

Scopes write:automation write

Path parameters

id integer required
Example 42

Headers

Idempotency-Key string required

Unique key per mutation so retries stay safe.

Example retry-1

Body parameters

application/json required

name string
exchange string
symbol string
initial_capital number
execution_interval integer

Milliseconds.

candle_timeframe string
include_in_agg_stats boolean
markets array of object

When present, replaces all trade legs. Omit to leave markets unchanged.

params object

Strategy params. Same shape as the webapp save payload. Omit to leave unchanged.

Responses

200 OK
401 Unauthorized
403 Forbidden — missing scope or feature gate
404 Not found
429 Rate limited