# 3. Refresh Access Token

#### **Endpoint:**

```
POST <https://$>{AUTH_DOMAIN}/oauth2/token
Content-Type: application/x-www-form-urlencoded

```

#### **Parameters:**

| Parameter      | Type   | Description                                                                                               |
| -------------- | ------ | --------------------------------------------------------------------------------------------------------- |
| refresh\_token | string | The token generated when the Dar ID App owner enables expiring tokens and issues a new user access token. |
| grant\_type    | string | Must be "refresh\_token"                                                                                  |
| client\_id     | string | Your DAR ID client ID                                                                                     |
| client\_secret | string | Your DAR ID client secret                                                                                 |

#### **Example Request:**

```bash
curl -X POST ${AUTH_DOMAIN}/oauth2/token \\\\
  -H "Content-Type: application/x-www-form-urlencoded" \\\\
  -d "grant_type=refresh_token&refresh_token=${REFRESH-TOKEN}&client_id=${CLIENT-ID}&client_secret=${CLIENT-SECRET}"
```
