Skip to main content

Create shortened URL.

POST 

/generate/shortenedurl/add

Create shortened URL.

Request

Header Parameters

    ipaas string

Bodyrequired

    destinationstringrequired

    The destination URL which the shortened URL will point to.

    Example: https://0codekit.com
    customstring

    The shortened URL identifier. This is the part that comes after lyl.ai, and which is used for managing the shortened URL. It must be globally unique. Default is a random 8 letter string.

    Example: to4w5vyb

Responses

Success

Schema
    shortenedUrlstringrequired

    The complete shortened URL.

    Example: https://lyl.ai/custom
    identifierstringrequired

    The shortened URL identifier. If one was provided, it is simply returned.

    Example: to4w5vyb