OptionalfileOptional file extension to include in the shortened URL ID (e.g., 'pdf', 'html'). The extension becomes part of the ID, so 'abc123.pdf' and 'abc123.jpg' are distinct URLs.
OptionalsecondsSeconds to live for the shortened URL. If set to 0, the URL will never expire. Defaults to 1 day.
The URL to shorten. It must be a valid URL and should include the protocol (start with http:// or https://).
Options for creating a shortened URL.