Skip to main content
close
EXPLORE ALL PRODUCTS

Sales

 
CRM

Comprehensive CRM platform for customer-facing teams.

CRM
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
Sign

Digital signature app for businesses.

Sign
 
Forms

Build online forms for every business need.

Forms
 
Bigin

Simple CRM for small businesses moving from spreadsheets.

Bigin
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
RouteIQ

Comprehensive sales map visualization and optimal route planning solution.

RouteIQ
 
Thrive

Complete loyalty and affiliate management platform.

Thrive
 
Suites
CRM Plus

Unified platform to deliver top-notch customer experience.

CRM Plus

Marketing

 
Campaigns

Create, send, and track targeted email campaigns that drive sales.

Campaigns
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
Sign

Digital signature app for businesses.

Sign
 
Forms

Build online forms for every business need.

Forms
 
Social

All-in-one social media management software.

Social
 
Survey

Design surveys to reach and interact with your audience.

Survey
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Sites

Online website builder with extensive customisation options.

Sites
 
Backstage

End-to-end event management software.

Backstage
 
PageSense

Website conversion optimization and personalisation platform.

PageSense
 
Marketing Automation

All-in-one marketing automation software.

Marketing Automation
 
LandingPage

Smart landing page builder to increase conversion rates

LandingPage
 
Webinar

Webinar platform for webcasting online webinars.

Webinar
 
NEW
LeadChain

Sync, manage, and convert leads across channels seamlessly.

LeadChain
 
NEW
CommunitySpaces

Online community platform for individuals and businesses to grow their network and brand.

CommunitySpaces
 
Thrive

Complete loyalty and affiliate management platform.

Thrive
 
Publish

Manage all your local business listings on a single platform.

Publish
 
Suites
Marketing Plus

Unified marketing platform for marketing teams.

Marketing Plus

Commerce

 
Commerce

eCommerce platform to manage and market your online store.

Commerce

Service

 
Desk

Helpdesk software to deliver great customer support.

Desk
 
Assist

Remote support and unattended remote access software.

Assist
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
FSM

End-to-end field service management platform for service businesses.

FSM
 
Lens

Interactive remote assistance software with augmented reality.

Lens
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo
 
Suites
Service Plus

Unified platform for customer service and support teams.

Service Plus

Finance

 
Books

Powerful accounting platform for growing businesses.

Books
 
Expense

Effortless expense reporting platform.

Expense
 
Sign

Digital signature app for businesses.

Sign
 
Inventory

Powerful stock management and inventory control software.

Inventory
 
FREE
Invoice

100% Free invoicing solution.

Invoice
 
Billing

End-to-end billing solution for your business.

Billing
 
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
 
Commerce

eCommerce platform to manage and market your online store.

Commerce
 
Checkout

Collect payments online with custom branded pages.

Checkout
 
Practice

Practice management software for accounting firms.

Practice
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo
 
Suites
Finance Plus

All-in-one suite to manage your operations and finances.

Finance Plus

Email, Storage, and Collaboration

 
Mail

Secure email service for teams of all sizes.

Mail
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
Sign

Digital signature app for businesses.

Sign
 
WorkDrive

Online file management for teams.

WorkDrive
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
Cliq

Stay in touch with teams no matter where you are.

Cliq
 
Notebook

Beautiful home for all your notes.

Notebook
 
Meeting

Online meeting software for all your video conferencing & webinar needs.

Meeting
 
Connect

Employee experience platform to communicate, engage, and build positive employee relations.

Connect
 
Learn

Knowledge and learning management platform.

Learn
 
Office Integrator

Built in document editors for web apps.

Office Integrator
 
Writer

Word processor for focused writing and discussions.

Writer
 
TeamInbox

Shared inboxes for teams.

TeamInbox
 
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
 
Show

Create, edit, and share slides with a sleek presentation app.

Show
 
Tables

Work management tool to connect people, processes, and information.

Tables
 
Sheet

Spreadsheet software for collaborative teams.

Sheet
 
Office Suite

Powerful collaborative work platform for teams.

Office Suite
 
Calendar

Online business calendar to manage events and schedule appointments.

Calendar
 
ToDo

Collaborative task management for individuals and teams.

ToDo
 
FREE
PDF Editor

Collaborative online PDF editing tool.

PDF Editor
 
Suites
Workplace

Application suite built to improve team productivity and collaboration.

Workplace

Human Resources

 
Expense

Effortless expense reporting platform.

Expense
 
Recruit

Intuitive recruiting platform built to provide hiring solutions.

Recruit
 
People

Organize, automate, and simplify your HR processes.

People
 
Sign

Digital signature app for businesses.

Sign
 
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
 
Shifts

Employee scheduling and time tracking app.

Shifts
 
