---
title: "Create Access Token"
method: POST
path: "/oauth2/api/v1/token"
tags: ["authorizationToken"]
---

# Create Access Token

`POST /oauth2/api/v1/token`

Generate OAuth 2.0 access tokens based on request parameters.

## Request body

- TokenRequest
  - `clientId` string
  - `clientAuthenticationMethod` 'none' | 'private_key_jwt' | 'client_secret_basic' | 'client_secret_post'
  - `clientAssertion` string
  - `clientSecret` string
  - `clientAssertionType` string

## Response `200`

Returns a token response.

- TokenResponse
  - `access_token` string — The serialized access token
  - `refresh_token` string — The serialized refresh token if applicable
  - `id_token` string — The serialized ID token if applicable
  - `token_type` string — The token type (e.g., Bearer)
  - `scope` string — The space-delimited list of granted scopes
  - `expires_in` integer — The number of seconds from now until the access token expires

## Other responses

- `400` — Returns a [Problem detail](https://datatracker.ietf.org/doc/html/rfc9457) instance representing a bad request.
- `500` — Returns a [Problem detail](https://datatracker.ietf.org/doc/html/rfc9457) instance representing an internal server error.

---

[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)
