Create Shortened URL

Create a shortened URL that redirects visitors to the provided destination URL.

Headers

PINNACLE-API-KEYstringRequired

Request

This endpoint expects an object.
urlstringRequired
Destination URL for the shortened link that visitors will be redirected to when clicked.
optionsobjectOptional

Response

Successfully created.
urlstring

Your custom shortened link following the format https://pncl.to/{linkId}, where {linkId} is the unique identifier for the URL that can be used with our other endpoint.

configobject

Errors