---
title: How to Call the Vultr API with an OAuth Access Token
url: https://docs.vultr.com/platform/iam/oauth/access-tokens/how-to-call-the-vultr-api-with-an-oauth-access-token
description: Send an OAuth access token as a Bearer token to call the Vultr API on a customer's behalf, within granted scopes.
publish_date: 2026-07-14T20:49:00.810198Z
last_updated: 2026-10-23T20:35:09.160496Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

An OAuth access token is an RS256 JSON Web Token (JWT) that your application presents as a Bearer token to the Vultr API. The token acts on behalf of the customer who authorized your application and is limited to the scopes they consented to, so it can never exceed the permissions the user held at consent time. An access token is valid for 1 hour (3600 seconds), after which the application uses its refresh token to obtain a new one.

Follow this guide to call the Vultr API with an OAuth access token using the Vultr API.

> [!NOTE]
> A delegated OAuth token is confined to its granted scope. It cannot manage API keys and cannot access endpoints that require account-level authority. Calls outside the granted scope return an HTTP `403 Forbidden` response.

Send a request to any Vultr API endpoint that accepts user authentication, passing the access token as a Bearer token. This example calls the [**Get Account Info** endpoint](https://www.vultr.com/api/#tag/account/operation/get-account). Replace `ACCESS-TOKEN` with the JWT from the token exchange.

```console
$ curl "https://api.vultr.com/v2/account" \
    -X GET \
    -H "Authorization: Bearer ACCESS-TOKEN"
```

The response contains the data the endpoint returns, scoped to the permissions the user consented to. A token whose grant does not cover the endpoint returns an HTTP `403 Forbidden` response, and an expired token returns an HTTP `401 Unauthorized` response. When a token expires, use your refresh token to obtain a new one rather than sending the user through consent again.
