Scopes

For improved security, Bigin APIs enable scopes for API requests to restrict clients from accessing unauthorized resources. In general, the implementation of scopes helps users to limit the amount of access that is given to an application.

In Bigin, to control the resource access, the scopes are associated with an access token that the client must share with each API request. For that reason, as a developer, you must register your client to get client credentials. Then, along with the client credentials you can associate the required scopes with authorization code request. Once the code is generated, you can use it to generate access tokens for the given scopes.

Also, when the client requests user to authorize for accessing resources, the user has an option to view the scopes the client is trying to gain access to, and then decide whether to accept or reject the request.

In Bigin, the format of scope has three components as shown below:

Scope = scope_service.scope_name.operator_type

Component nameDescription

scope_service

The service API name. In this case, ZohoBigin.

scope_name

Name of the scope. For example, pipelines, org, settings and modules.

operator_type

Indicates the type of access. Bigin APIs have the following operator types:
  • ALL - gets full access to data
  • READ - retrieves data from the resource server
  • CREATE - creates data in the resource server
  • WRITE - edits data in the resource server
  • DELETE - removes data in the resource server

Available Scopes

users

ScopeDescriptionEndpoints
ZohoBigin.users.ALLView and manage users in an organizationGet a list of users, Add a user, Update a user, Delete a user
ZohoBigin.users.READView the details of users in an organizationGet a list of users
ZohoBigin.users.CREATECreate users in an organizationAdd a user
ZohoBigin.users.WRITEEdit user details in an organizationUpdate a user
ZohoBigin.users.DELETEDelete users from an organizationDelete a user

org

ScopeDescriptionEndpoints
ZohoBigin.org.ALLView and manage organization detailsGet organization details, Upload organization photo
ZohoBigin.org.READView the organization detailsGet organization details
ZohoBigin.org.CREATEUpload the brand logo or image of the organizationUpload organization photo
ZohoBigin.org.WRITEUpdate the brand logo or image of the organizationUpload organization photo

settings

ScopeDescriptionEndpoints
ZohoBigin.settings.ALLView and manage all aspects of an organizationGet a list of modules, Get the metadata of a specific module, Get the field details of a specific module, Get the layout details of a specific module, Get the related list metadata of a specific module, Get the custom view metadata of a specific module, Get a list of tags available in a module, Get record count for a specific tag, Create tags, Update tags, Delete tags
ZohoBigin.settings.modules.ALLView and manage details of modules available in an organizationGet a list of modules, Get the metadata of a specific module
ZohoBigin.settings.modules.READView all details of modules available in an organizationGet a list of modules, Get the metadata of a specific module
ZohoBigin.settings.roles.ALLView and manage roles' detailsGet roles details
ZohoBigin.settings.roles.READView details of all rolesGet roles details
ZohoBigin.settings.profiles.ALLView and manage profile detailsGet profiles details
ZohoBigin.settings.profiles.READView details of all profilesGet profiles details
ZohoBigin.settings.fields.ALLView and manage the field metadata of a moduleGet the field metadata of a specific module
ZohoBigin.settings.fields.READView metadata of all fields in a moduleGet the field metadata of a specific module
ZohoBigin.settings.layouts.ALLView and manage the layouts associated with a moduleGet the layout details of a specific module
ZohoBigin.settings.layouts.READView the details of layouts associated with a moduleGet the layout details of a specific module
ZohoBigin.settings.related_lists.ALLView and manage the related list details of a moduleGet the related list metadata of a specific module
ZohoBigin.settings.related_lists.READView the details of related lists in a moduleGet the related list metadata of a specific module
ZohoBigin.settings.custom_views.ALLView and manage the custom view details of a moduleGet the custom view metadata of a specific module
ZohoBigin.settings.custom_views.READView the details of custom views in a moduleGet the custom view metadata of a specific module
ZohoBigin.settings.tags.ALLView and manage the tag details of a moduleGet a list of tags available in a module, Get record count for a specific tag, Create tags, Update tags
ZohoBigin.settings.tags.READView the tag details of a moduleGet a list of tags available in a module, Get record count for a specific tag
ZohoBigin.settings.tags.WRITEEdit the tag details of a moduleCreate tags, Update tags, Delete tags
ZohoBigin.settings.tags.CREATECreate tags for a moduleCreate tags
ZohoBigin.settings.tags.UPDATEUpdate tags for a moduleUpdate tags
ZohoBigin.settings.tags.DELETEDelete existing tags from a moduleDelete tags

