# POST /v1/oauth/refresh is deprecated

Figma REST API deprecated POST /v1/oauth/refresh without giving a shutdown date yet.

- API: Figma REST API (api.figma.com)
- Kind: Endpoint removal
- Announced: May 16, 2025
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1/oauth/refresh`
- Source: [Announcement](https://developers.figma.com/docs/rest-api/changelog/)
- Page: https://www.okapi.bot/providers/figma-rest-api/breaking-changes/post-v1-oauth-refresh-is-deprecated/

## What to use instead

Refresh tokens with POST /v1/oauth/token and grant_type=refresh_token.

## Figma REST API's words

> The legacy endpoint will continue to be supported for now, but we recommend you migrate to using the new endpoint.
