List grant contextsv3.1
Experimental: this endpoint is in beta and its contract may change.
List of contexts in which you want to grant scopes to your user. Pass a dimension and its selected value in the grant_context field of the Get required scopes request to tailor the scope recommendation.
In the Jira example, default_grant_context is {"scope_family": "classic"}, so a recommendation with no grant_context uses classic scopes. Pass {"scope_family": "granular"} to get granular scopes instead.
Authorization
ApiKeyAuth Project API key authentication
In: header
Path Parameters
Toolkit to list grant contexts for.
Query Parameters
Auth scheme the connection will use. Defaults to OAUTH2.
"OAUTH2"OAUTH2OAUTH1API_KEYBASICBILLCOM_AUTHBEARER_TOKENGOOGLE_SERVICE_ACCOUNTNO_AUTHBASIC_WITH_JWTCALCOM_AUTHSERVICE_ACCOUNTSAMLDCR_OAUTHCIMD_OAUTHS2S_OAUTH2Toolkit version to read the catalog from; defaults to the latest published version. Pass a concrete version to pin.
"latest"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v3.1/toolkits/string/scopes/grant_context"{ "auth_scheme": "OAUTH2", "toolkit_version": "20260917_00", "grant_context_dimensions": [ { "dimension": "scope_family", "description": "Which Atlassian OAuth scope catalog to draw from: classic scopes cover broad product areas, granular scopes name individual operations. Defaults to classic, matching the scopes our Jira OAuth app requests today.", "values": [ "classic", "granular" ] } ], "default_grant_context": { "scope_family": "classic" }}