List shortened URLs.
POST/generate/shortenedurl/list
List shortened URLs.
Request
- application/json
Bodyrequired
object
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
shortenedUrls object[]required
A list of all shortened URLs the user has created.
identifierstringrequired
The shortened URL identifier. This can be used for managing the shortened URL.
Example:
to4w5vyb
createdAtstring<date-time>required
The creation date.
destinationstringrequired
The destination URL which the shortened URL points to.
Example:
https://0codekit.com
{
"shortenedUrls": [
{
"identifier": "to4w5vyb",
"createdAt": "2024-07-29T15:51:28.071Z",
"destination": "https://0codekit.com"
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}