---
title: "Set Active Dynamic Account"
method: POST
path: "/iserver/dynaccount"
tags: ["tradingAccounts"]
---

# Set Active Dynamic Account

`POST /iserver/dynaccount`

Set the active dynamic account.

## Request body

- object
  - `acctId` string, required — The account ID that should be set for future requests.

## Response `200`

An array of objects detailing contract information.

- SetAccountResponse
  - `set` boolean — Confirms that the account change was set
  - `acctId` string — Confirms the account switched to.

## Other responses

- `401` — Missing, invalid, or unparseable Authorization token.
- `500` — internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
- `503` — service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

---

[API](https://skmtc.net/interactivebrokers/apis/api-reference.md) · [All operations](https://skmtc.net/interactivebrokers/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactivebrokers/api-reference/revisions/67f9f562c2c6/schema)