Workerly

Manage temporary staffing with an employee scheduling solution.

Workerly
 
Suites
People Plus

Comprehensive HR platform for seamless employee experiences.

People Plus

Security and IT Management

 
Creator

Build custom apps to simplify business processes.

Creator
 
Assist

Remote support and unattended remote access software.

Assist
 
Vault

Online password manager for teams.

Vault
 
Directory

Workforce identity and access management solution for cloud businesses.

Directory
 
Lens

Interactive remote assistance software with augmented reality.

Lens
 
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
 
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
 
NEW
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA
 
FREE
OneAuth

Secure multi-factor authenticator (MFA) for all your online accounts.

OneAuth
 
Toolkit

Complete resource for any admin-related lookup queries.

Toolkit
 
NEW
eProtect

Comprehensive email security and archiving for every business.

eProtect

BI and Analytics

 
Analytics

Modern self-service BI and analytics platform.

Analytics
 
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep
 
NEW
IoT

Harnessing IoT analytics for real-time operational intelligence.

IoT
 
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI

Project Management

 
Projects

Manage, track, and collaborate on projects with teams.

Projects
 
Sprints

Planning and tracking tool for scrum teams.

Sprints
 
BugTracker

Automatic bug tracking software for managing bugs.

BugTracker
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo
 
Suites
Projects Plus

Unified project management platform for intelligent, data-driven work.

Projects Plus

Developer Platforms

 
Creator

Build custom apps to simplify business processes.

Creator
 
Flow

Automate business workflows by creating smart integrations.

Flow
 
Office Integrator

Built in document editors for web apps.

Office Integrator
 
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep
 
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
 
Tables

Work management tool to connect people, processes, and information.

Tables
 
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
 
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
 
NEW
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA
 
NEW
IoT

Build, deploy, and scale IoT solutions for connected businesses.

IoT
 
NEW
Apptics

Application analytics for all apps.

Apptics
 
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI

IoT

 
NEW
IoT

Low-code IoT platform and solutions for connected businesses.

IoT
 
CRM Plus

Unified platform to deliver top-notch customer experience.

Try now
CRM Plus
 
Service Plus

Unified platform for customer service and support teams.

Try now
Service Plus
 
Finance Plus

All-in-one suite to manage your operations and finances.

Try now
Finance Plus
 
People Plus

Comprehensive HR platform for seamless employee experiences.

Try now
People Plus
 
Workplace

Application suite built to improve team productivity and collaboration.

Try now
Workplace
 
Marketing Plus

Unified marketing platform for marketing teams.

Try now
Marketing Plus
 
Projects Plus

Unified project management platform for intelligent, data-driven work.

Try now
Projects Plus
 
All-in-one suite

Zoho One

The Operating System for Business

Run your entire business on Zoho with our unified cloud software, designed to help you break down silos between departments and increase organizational efficiency.

TRY ZOHO ONE
Zoho One
Zoho Marketplace

With over 2000 ready-to-use extensions across 40+ categories, connect your favorite business tools with the Zoho products you already use.

