---
title: "Token Endpoint"
method: POST
path: "/oauth/token"
---

# Token Endpoint

`POST /oauth/token`

Exchange a device_code or refresh_token for a fresh access token.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/codag/apis/infra-logs-templater.md) · [All operations](https://skmtc.net/codag/apis/infra-logs-templater/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codag/infra-logs-templater/revisions/a2c84c9154da/schema)
