You will need to list the URL https://developers.google.com/oauthplayground as a valid redirect URI in your Google APIs Console's project. Then enter the client ID and secret assigned to a web application on your project below:
You will need to list the URL https://developers.google.com/oauthplayground as a valid redirect URI in the developer console of your API. Then enter your client ID and secret below:
Note: Your credentials will be sent to our server as we need to proxy the request. Your credentials will not be logged.
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.
The access token will expire in
The access token has expired.
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.
Manual entry Enter the data that will be added to the body of the request:
File You may choose to send a file as part of the request. When both a file and manual content are provided both will be sent using a multipart request. You may send files of maximum 1 MB using the Playground.
Please select your file: