GraphQL - Authorization

Zoho CRM GraphQL APIs uses OAuth 2.0 for authorization, same as that of Zoho CRM REST APIs. Refer to OAuth Overview for details.

In a single GraphQL API invocation, multiple resources can be queried. However, you need to have proper OAuth scopes to access the corresponding GraphQL resources. Each resource is associated with a particular GraphQL type and should be accessed with token having proper OAuth scope.

Required Scopes : ZohoCRM.GraphQL.READ (and) Scope of the corresponding resources

Scopes of different resources

Resource and its typeRequired Scope
{module}__Connection typeZohoCRM.modules.{module}.READ
{module}__data typeZohoCRM.modules.{module}.READ
Modules under the _Meta typeZohoCRM.settings.modules.READ
ChildRelations under the _Meta typeZohoCRM.settings.child_relationships.READ
Layouts under the _Meta typeZohoCRM.settings.layouts.READ
RelatedLists under the _Meta typeZohoCRM.settings.related_lists.READ
ProfilesZohoCRM.settings.profiles.READ
Fields under the _Meta typeZohoCRM.settings.fields.READ
CustomViews under the _Meta typeZohoCRM.settings.custom_views.READ
Users ZohoCRM.users.READ
RolesZohoCRM.settings.roles.READ
Widgets under the _Meta typeZohoCRM.settings.widgets.READ