Quickstart
From nothing to a working call in four steps. You need an account on a network that runs Linknetik.
1. Get a key
Sign in to your network and open My profile → API keys.
- Network and Admin users create a key there and it works at once.
- Affiliate and advertiser users first ask for access on that same page. The network approves your account and chooses what your keys can do; you get a notification, and then you can create keys. See Access and scopes.
A key is shown once, right after you create it. Copy it into your secrets store then: it cannot be shown again, only replaced.
2. Find your base URL
Every network runs its own instance, so there is no single API host. The API lives on the same domain you sign in to:
https://YOUR-NETWORK-DOMAIN/api/v1
If you sign in at https://track.example-network.com/login, your base URL is https://track.example-network.com/api/v1.
3. Make the first call
GET /me works with every key. It tells you who the key belongs to and what it can do.
export LINKNETIK_KEY="lnk_your_key_here"
curl "https://YOUR-NETWORK-DOMAIN/api/v1/me" \
-H "Authorization: Bearer $LINKNETIK_KEY"
An affiliate key answers something like this:
{
"data": {
"id": 214,
"email": "you@example.com",
"first_name": "Sofia",
"last_name": "Tavares",
"role": "affiliate",
"affiliate_id": 32,
"advertiser_id": null,
"token": {
"scopes": ["read:offers", "read:stats", "read:me", "read:parties"],
"rate_limit": {
"minute": { "limit": 60, "remaining": 59, "reset_in": 60 },
"hour": { "limit": 1000, "remaining": 999, "reset_in": 3600 }
}
}
}
}
roleisadmin,network,affiliateoradvertiser, and decides which API you are using.affiliate_id/advertiser_idis the account the key acts for. Both arenullfor Network keys.token.scopesis what this key can do right now. If a call answers403 insufficient_scope, the scope it names is not on this list.
4. Read some data
List the offers the key can see (needs the read:offers scope):
curl "https://YOUR-NETWORK-DOMAIN/api/v1/offers?per_page=5" \
-H "Authorization: Bearer $LINKNETIK_KEY"
{
"data": [
{
"id": 5,
"name": "Summer sale",
"advertiser_id": 7,
"status_id": 2,
"preview_url": "https://example.com/landing",
"created_at": "2026-10-02 09:14:11",
"updated_at": "2026-11-12 16:40:02"
}
],
"meta": { "page": 1, "per_page": 5, "total": 12 }
}
Every answer has this shape: the result in data, paging and other context in meta. See Requests and responses.