EXPLORE MARKETPLACE
Marketplace

    Update Share Permissions

    Purpose

    Update the share permissions of a record in Zoho CRM using this API. You can:

    • Update the sharing permissions of a record granted to users as Read-Write, Read-only, or grant full access.
    • Revoke access given to users to a shared record.
    • Update the access permission to the related lists of the record that was shared with the user.
    • Share the record privately or publicly. When you share a record publicly, all the users in the org will have access to the shared record.

    Endpoints

    • PUT /{module_API_name}/{record_ID}/actions/share

    Request Details

    Request URL

    {api-domain}/crm/{version}/{module_api_name}/{record_id}/actions/share

    Supported modules

    Leads, Accounts, Contacts, Deals, Campaigns, Cases, Solutions, Products, Vendors, Price Books, Quotes, Sales Orders, Purchase Orders, Invoices, and Custom.

    Header

    Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

    Scope

    ZohoCRM.share.{module_name}.{operation_type}

    Possible module names

    leads, accounts, contacts, deals, campaigns, cases, solutions, products, vendors, pricebooks, quotes, salesorders, purchaseorders, invoices, and custom.

    Possible operation types

    ALL - Full access to the record
    UPDATE - Update the sharing permission

    Note

    • The system automatically revokes access to the record for the users who are not mentioned in the JSON request body. Therefore, give the ID of all the users with whom the record was shared, unless you want to revoke share permissions for them.

    Sample Request

    Copiedcurl "https://www.zohoapis.com/crm/v8/Contacts/4150868000001148347/actions/share"
    -X PUT
    -H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
    -d "@input.json"
    Copieduser1 = Map();
    user1.put("user", {"id":"4150868000001174048"});
    user1.put("share_related_records", true);
    user1.put("permission", "full_access");
    user1.put("type", "private");
    user2 = Map();
    user2.put("user", {"id":"4150868000001199001"});
    user2.put("share_related_records", true);
    user2.put("permission", "read_only");
    user2.put("type", "private");
    
    usersList = List();
    usersList.add(user1);
    usersList.add(user2);
    
    params = Map();
    params.put("share", usersList);
    
    response = invokeurl
    [
    	url :"https://www.zohoapis.com/crm/v8/Leads/692969000000981055/actions/share"
    	type :PUT
    	parameters: params.toString()
    	connection:"crm_oauth_connection"
    ];
    info response;

    In the request, "@input.json" contains the sample input data.

    Request JSON

    • shareJSON array, mandatory

      Each JSON object represents the set of users, roles, or groups with whom you want to share the record.

    share Properties

    • shared_withJSON object, mandatory
      • type string, mandatory
        Represents whether you want to share the record with users, groups, or roles.
        Possible values:users, groups, roles.
      • id string, mandatory
        The ID of the user, group, or role you want to share the record with.
    • share_related_records Boolean, optional

      Represents if you want to share the related records also with the user.
      Possible values:
      false - Do not share related records. This is the default value.
      true - Share related records along with the record.

    • permissionstring, optional

      Represents the access permission you want to give the user for that record.
      Possible values:
      full_access- Allow the user full access to the record. This is the default value.
      read_only - Allow the user to only view the record.
      read_write - Allow the user to view and edit the record.

    • typestring, optional

      Represents if the record is shared publicly (to all the users in the org) or privately (to a specific user in the org).
      Possible values:
      public - share to all the users in the org.
      private - share to the specific user.
      Note that you cannot share a record publicly to a specific user.

    • notify Boolean, optional

      Represents whether you want to notify the user to whom you have shared the records.
      Possible values:
      true - notifies the user.
      false - Does not notify the user.

    • notify_shared_members Boolean, optional

      Specifies whether to send notifications to all members with whom the record is shared.
      Possible values:
      false - Does not notify the user. This is the default value.
      true - Notifies the user.

    • notify_on_completion Boolean, optional

      Indicates if an email notification should be sent to the owner once the record share action is completed..
      Possible values:
      true - Notifies the owner. This is the default value.
      false - Does not notify the owner.

    Sample Input

    Copied{
        "share": [
            {
                "shared_with": {
                    "id": "4876876000001073045",
                    "type": "roles"
                },
                "share_related_records": true,
                "permission": "full_access",
                "type": "private"
            }
        ],
        "notify_shared_members": false,
        "notify_on_completion": true
    }

    Possible Errors

    • INVALID_DATAHTTP 400
      • The record ID given in the URL is either invalid or does not belong to the module mentioned.
        Resolution: Specify a valid record ID.
      • Permission is invalid.
        Resolution: The value given in permission is not one of: full_access, read_only, or read_write. (or) The user does not have permission to access that particular module. Specify a valid value.
      • The module name given seems to be invalid.
        Resolution: You have specified an invalid or unsupported module name or there is no tab permission, or the module could have been removed from the available modules. Specify a valid module API name. Refer to the list of Supported Modules for more details.
    • INVALID_REQUEST_METHODHTTP 400

      The request method is incorrect.
      Resolution: Use the HTTP PUT method to make this API call. Any other request method will result in this error.

    • AUTHORIZATION_FAILEDHTTP 400

      User does not have sufficient privilege to update records.
      Resolution: Contact your system administrator.

    • OAUTH_SCOPE_MISMATCHHTTP 401

      invalid oauth scope to access this URL
      Resolution: The client does not have the scope to ZohoCRM.share.{module_name}.UPDATE
      (or)
      The module name given in the URL is either Events, Calls, Tasks or any Linking module.
      (or)
      The module name given in the URL is invalid. Generate a new access token with the required scopes for this API and try again.

    • SHARE_LIMIT_EXCEEDEDHTTP 403

      Cannot share a record to more than 10 users.
      Resolution: The record you are trying to share has already been shared with 10 users.

    • NO_PERMISSIONHTTP 403

      Permission denied to update records
      Resolution: Contact your system administrator.

    • INVALID_URL_PATTERNHTTP 404

      The request URL is incorrect.
      Resolution: Specify a valid request URL. Refer to the request URL section at the beginning of this page for more details.

    • INTERNAL_ERRORHTTP 500

      Unexpected and unhandled exception in the server. 
      Resolution: Contact the support team at support@zohocrm.com.

    Sample Response

    Copied{
        "share": [
            {
                "code": "SUCCESS",
                "details": {},
                "message": "record will be shared successfully",
                "status": "success"
            }
        ]
    }