/api/linksCreate a short link in your session. Omit code for a random 8-character one.
targetUrlDestination, http(s) only, max 2048 chars (required).codeCustom code, [a-zA-Z0-9_-], 2–64 chars (optional).curl -X POST https://cikit.de/api/links \
-H 'X-Session-ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d '{
"targetUrl": "https://example.com/very/long/path",
"code": "launch-day"
}'{
"id": 42,
"code": "launch-day",
"targetUrl": "https://example.com/very/long/path",
"clicks": 0,
"createdAt": 1790255774,
"updatedAt": 1790255774
}Errors: 401 bad session · 400 invalid input or reserved code · 409 code already exists.