Link Search Menu Expand Document

Edit a URL

Edits a short URL\

Required payload parameters:

  • url (string): The unshortified URL

Required headers:

  • Authorization (string): The link token

Optional payload parameters:

  • title (string): The preview’s title
  • description (string): The preview’s description
  • image (string): The preview’s image
  • domain (string): Custom domain name (more info here)

Example payload:

    description: "poggers",
    image: ""
    slug: "free-nitro",
    title: "Yes free nitro",
    domain: "",
    url: ""

cURL request example

curl --request POST \
 --url \
 --header 'Authorization: YOUR_LINK_TOKEN' \
 --header 'Content-Type: application/json'
 --data '{"url": ""}'

Example response:

    success: true

Possible error codes: