DocsGetting StartedIntroduction

Developer Documentation

Welcome to the 7ink.to platform developer docs. Here you'll find reference client SDK code, CLI instructions, and REST API guides to integrate high-performance edge link redirecting and analytics directly into your tech stack.

Quickstart Guide

Get up and running with 7ink.to in under 60 seconds. Our SDKs use Cloudflare V8 worker runtimes at the edge to ensure click pathways execute in less than 5ms globally.

Terminalbash
$ npm install 7ink

Instantiating the Client

Choose your language SDK below and initialize a client using your workspace SDK key.

import { 7Ink } from "7ink";

const sdk = new 7Ink({ token: "sdk_key" });

const link = await sdk.links.create({
  url: "https://github.com/szoboszlainorbi/7ink.to",
  key: "github-repo",
});

console.log(link.shortUrl);
// Output: https://7ink.to/github-repo

Rate Limits & Best Practices

  • Free Tier Limit: Up to 10,000 API requests per month. Scale to Pro or Enterprise if higher frequency is needed.
  • Edge Caching: Redirect routes are cached at edge nodes for optimal performance. Dynamic overrides update globally within 15 seconds.
  • Security keys: Never expose your SDK API token in client-side code. Keep operations within backend handlers or secure serverless functions.