Skip to content

GET /v1/auth/oauth/scopes

Lists the business permissions available to OAuth applications.

photon.auth.listOauthScopes(input?: ListOauthScopesInput, options?: RequestOptions): Promise<ListOauthScopesOutput>
import { Photon } from "@photon-ai/api";

const photon = new Photon();
const result = await photon.auth.listOauthScopes();
{
  "scopes": [
    "string"
  ]
}

Parameters

Photon-VersionPhotonVersion

Selects the API contract date. Without it, the request is served as 2026-07-01.

Returns

200 The configurable OAuth business permissions. ListOauthScopesResponse

Headers: Photon-Version. The raw response carries these headers; see Raw responses.

scopesarray of stringrequired

Business permissions an OAuth application can be configured with. Client creation and scope updates accept only these values. OIDC protocol scopes (openid, profile, email, offline_access) are not included.