API
Create and manage your links from scripts, apps and automations (Zapier, Make, n8n…). Every request needs your API key: create a free account, then generate a key from your account page.
Authorization: Bearer lk_your_key_here
Limit: 120 requests per minute. Responses are JSON. Dates are ISO 8601 in UTC.
Create a link
curl -X POST https://flashlyn.com/api/links/ \
-H "Authorization: Bearer lk_…" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/very/long/page", "alias": "promo", "folder": "Newsletter"}'
Fields: url (required), alias, title, folder (name or id), starts_at (the link opens at this time; before that visitors see a “coming soon” page), expires_at, password, max_clicks. Returns 201 with the link.
List your links
curl "https://flashlyn.com/api/links/?page=1&per_page=50" -H "Authorization: Bearer lk_…"
Get one link with stats
curl "https://flashlyn.com/api/links/?code=promo&days=30" -H "Authorization: Bearer lk_…"
Delete a link
curl -X DELETE "https://flashlyn.com/api/links/?code=promo" -H "Authorization: Bearer lk_…"
Example response
{
"code": "promo",
"short_url": "https://flashlyn.com/promo",
"url": "https://example.com/very/long/page",
"title": null,
"folder": "Newsletter",
"clicks": 42,
"status": "active",
"wait_page": true,
"password_protected": false,
"starts_at": null,
"expires_at": null,
"created_at": "2026-10-26T15:00:00+00:00"
}
Errors
401 invalid key · 404 not found · 422 invalid data (the error field explains why) · 429 too many requests.