---
title: "Oauth Token"
method: POST
path: "/api/v1/oauth/token"
tags: ["oauth2-server"]
---

# Oauth Token

`POST /api/v1/oauth/token`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/oauth/token`
- Auth: none declared

OAuth2 token endpoint.

Accepts authorization_code or refresh_token grants.
Issue #157: Support public clients (no client_secret) with PKCE.
Returns Authlib response with proper status code and headers.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
