Link Search Menu Expand Document

Get URL info

GET https://noice.link/api/url
Gets a short URL info\

There are 2 ways to use this endpoint:

  • By using the link token;
  • By using the “slug” query.

Required header

  • Authorization (string): The link token

cURL request example

curl --request GET \
 --url https://noice.link/api/url \
 --header 'Authorization: YOUR_LINK_TOKEN' \

Slug query

Required query parameter

  • slug (string): The link’s slug

cURL request example

curl --request GET \
 --url https://noice.link/api/url?slug=your_slug \

Example response:

{
    description: "poggers",
    image: "https://cdn.macedon.ga/image.png",
    slug: "qixof",
    title: "Yes free nitro",
    url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    token: "eyASNOnjds...",
    color: "#ffffff"
}

Possible error codes:

Here