API Overview
The Knot REST API allows programmatic creation, resolution, and telemetry monitoring for all branded links on your account.
Authentication
Authenticate requests using a Bearer token in the request header. Pass your API key obtained from your dashboard settings.
Authorization: Bearer knot_sec_994827104928
Create Short Link
Send a POST payload with your target destination and optional custom domain alias.
// POST https://api.knot.link/v1/links
{
"url": "https://yourbrand.com/promo",
"domain": "link.yourbrand.com",
"alias": "summer2026"
}
"url": "https://yourbrand.com/promo",
"domain": "link.yourbrand.com",
"alias": "summer2026"
}