Calling Google APIs via the "HTTP Make a OAuth 2.0 request" module
Modified on Wed, 29 May at 2:34 PM
This is a step-by-step guide on calling Google APIs like:
and many more
Open the Google Cloud Platform APIs & Services dashboard and login with your Google account.
Click CREATE to create a project.
Enter Project name and choose Location. Click CREATE.
Click ENABLE APIS AND SERVICES.
Type the name of the API you want to call in the Search for API & Services field and click on it.
Click ENABLE to enable the API.
Open the Google Cloud Platform APIs & Services Credentials OAuth consent screen tab.
Fill out the form as follows and click Save to save the settings:
Application name
e.g.
Make
Authorized domains
Make.com
Integromat.com
Click Create credentials dropdown and choose the OAuth client ID option from the menu.
Fill out the form as below and click Create to create the app:
A dialog containing app's Client ID and Client Secret pops up.
In Make, create a new scenario.
Insert the HTTP > Make an OAuth 2.0 request module.
Open the module's configuration and click Add button next to the Connection field to create a new connection.
Tick the Show advance settings option.
Fill the connection setup as follows:
Flow type
Authorization Code
Authorize URI
https://accounts.google.com/o/oauth2/v2/auth
Token URI
https://www.googleapis.com/oauth2/v4/token
Scope
Add all the scopes the API call requires (check also OAuth 2.0 Scopes for Google APIs for a complete list of scopes):
Google Cloud Pub/Sub API - see Cloud Pub/Sub reference for per-method OAuth scopes (e.g. Method: projects.topics.publish)
Scope separator
SPACE
Client ID
The content of the Here is your client ID field from step 11.
Client Secret
The content of the Here is your client secret field from step 11.
Authorize parameters
Add
access_type
-offline
key-value pair:The connection setup should look like this:
Click Continue.
If a popup titled "This app isn't verified" appears, click on the "Advanced" link and then on the "Go to Make (unsafe)" link:
A window pops up. Review the permissions and click Allow.
The connection is successfully created.
Configure the module to make an API call:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article