Skip to main content
POST
/
public
/
createlink
Create a short link
curl --request POST \
  --url https://api.joylink.io/public/createlink \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "destination": "<string>",
  "trackingid": "<string>"
}'
{
  "url": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
destination
string
required

The URL to be shortened

trackingid
string
required

Optional tracking ID

Response

Successfully created short link

url
string

The generated short URL