---
title: "POST /oauth2/token"
method: POST
path: "/oauth2/token"
---

# POST /oauth2/token

`POST /oauth2/token`

Get or refresh an access token

## Response `200`

OK

- object
  - `access_token` string, required
  - `expires_in` integer, required
  - `id_token` string, required
  - `refresh_token` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — TooManyRequests
- `500` — Internal Error

---

[API](https://skmtc.net/slashfi/apis/slash-public-api.md) · [All operations](https://skmtc.net/slashfi/apis/slash-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/slashfi/slash-public-api/versions/773c90f079c5/schema)
