Developer5 min read

Automating Link Creation with the K2V API

For the developers and automation lovers. Create links programmatically.

KT

K2V Team

Product TeamJan 25, 2026

Automating Link Creation with the K2V API

When Does the API Make Sense?

If you're creating links manually — a few times a day, just for yourself — the dashboard is perfect. But if you're building links into a product, automating for a large team, or generating thousands of links for a campaign, the API is your friend.

Getting Your API Key

It's straightforward:

  1. Go to Dashboard > Developer
  2. Click "Generate API Key"
  3. Copy it somewhere safe (you won't be able to see it again)

Your First API Call

Creating a link is as simple as a POST request:

POST https://api.k2v.pro/v1/links
{
  "original_url": "https://your-site.com/awesome-page",
  "alias": "my-custom-alias",
  "tags": ["summer", "promo"]
}

What Else Can You Do?

The API covers most things you'd do in the dashboard:

  • GET /links — List all your links
  • GET /links/:id — Get details on a specific link
  • PUT /links/:id — Update a link
  • DELETE /links/:id — Delete a link
  • GET /links/:id/analytics — Fetch the analytics for a link

Popular Use Cases

We've seen people do some creative stuff:

  • Auto-generate links when publishing blog posts
  • Create unique links for each subscriber in an email campaign
  • Build custom dashboards that pull in K2V data
  • Integrate with CRM systems for automatic link generation
Share this article:
More Articles

Stay Updated

Get the latest tutorials and insights on link management delivered to your inbox.