Help Doc Access Show

Members (Sharing) API

Manage who can access presentations. Add members, list current access, change a member's role, or revoke access permissions.

GET List Shared Members

GET https://show.zoho.com/api/v1/presentation/{rid}/members
Required Scopes:
ZohoShow.showdocslist.READ

Returns the access list for a presentation, including every user and group that has been shared with and the owner.

Path parameters

Name Type Required Description
rid string Required Resource id of the presentation. The caller must have the appropriate permission on this presentation.

Query parameters

Name Type Required Description
fields string Optional Comma-separated response fields to include. Allowed values: user_id, email, display_name, role, added_time, permission.
Samples

Responses

200 Shared Members Retrieved
200 Field Specific Response
200 No permission to trash
400 Document belongs to another user
500 Presentation already in trash
{ "data": { "shared_users": [ { "encrypted_user_id": "35ba91a9d8cb643320db79782a19d131", "primary_email": "user@example.com", "role": "VIEWER", "display_name": "Sample User", "user_id": "93703623" }, { "encrypted_user_id": "df37321cb4d4723d20725cf6a8bd04c8", "primary_email": "user@example.com", "role": "COOWNER", "user_type": 3, "display_name": "Sample User", "user_id": "93600994" } ] }, "message": "Shared users retrieved", "request_uri": "/api/v1/presentation/7fgg637ac6060b3f24b368cafcbd2652f292c/members", "status": "success" }

Code Examples

cURL
curl -X GET "https://show.zoho.com/api/v1/presentation/{rid}/members?fields=user_id,email,display_name" \ -H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json"

POST Share Presentation (Add Members)

POST https://show.zoho.com/api/v1/presentation/{rid}/members
Required Scopes:
ZohoShow.showdocslist.UPDATE

Grants roles on a presentation to users by email id. Supports VIEWER, COMMENTOR, COLLABORATOR, and COOWNER roles.

Path parameters

Name Type Required Description
rid string Required Resource id of the presentation. The caller must have the appropriate permission on this presentation.
Samples

Request Body

JSON
{ "email_ids": "{{email_ids}}", "role": "VIEWER", "allow_sharing_outside": "true" }

Responses

200 Members added
500 Not authorized to share
200 Presentation already shared
400 Document belongs to another user
500 Presentation already in trash
{ "data": { "result": { "viewer": [ "66968086" ] }, "status": true }, "message": "Presentation members shared", "request_uri": "/api/v1/presentation/cpnv3d0203ec89cba4207ba255d785dfe125c/members", "status": "success" }

Code Examples

cURL
curl -X POST "https://show.zoho.com/api/v1/presentation/{rid}/members" \ -H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "email_ids": "{{email_ids}}", "role": "VIEWER", "allow_sharing_outside": "true" }'

PUT Update Member Role

PUT https://show.zoho.com/api/v1/presentation/{rid}/members
Required Scopes:
ZohoShow.showdocslist.UPDATE

Changes an existing member's role on a presentation. Use to upgrade or downgrade a single member's permissions.

Path parameters

Name Type Required Description
rid string Required Resource id of the presentation. The caller must have the appropriate permission on this presentation.
Samples

Request Body

JSON
{ "share_params": { "email_id": "{{email_id}}" }, "role": "COOWNER" }

Responses

200 Member Role Updated
500 User not shared on this presentation
401 Missing OAuth Token
400 Invalid Resource ID
405 Invalid Method
{ "data": { "status": true }, "message": "User role updated", "request_uri": "/api/v1/presentation/cpnv3d0203ec89cba4207ba255d785dfe125c/members", "status": "success" }

Code Examples

cURL
curl -X PUT "https://show.zoho.com/api/v1/presentation/{rid}/members" \ -H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "share_params": { "email_id": "{{email_id}}" }, "role": "COOWNER" }'

DELETE Remove Member (Unshare)

DELETE https://show.zoho.com/api/v1/presentation/{rid}/members
Required Scopes:
ZohoShow.showdocslist.DELETE WorkDrive.files.sharing.DELETE WorkDrive.files.READ

Revokes access to a presentation for a user or group. Can target individual users by email or groups by id.

Path parameters

Name Type Required Description
rid string Required Resource id of the presentation. The caller must have the appropriate permission on this presentation.
Samples

Request Body

JSON
{ "email_id": "{{email_id}}" }

Responses

200 Member removed
500 Unshared Presentation
400 Non Member
401 Missing OAuth Token
400 Invalid Resource ID
{ "data": { "status": true }, "message": "Share removed", "request_uri": "/api/v1/presentation/cpnv3d0203ec89cba4207ba255d785dfe125c/members", "status": "success" }

Code Examples

cURL
curl -X DELETE "https://show.zoho.com/api/v1/presentation/{rid}/members" \ -H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "email_id": "{{email_id}}" }'