---
title: "Refresh Bearer Token"
method: POST
path: "/auth/refresh"
tags: ["Advanced authentication"]
---

# Refresh Bearer Token

`POST /auth/refresh`

Accepts the old bearer token and returns a new bearer token that can be used to authenticate other endpoint.

You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).

## Request body

- RefreshTokenPayload
  - `refreshToken` string, required — The refresh token is either the first refresh token you received when you authenticated with the auth/api-key endpoint, or it's the refresh token from the last time you used the auth/refresh endpoint. Place this in the body of your request to obtain a new access token (which is valid for an hour) and a new refresh token.

## Response `200`

Success

- AccessToken
  - `access_token` string — The access token containing security credentials allowing you to acccess the API. The token lasts for one hour.
  - `token_type` string — The type of token you have.
  - `refresh_token` string — A token you can use to get the next access token when your current access token expires.
  - `expires_in` integer — Lists the time in seconds when your access token expires. It lasts for one hour.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/apivideo/apis/api-video.md) · [All operations](https://skmtc.net/apivideo/apis/api-video/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apivideo/api-video/revisions/45ec26f342b6/schema)
