Complete guide to the Tinyur URL Shortener API
Create a short URL from a long URL with optional custom alias
/api/shortenhttps://tinyur.inThe URL to be shortened
Example: https://example.com/very-long-url
Custom alias for the short URL (3-50 characters, letters, numbers, hyphens, and underscores only)
Example: my-custom-alias
{
"url": "https://example.com/very-long-url",
"customAlias": "my-custom-alias"
}{
"originalUrl": "string",
"shortCode": "string",
"shortUrl": "string"
}{
"error": "string"
}