---
title: "Get all scopes."
method: GET
path: "/v1/oauth/scopes"
tags: ["oauthManagement"]
---

# Get all scopes.

`GET /v1/oauth/scopes`

Get a list of all of the scopes that can be added to an oauth client.

## Response `200`

A list of scopes that can be added to an oauth client.

- ScopesList
  - `data` ScopeDefinition[], required — List of scopes
    - `id` string, required — The name of the scope.
    - `label` string, required — The UI label for the scope.
    - `type` string, required — Type of scope.
    - `dependsOn` string[], required — Any scopes that are required for this scope to be enabled.
    - `group` object, required — The group that the scope belongs to.
      - `id` string, required — The name of the scope group
      - `label` string, required — The label for the scope group
      - `parentId` string — The ID of the parent scope group

## Other responses

- `default` — Operation failed with an error

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/e4e4c7554890/schema)
