---
title: "OAuth 2.0 token"
method: POST
path: "/oauth2/token_48I_v1"
---

# OAuth 2.0 token

`POST /oauth2/token_48I_v1`

Create a token to allow a third-party application to authenticate API calls to Orange Logic

## Request body

- object
  - `client_id` string, required — The client ID from the third-party application’s account in Orange Logic.
  - `client_secret` string, required — The client secret from the third-party application’s account in Orange Logic.
  - `grant_type` string, required — The type of authorization code you’re providing to generate the token. Enter one of two values: <code>authorization_code</code> or <code>refresh_token</code>.
  - `code` string, required — The authorization code provided by the third-party application when you run the <a href="https://developer.orangelogic.com/docs/authorize-third-party-apps#run-the-authorization-call">authorization call</a>.<br><b>Or</b>, the refresh token that you generated with a previous call.

## Response `200`

200

---

[API](https://skmtc.net/orangelogic/apis/security.md) · [All operations](https://skmtc.net/orangelogic/apis/security/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orangelogic/security/revisions/c8e945426c5e/schema)
