> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Coinbase App OAuth2 Scopes

Scopes allow you to specify fine-grained access for your OAuth2 applications. Getting your scopes right is key to developing safe and trustworthy applications.

## Overview

With OAuth2, scopes are set in the [authorization URL](https://docs.cdp.coinbase.com/coinbase-app/oauth2-integration/integrations.md) and determine what API endpoints your application can access. All authenticated endpoints, except `GET /user`, require a specific scope.

With OAuth2, scopes should be considered as **grants**—users can select which scopes they allow for your application. To see which scopes a user has granted, use the `GET /user/auth` endpoint.

> [!WARNING]
>
> **Plan your scopes carefully before launch.** Scopes are declared when you register your OAuth application and are difficult to change later. Adding new scopes after users have already authorized your app requires them to re-authorize, which can disrupt their user experience.

> [!TIP]
>
> Only request scopes your application needs. Users more readily grant access to limited, clearly described scopes.

### Naming pattern

Scopes follow the pattern `service:resource:action`. The main services are `wallet` and `data`.

| Action | Description |
| :- | :- |
| `read` | List or read resources (e.g., listing transactions) |
| `create` | Create new resources (some have specific actions like `send`) |
| `update` | Update existing resources |
| `delete` | Delete resources |

## Account access

In addition to scopes, Coinbase App applications can request different levels of access to user's wallets. This access is defined by a dropdown selection on the consent page when the user connects to your app.

![Account access consent screen](https://mintcdn.com/coinbase-prod/Nwe99SJqMKlRkcv5/coinbase-app/images/account-access.png?fit=max\&auto=format\&n=Nwe99SJqMKlRkcv5\&q=85\&s=4da570748bb56dbb358a193b864600e2)

## Specifying scopes

Scopes are specified by including a `scope` parameter in your OAuth2 authorization request. Multiple scopes should be separated with a comma:

```
https://login.coinbase.com/oauth2/auth?response_type=code&client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_CALLBACK_URL&scope=wallet:accounts:read,wallet:transactions:read
```

If you need to obtain more permissions later, you can re-authenticate the user, prompting them to authorize additional scopes.

## Supported scopes

Below are listed all the available scopes for both Coinbase App application and API keys. For more information to understand which permission is required for a specific API action/endpoint, follow our `API reference` which includes *Permissions* section under each endpoint.

| Scope | Description |
| :- | :- |
| `wallet:accounts:read` | List user's accounts and their balances |
| `coinbase:stablecoins:balance-read` | List user's stablecoin accounts and their balances. If your app also has `wallet:accounts:read`, that scope takes precedence and all accounts are returned. |
| `wallet:accounts:update` | Update account (e.g. change name) |
| `wallet:accounts:create` | Create a new account (e.g. BTC wallet) |
| `wallet:accounts:delete` | Delete existing account |
| `wallet:addresses:read` | List account's bitcoin or ethereum addresses |
| `wallet:addresses:create` | Create new bitcoin or ethereum addresses for wallets |
| `wallet:buys:read` | List account's buys |
| `wallet:buys:create` | Buy bitcoin or ethereum. Required for buy-side order placement (`POST /api/v3/brokerage/orders`). |
| `wallet:deposits:read` | List account's deposits |
| `wallet:deposits:create` | Create a new deposit |
| `wallet:notifications:read` | List user's notifications |
| `wallet:payment-methods:read` | List user's payment methods (e.g. bank accounts) |
| `wallet:payment-methods:delete` | Remove existing payment methods |
| `wallet:payment-methods:limits` | Get detailed limits for payment methods (useful for performing buys and sells). This permission is to be used together with `wallet:payment-methods:read` |
| `wallet:sells:read` | List account's sells |
| `wallet:sells:create` | Sell bitcoin or ethereum. Required for sell-side order placement (`POST /api/v3/brokerage/orders`). |
| `wallet:subscription:read` | View the user's Coinbase One subscription status, tier, and renewal date. Required to call `GET /v2/subscriptions/coinbase-one`. |
| `wallet:trades:read` | List trades |
| `wallet:trades:create` | Create trades (`POST /api/v3/brokerage/convert/*`). |
| `wallet:transactions:read` | List account's transactions |
| `wallet:transactions:send` | Send bitcoin or ethereum |
| `wallet:transactions:request` | Request bitcoin or ethereum from a Coinbase user |
| `wallet:transactions:transfer` | Transfer funds between user's two bitcoin or ethereum accounts |
| `wallet:user:read` | List detailed user information (public information is available without this permission) |
| `wallet:user:update` | Update current user |
| `wallet:user:email` | Read current user's email address |
| `wallet:withdrawals:read` | List account's withdrawals |
| `wallet:withdrawals:create` | Create a new withdrawal |
| `wallet:watchlist:read` | Read the authenticated customer's ordered Simple Retail primary watchlist (`GET /v2/watchlist/items`). This scope does not imply `wallet:watchlist:update`. |
| `wallet:watchlist:update` | Add, remove, or reorder items in the authenticated customer's Simple Retail primary watchlist using `POST /v2/watchlist/items`, `/v2/watchlist/items/remove`, or `/v2/watchlist/items/reorder`. This scope does not imply `wallet:watchlist:read`. |
| `offline_access` | Return a refresh token in response |

See the [Simple Retail Watchlist API](https://docs.cdp.coinbase.com/coinbase-app/track-apis/watchlist.md) for
the endpoint contract.