modules

ScopeDescriptionEndpoints
ZohoBigin.modules.ALLView and manage modulesGet a list of attachments, Upload an attachment, Download an attachment, Delete an attachment, Upload a photo, Download a photo, Delete a photo, Get a list of available records, Insert new records, Update existing records, Delete records, Get the related list records, Update related records, Delink related records, Get a list of notes, Add new notes, Update an existing note, Delete notes, Add tags to records, Delete tags from records
You can use any of the following based on the module you want to access:
  • ZohoBigin.modules.contacts.ALL
  • ZohoBigin.modules.accounts.ALL
  • ZohoBigin.modules.products.ALL
View and manage specific modules such as contacts, accounts (companies in Bigin UI) and productsUpload a photo, Download a photo, Get a list of available records, Insert new records, Update existing records, Delete records, Search records, Get the related list records, Update related records, Delink related records, Add tags to records, Delete tags from records
You can use any of the following based on the module you want to access:
  • ZohoBigin.modules.contacts.READ
  • ZohoBigin.modules.accounts.READ
  • ZohoBigin.modules.products.READ
View the details of modules such as contacts, accounts (companies in Bigin UI) and productsDownload a photo, Get a list of available records, Search records, Get the related list records
You can use any of the following based on the module you want to access:
  • ZohoBigin.modules.contacts.CREATE
  • ZohoBigin.modules.accounts.CREATE
  • ZohoBigin.modules.products.CREATE
    Add new records to a moduleUpload a photo, Insert new records, Add tags to records
    You can use any of the following based on the module you want to access:
    • ZohoBigin.modules.contacts.WRITE
    • ZohoBigin.modules.accounts.WRITE
    • ZohoBigin.modules.products.WRITE
    Edit records in the moduleUpload a photo, Insert new records, Update existing records, Update related records, Delink related records, Add tags to records, Delete tags from records
    You can use any of the following based on the module you want to access:
    • ZohoBigin.modules.contacts.UPDATE
    • ZohoBigin.modules.accounts.UPDATE
    • ZohoBigin.modules.products.UPDATE
    Update records in the moduleUpdate existing records, Update related records
    You can use any of the following based on the module you want to access:
    • ZohoBigin.modules.contacts.DELETE
    • ZohoBigin.modules.accounts.DELETE
    • ZohoBigin.modules.products.DELETE
    Remove existing records from the moduleDelete records, Delink related records

    bulk

    ScopeDescriptionEndpoints
    ZohoBigin.bulk.ALLView and manage large set of dataGet details of bulk write job
    ZohoBigin.bulk.READView the large set of data from your organizationCreate bulk read job, Get the status of the bulk read job, Download bulk read result
    ZohoBigin.bulk.CREATEInsert or update large set of dataGet details of bulk write job, Create bulk write job

    notifications

    ScopeDescriptionEndpoints
    ZohoBigin.notifications.ALLView and manage notificationsEnable notifications, Get notification details, Update the notification details, Update specific details of a notification, Disable notifications, Disable specific notifications
    ZohoBigin.notifications.READView notification detailsGet notification details
    ZohoBigin.notifications.WRITEEdit instant notification detailsEnable notifications, Update the notification details, Update specific details of a notification
    ZohoBigin.notifications.CREATEEnable instant notification detailsEnable notifications
    ZohoBigin.notifications.UPDATEUpdate instant notification detailsUpdate the notification details, Update specific details of a notification
    ZohoBigin.notifications.DELETEDelete notificationsDisable notifications, Disable specific notifications