Finding out API call used by a module

I am working on automating adding new users to Shared Google Drives, but am getting stuck, where the account i am using for the connection (OAuth) or by using a Google project with clientID and secret to perform the action of adding someone to the shared google drive.

it only works, when i have added the account for the connection as a manager to the shared google drive. it’s a superadmin, and in theory, could add anyone to ANY Shared Google Drive.

I have found the “Get a Share Link” Google Drive module, and…as well as getting a share link, works well for adding a user to a Google Shared Drive. (When the account is a manager of the shared drive)

But i’m wondering if someone could tell me what Google API call the “Get a share link” module is using?

I have been able to create a seperate Google API Call module, using /v3/files//permissions and i’m wondering if this is the same one being used by “Get a share link”

Thanks in advance

OK, i’ve managed to get an API Call working. Using the Google API Doco, use the API explorer, that helps build the request, and get the formating/permissions right.

For Reference, i now have a Google Drive - Make An API Call module, which has the following queries and body

And this works, without the user being used for the connection, being a manager of the Shared Drive

1 Like

Hi @johnanderson,

Great that it works! If you want to see the actual requests (incl. URL, headers, body and response) that Make sends for each module in a scenario, you can use the Integromat DevTool. This is by far the easiest way to check what API call is used by a module.

Chrome Extension:
Integromat DevTool - Chrome Web Store
Tutorial:
Introduction to Integromat’s Chrome DevTool

Cheers,
Henk

1 Like