---
title: "Create Upwardli Token Exchange"
method: POST
path: "/auth/token/exchange/"
tags: ["auth"]
---

# Create Upwardli Token Exchange

`POST /auth/token/exchange/`

Upwardli Token Exchange View

## Headers

- `Authorization` string, required

## Request body

- CreateUpwardliTokenExchange
  - `grant_type` string, required
  - `subject_token_type` string, required
  - `subject_token` string, required
  - `audience` string, required
  - `scope` string, required

## Response `201`

- CreateUpwardliTokenExchangeResponse
  - `access_token` string, required
  - `expires_in` integer, required
  - `token_type` string, required
  - `scope` string, required

---

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