---
title: "Passo 4: Como utilizar o refresh_token para atualizar o access_token"
method: POST
path: "/auth/token"
---

# Passo 4: Como utilizar o refresh_token para atualizar o access_token

`POST /auth/token`

## Request

- Base URL: `https://api.rd.services`
- URL: `https://api.rd.services/auth/token`
- Auth: none required

###[Passo 4 de 4]

## Request body

- object
  - `client_id` string: client_id do aplicativo
  - `client_secret` string: client_secret do aplicativo
  - `refresh_token` string: refresh_token retornado na criação do token

## Response `200`

200

- object
  - `access_token` string
  - `expires_in` integer
  - `refresh_token` string

## Other responses

- `401`: 401

---

[API](https://skmtc.dev/rdstation/apis/rd-station-marketing-api.md) - [All operations](https://skmtc.dev/rdstation/apis/rd-station-marketing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rdstation/apis/rd-station-marketing-api/revisions/3c3df77f4eef?raw)
