Create Short URL

Shorten a URL

post

This endpoint shortens a long URL, optionally with a custom alias.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
longUrlstringRequired

The long URL to shorten.

Example: https://www.example.com
customAliasstringOptional

A custom alias for the shortened URL (optional).

Example: customalias
topicstringOptional

A topic or category for the URL (optional).

Example: test
Responses
200

URL successfully shortened.

application/json
post
/shorten

Last updated