Endpoint Examples
Create a short link
Creates a shortened link with optional parameters for expiration, alias, and password protection.
POST
Authorizations
Body
application/json
The URL to shorten.
The date and time when the link expires.
The number of clicks after which the link expires.
If you have a custom domain, you can specify it here.
Custom alias for the shortened link.
Password to protect the link. (Only for pro users)
Response
201
application/json
Link created successfully
The shortened link.
The original URL.
The alias of the shortened link.
The expiration date and time of the link.
The number of clicks after which the link expires.
Indicates if the link is password protected.