This endpoint allows you to shorten a URL. The request payload must contain the URL to be shortened, along with optional parameters for customization.
Must be set to application/json to receive JSON responses
application/json The long URL to be shortened. Must include a valid protocol (http/https) and follow RFC-1034 & RFC-2727 standards.
"https://example.com"
Custom alias for the shortened URL. Must be alphanumeric and maximum 16 characters. Anything beyond 16 characters will be stripped by the API.
16^[a-zA-Z0-9]+$"example"
Password to access the shortened URL. Must be at least 8 characters long, contain at least one letter, one number, and one special character ('@' or '.').
8"SuperStrongPassword@18322"
Maximum number of clicks allowed for the shortened URL. Must be a positive integer.
x >= 110
Whether to block bots from accessing the shortened URL.
false