---
title: "Generate An Access Token"
method: POST
path: "/oauth/access_token"
tags: ["tradingOAuth10A"]
---

# Generate An Access Token

`POST /oauth/access_token`

Request an access token for the IB username that has granted authorization to the consumer.

## Headers

- `Authorization` string

## Response `200`

Success response with permanent OAuth access token

- TradingOAuth10aReqAccessTokenResponse200
  - `is_true` boolean — Indicates whether the authorizing username is paper or not.
  - `oauth_token` string — Permanent OAuth access token for the consumer with respect to the authorizing username. 20 character hex value.
  - `oauth_token_secret` string — OAuth token secret value. Base64-encoded string.

## Other responses

- `401` — Missing, invalid, or unparseable Authorization token.
- `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)
