---
updatedAt: 2026-03-19T15:06:30.000Z
agentTools:
  projectIndex: https://developers.miro.com/llms.txt
---

# Step 4: Use access token for REST API requests

## Prerequisites

* [Exchange authorization code with access token](https://developers.miro.com/miro-ea/reference/ne-exchange-authorization-code-with-access-token)

## Use token for REST API requests

You can now use the token for making REST API requests in one of the following ways:

1. Pass the token as a query parameter

```
GET
https://api.miro.com/v1/oauth-token?access_token=replace_with_actual_access_token
```

2. Pass the token in the *Authorization* header

```
GET
https://api.miro.com/v1/oauth-token
Authorization: Bearer replace_with_actual_access_token
```

[block:callout]
{
  "type": "info",
  "body": "1. Authentication endpoints are not being deprecated. These endpoints remain the same and use v1 in the endpoint URLs, as documented.\n\n2. If you haven't enabled the [expire user authorization token feature](https://developers.miro.com/docs/rest-api-build-your-first-hello-world-app#step-2-create-your-app-in-miro), the token will continue functioning until the user uninstalls your app from the team. If you enabled the expire user authorization token feature, the access token expires in 1 hour and the refresh token expires in 60 days.",
  "title": "Notes"
}
[/block]

# Sibling pages

* [Step 1: Create authorization request link](https://developers.miro.com/miro-ea/reference/ne-create-authorization-request-link.md)
* [Step 2: Request the user for authorization](https://developers.miro.com/miro-ea/reference/ne-request-user-for-authorization.md)