How to get a list of TinyURLs using TinyURL API?
It is possible to use the GET /urls/{type} endpoint to get a list of TinyURLs from your account.
All API requests need an authentication token, so the first step is to create one. For this particular request, you do not need any specific permissions, and any valid token from your account can be used to fetch the list of URLs.
In the GET /urls/{type} endpoint, you can specify the type of URLs, the time period for URLs, and even search by alias or tag. Only the type of URLs is a mandatory input here, so it is possible to execute this API call without additional parameters. The end result would be a list of all available URLs in the account.

The following screenshot shows the result after authorization and entering a time period in the /urls/{type}
endpoint to retrieve available TinyURLs. You can see the equivalent cURL command, as well as the request URL, which includes your inputs and the API token for your request to the API. Please note that the response code of 200 and the response body can be used to validate the response contents.
