For better experience using the Drive API, make sure you have installed the OAuth 2.0 Playground Drive app on the Chrome Webstore. Dismiss

You are using a custom OAuth configuration. Please note that your credentials will be sent to these URLs:

Don't ask again for these endpoints on this browser

OAuth 2.0 Playground

Reload
Reset all settings
Help
Help - Feedback - Bugs
Options
Create Link
Options
OAuth 2.0 Configuration

Step 1Select & authorize APIs

Select the scope for the APIs you would like to access or input your own OAuth scopes below. Then click the "Authorize APIs" button.

Authorize the selected APIs and scopes

Step 2Exchange authorization code for tokens

The access token below is provided after going through Step 1. It is a short lived token which gives you access to the user's OAuth protected resources.

Once you got the Authorization Code from Step 1 click the Exchange authorization code for tokens button, you will get a refresh and an access token which is required to access OAuth protected resources.


Auto-refresh the token before it expires.

Note: The OAuth Playground will automatically revoke refresh tokens after 24h. You can avoid this by specifying your own application OAuth credentials using the Configuration panel.

Step 3Configure request to API

Construct your HTTP request by specifying the URI, HTTP Method, headers, content type and request body.
Then click the "Send the request" button to initiate the HTTP Request.

GET
  • GET
  • POST
  • PUT
  • DELETE
  • PATCH
Content-Type: application/json
  • application/json
  • application/atom+xml
  • text/plain
  • text/csv
  • Custom...

Note: The OAuth access token in Step 2 will be added to the Authorization header of the request.

Request / Response
No request.
Wrap Lines