Reputation: 101
I am working on a project in which i need to create shortened url. I am using google url shortener. Is there any way to retrieve all the urls created using the google account or using the api key
Upvotes: 0
Views: 68
Reputation: 1032
You should use this.
GET https://www.googleapis.com/urlshortener/v1/url/history
In the headers, set Authorization
header to Bearer <authtoken>
Make sure you have a valid OAuth Token. Retrieving the Shortened URL History List of a user requires an access token.
You could generate one here for testing it out
Upvotes: 1