---
title: "Refresh Token Endpoint"
method: POST
path: "/auth/refresh_token"
tags: ["authentication"]
---

# Refresh Token Endpoint

`POST /auth/refresh_token`

Refresh the access token using the refresh token

This route refreshes the access token by using the refresh token.
It's different from the /auth/token route because it does not require 
the reseller's id and secret.

## Request body

- RefreshTokenRequest — Request model for token refresh
  - `refresh_token` string, required

## Response `200`

Successful Response

- TokenResponse — Response model for token generation
  - `access_token` string, required
  - `expires_in` string, date-time, required
  - `refresh_token` string, required
  - `refresh_token_expires_in` string, date-time, required
  - `token_type` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/avanan/apis/avanan-api.md) · [All operations](https://skmtc.dev/avanan/apis/avanan-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/avanan/avanan-api/revisions/4048d3949a4a/schema)
