Testing Looker Studio API with Postman

Postman is a popular API platform that makes it easier for developers to design,
build, test, and collaborate on APIs. In this post, we’ll talk about how to use Postman to test some of the Looker Studio API calls.

Step 1: Enable the API

  1. Open the Looker Studio API in the Google API Console.
  2. If prompted, select a project, or create a new one.
  3. Click Enable.
  4. If prompted, read and accept the API’s Terms of Service.

Step 2: Create an OAuth Client

  1. In the console, select the Configure OAuth tab and click Create.

  2. Fill in the required fields and click Save.

  3. Select the Credentials tab and click Create credentials.

  4. Select OAuth client ID.

  5. When prompted to choose an Application Type, select Web application.

  6. Fill in the required fields and click Create.

  7. Take note of the Client ID and Client Secret.

Step 3: Authorize with Postman

  1. In Postman, go to Collections > Authorization and select OAuth 2.0. Enter the
    following values:

  1. Once you’ve entered this data, click Get New Access Token.
  2. Google will then prompt you to select an account to authenticate with.
  3. Back in Postman, you will see a modal with your newly generated access token and other relevant metadata.
  4. Click Use Token to automatically add the token to the Token field.

Optional: Revoking Postman access

You can visit Third-party apps & services to see a list of all third-party applications that have access to your Google account. You can revoke authorization access to any of these applications by clicking
Remove access. The application in this example is named “Postman x Google.”