Update Shortened URL

Update the destination or expiration date of an existing shortened URL. Expiring links cannot be updated into a permalink.

Authentication

PINNACLE-API-KEYstring
API Key authentication via header

Path parameters

linkIdstringRequired

Unique identifier from your shortened URL. For example, for https://pncl.to/ePzVxILF, the linkId is ePzVxILF.

See the response of Create Shortened URL for more information.

Request

This endpoint excepts an object.

Only provided fields will be changed, and any fields you don’t include will remain unchanged.

Expiring links cannot be updated into a permalink.

urlstringOptional
New destination URL where your visitors will be redirected.
optionsobjectOptional

Response

Returns the updated shortened URL and its configuration.
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