---
title: "Issues new or Refreshes existing token"
method: POST
path: "/realms/{realm}/protocol/openid-connect/token"
tags: ["token"]
---

# Issues new or Refreshes existing token

`POST /realms/{realm}/protocol/openid-connect/token`

Issues new or Refreshes existing token

## Path parameters

- `realm` string, required

## Response `200`

OK

- DtoToken
  - `access_token` string
  - `expires_in` integer
  - `not-before-policy` integer
  - `refresh_expires_in` integer
  - `refresh_token` string
  - `scope` string
  - `session_state` string
  - `token_type` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/wissance/apis/untitled-api.md) · [All operations](https://skmtc.net/wissance/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wissance/untitled-api/versions/45bad8274649/schema)
