Developer API
Create short links programmatically with a protected API key.
Create a key
Open Dashboard → API and create a credential. Copy it immediately and store it in a password manager, server secret, or n8n credential.
Request
Send JSON to the shortening endpoint with the key as a bearer credential.
curl -X POST https://linkz.lol/api/v1/shorten \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/launch"}'Security
Never place an API key in public browser JavaScript. Revoke credentials that are exposed or no longer used.