Complete reference for the Lynk API Platform. Base URL: https://api.lynk.run
Code examples show the placeholder YOUR_API_KEY. Log in to use your real key here.
Authenticate your requests using your API key. You can pass it in two ways:
Option 1: Bearer Token (recommended)
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.lynk.run/bgp/v1/asn/34309Option 2: URL Parameter
curl "https://api.lynk.run/bgp/v1/asn/34309?key=YOUR_API_KEY"Public Access
You can also make unauthenticated requests using the public key openusage, limited to 5 requests per day per IP address.
curl "https://api.lynk.run/bgp/v1/asn/34309?key=openusage"Connect Claude Desktop, Cursor, Cline, or any MCP-compatible client to Lynk via OAuth 2.1 with PKCE. Your IDE agent can then call the Intel, BGP, Scrape, and Files APIs as native tools β no API key in config files.
Server URL
https://api.lynk.run/mcpStreamable HTTP transport. On first launch your client opens a browser tab to sign in and approve the requested scopes.
Available scopes
intel β IP & domain lookupsbgp β Company search & ASN datadomains β Domain availability checkersearch β Google web-search (organic results, answer box, etc.)scrape β Web scraping, crawls, LLM extractfiles β Upload, download & manage shared files + bucketsrequest β Generic API escape hatchdeskpro β Tickets, people, KB across Deskpro instancesnetsuite β SuiteQL, records & files β plus owner-only writescrm β Contacts, companies, campaigns & call taskssalesforce β SOQL/SOSL reads β plus writes you enabled per connectiongeo β AI-search visibility β projects, reports, manual run triggertech β Tech-stack lookup, sites-using-a-tech, adoption trendspersonio β Read-only HR & recruiting β sensitive fields always redactedcanvas β Publish HTML pages and whiteboards to shareable linksbrowser β Drive a server-side browser β watch live & take over for logins/2FAgmail β Read, search, send & organise email in your connected Gmail accountsgithub β GitHub Actions secrets & variables, plus new repositories, via your connected PATmailbox β One tool family for ALL your mail accounts β IMAP/SMTP, M365 & Gmailwordpress β Read & write content on connected WordPress sites β posts, pages, mediatestify β Tester session reports β checklists, transcripts, timeline, framesvoice β Text-to-speech + sound effects with your own ElevenLabs keyssh β Run commands & transfer files on your registered servers β all loggedbrain β Workspace knowledge base β interlinked markdown notes, graph & tagsphone β Place and drive real phone calls, read call transcriptscaya β Read & organise your Caya digital mailroom β folders, documents, PDF download, move / sort / tag / trashnetbox β Read-only DCIM/IPAM β devices, racks, sites, IPs, prefixes, VLANs, circuits + the change loggrafana β Read-only monitoring β dashboards (incl. their panel queries), metrics via PromQL/SQL, and firing alertselastic β Read-only Elasticsearch β search and ES|QL over your indices, field schemas, Kibana data views, saved objects and alerting rulesteams β Read, search & send Teams chat messages as youcalendar β Read and manage the calendar of your connected Microsoft 365 / Google accountssnipeit β Read-only IT asset management β hardware, who has what, licenses, accessories, locations + the activity logtodos β Your personal todo board β cards, subtasks, progress notes, Brain links and which session is working on whatdealspace β Customer deal rooms β decks, documents, mutual action plan, Q&A and who opened whatdesktop β See and control the screens of your registered machines (VNC) β live view, takeover, every action loggedwhatsapp β Read, search & send messages in your linked personal WhatsApp (admin-enabled)instagram β Read & send direct messages in your linked personal Instagram (admin-enabled)Setup wizard & client management
Copy-paste configs for Claude Desktop / Cursor / Cline and revoke buttons for any authorized client live at /settings/mcp.
For AI agents
Spec + tool catalog: https://api.lynk.run/mcp/llms.txt
Built-in manual: every connection also gets a lynk_guide tool that serves the how-to guides for the granted scopes, one section at a time. Tool descriptions stay short and point at the guide section that covers the details.
Look up BGP routing data for any ASN, powered by CAIDA data. Returns upstreams, peers and customers (the ipv4 and ipv6 lists are the same combined list), each with its network type, plus a profile block: organisation, registry (RIR), AS rank and customer cone, the other networks of the same organization, the network's self-published profile, internet exchanges and data centers (with coordinates), the announced IPv4 + IPv6 prefixes with their RPKI origin-validation status, a monthly timeline (upstream presence, customers gained and lost per month for the last year; upstream / peer / customer counts back to November 2016 in history.series), the history of its prefixes, RPKI coverage, IX ports, data centers and rank recorded from November 2026 on (trends) and DDoS-mitigation networks among its upstreams. Each part of profile is empty or null when there is no data for the ASN.
Endpoint
GET /bgp/v1/asn/:asnParameters
| Parameter | Type | Description |
|---|---|---|
| asn | integer | The Autonomous System Number to look up (1-4294967295) |
Example Request
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.lynk.run/bgp/v1/asn/34309Example Response
{
"asn": 34309,
"name": "LINK11",
"description": "Link11 GmbH",
"country": "DE",
"upstreams": {
"ipv4": [
{ "asn": 1299, "name": "TWELVE99", "description": "Arelion Sweden AB" },
{ "asn": 174, "name": "COGENT-174", "description": "Cogent Communications" }
],
"ipv6": [
{ "asn": 6939, "name": "HURRICANE", "description": "Hurricane Electric LLC" }
]
},
"peers": { "ipv4": [...], "ipv6": [...] },
"customers": { "ipv4": [...], "ipv6": [...] },
"upstream_count": { "ipv4": 4, "ipv6": 4 },
"peer_count": { "ipv4": 67, "ipv6": 67 },
"customer_count": { "ipv4": 56, "ipv6": 56 },
"queried_at": "2026-11-26T10:00:00Z",
"source": "CAIDA AS-Rank (local database)",
"provider": "local-caida",
"profile": {
"version": 5,
"org": "Link11 GmbH", "rir": "RIPE", "rank": 554,
"organization": { "id": "42862f88f5", "total": 1, "networks": [] },
"cone": { "asns": 87, "prefixes": 2974, "addresses": 1815808 },
"network": { "type": "NSP", "policy": "Selective", "irr_as_set": "RIPE::AS-LINK11", ... },
"ixps": [{ "name": "DE-CIX Frankfurt", "ports": 2, "speed_mbit": 200000, "members": 1022, ... }],
"facilities": [{ "name": "Equinix FR5 - Frankfurt, KleyerStrasse", "city": "Frankfurt",
"latitude": 50.09885, "longitude": 8.632004, ... }],
"prefixes": {
"source": "announced",
"v4": [{ "prefix": "31.214.212.0/22", "family": 4, "addresses": 1024, "rpki": "valid" }, ...],
"v6": [{ "prefix": "2001:4d50::/32", "family": 6, "addresses": null, "rpki": "valid" }, ...],
"ipv4_addresses": 19200,
"rpki": { "valid": 8, "invalid": 0, "not_found": 8, "ipv4_valid_addresses": 5632 }
},
"history": {
"snapshots": ["2025-11-01", "2025-12-01", ..., "2026-11-01"],
"upstreams": [{ "asn": 39686, "name": "AS-EUROFIBER", "seen": [false, ..., true], ... }],
"events": [{ "snapshot": "2026-05-01", "upstreams_added": [{ "asn": 39686, ... }],
"customers_added_total": 1, "customers_removed_total": 0,
"peers_before": 64, "peers": 63, ... }, ...],
"changes": { "from": "2025-11-01", "to": "2026-11-01", "customers_new_total": 6,
"customers_lost_total": 9, "peers_before": 67, "peers_now": 58, ... },
"series": [{ "snapshot": "2016-11-01", "present": true, "upstreams": 6, "peers": 41,
"customers": 18 }, ..., { "snapshot": "2026-11-01", ... }]
},
"trends": {
"since": { "prefixes": "2026-11-01", "footprint": "2026-11-29", "rank": "2026-11-01" },
"metrics": { "prefixes_v4": [["2026-11-01", 12]], "rpki_valid": [["2026-11-01", 8]],
"ixps": [["2026-11-29", 7]], "facilities": [["2026-11-29", 15]], ... },
"changes": [{ "day": "2026-12-14", "kind": "ix", "field": null, "item": "359",
"label": "NL-ix", "added": true }, ...]
},
"mitigation": { "is_provider": "Link11", "upstream_providers": [] },
"data_dates": { "relationships": "2026-11-01", "rpki": "2026-11-26T17:12:41Z" }
}
}Search for a company by name, organization, or domain. Returns all matching ASNs with their IPv4 prefixes, total IP count, and BGP relationship counts (upstreams, peers, customers). No API key required.
Endpoint
GET /bgp/v1/company/search?q=:queryParameters
| Parameter | Type | Description |
|---|---|---|
| q | string | Company name, organization, or domain (min 2 chars) |
| limit | integer | Max results to return (default 10, max 20) |
Example Request
curl "https://api.lynk.run/bgp/v1/company/search?q=Deutsche+Telekom"Example Response
{
"query": "Deutsche Telekom",
"results": [
{
"asn": 3320,
"name": "DTAG",
"org": "Deutsche Telekom AG",
"domain": "telekom.de",
"country": "DE",
"prefixes": [
{ "start": "62.156.0.0", "end": "62.156.255.255", "country": "DE", "size": 65536 }
],
"prefix_count": 847,
"total_ips": 12583424,
"relationships": { "upstreams": 5, "peers": 312, "customers": 1480 }
}
],
"total_asns": 3,
"total_ips": 13107200,
"total_prefixes": 952,
"iptoasn_loaded": true,
"queried_at": "2026-03-30T12:00:00Z"
}Rate Limits
10 requests per minute per IP. No API key required.
Comprehensive IP and domain intelligence. Aggregates 15+ data sources: geo-location (7 providers), ASN, privacy detection, 72 DNSBL blacklists, WHOIS, SSL certificates, DNS records, and mail provider detection.
Endpoints
GET /ip/v1/lookup/:targetGET /ip/v1/lookup/meParameters
| Parameter | Type | Description |
|---|---|---|
| target | string | IPv4/IPv6 address or domain name (or me for own IP) |
| mode | string | lite (~10-50ms, local MMDB only) or full (~1-5s, all sources incl. DNSBL, WHOIS, SSL). Default: full |
Example: IP Lookup
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.lynk.run/ip/v1/lookup/8.8.8.8"Example: Domain Lookup
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.lynk.run/ip/v1/lookup/github.com"Example Response (IP)
{
"query": "8.8.8.8",
"type": "ip",
"ip": "8.8.8.8",
"ip_version": "IPv4",
"bogon": false,
"rdns": "dns.google",
"sources": {
"provider_a": {
"geo": { "city": null, "country": "US", "country_name": "United States" },
"network": { "asn": 15169, "org": "GOOGLE", "network": "8.8.8.0/24" }
},
"provider_b": { "..." : "..." },
"provider_c": { "..." : "..." }
},
"consensus": {
"country": "US", "country_agreement": "5/5",
"asn": 15169, "asn_agreement": "5/5",
"disagreements": [],
"network_possibly_stale": false
},
"bgp": {
"announced": true, "origin_asn": 15169,
"prefix": "8.8.8.0/24", "source": "daily_table"
},
"usage": {
"type": "hosting", "confidence": "high",
"sources": ["asn_list", "network_registry"]
},
"privacy": {
"vpn": false, "proxy": false, "tor": false,
"hosting": true, "cloud_provider": "GCP",
"hosting_reason": ["asn_list", "network_registry"]
},
"risk": {
"ip_blacklisted": false,
"ip_blacklist_count": 0,
"ip_policy_listed": false,
"ip_blacklist_unknown_count": 0,
"ip_blacklists_checked": 34,
"ip_blacklists_disabled": ["..."],
"ip_blacklists_self_test": "passed",
"ip_blacklists": [{ "name": "...", "listed": false, "status": "clean" }]
}
}Example Response (Domain)
{
"query": "github.com",
"type": "domain",
"ip": "140.82.121.3",
"resolved_ips": { "a": ["140.82.121.3"], "aaaa": [] },
"dns": { "mx": [...], "ns": [...], "txt": [...] },
"mail": { "provider": "Google Workspace", "mx_records": [...] },
"whois": { "registrar": "MarkMonitor", "created": "2007-10-09" },
"ssl": { "issuer": "DigiCert", "days_remaining": 215, "sans": [...] },
"risk": {
"ip_blacklisted": false,
"domain_blacklisted": false,
"mx_blacklisted": false
}
}Rate Limits
Public (no key): 100 lookups per hour and 500 per day per IP. A 429 carries Retry-After. Authenticated API-key requests skip the per-IP limit and are billed via tokens.
Use with Claude.aiSkill
Drop the lynk-domain-intel Skill into Claude.ai and it will use this API automatically β single lookups (βwho registered example.com?β) and bulk (βgive me the registrar + mail provider for these 20 domainsβ) both work out of the box.
Skill ships without an API key (public rate limit applies). Log in to bake your key in. Install: claude.ai β Settings β Capabilities β Skills β Upload skill.
Google web-search results via serper.dev: organic results plus answer box, knowledge graph, βpeople also askβ and related searches when present. Returns JSON by default, or an LLM-friendly Markdown document when you pass format=markdown β drop the response straight into a prompt. Try the playground at /search.
Pass format=markdown (query string or JSON body) β the response Content-Type is text/markdown and the body is a rendered document with answer box / organic results / PAA / related searches.
numJust tell us how many results you want β we paginate Google internally. Cost is 1 token per 10 results, rounded up. If Google runs out before reaching your num, you only pay for the pages we actually fetched.
| num | tokens (worst case) | note |
|---|---|---|
| 10 (default) | 1 | single Google page |
| 20 | 2 | |
| 50 | 5 | |
| 100 | 10 | |
| 200 (max) | 20 | Google's practical ceiling |
gl=de (country) Β· hl=de (language) Β· num=10num 1β200; over 200 β 400 Bad Requestanswer_box, knowledge_graph, people_also_ask and related_searches are only present when Google returns them{ query, gl, hl, num (returned), requested, fetched_at, organic[], ... }BuiltWith-backed tech-stack lookup. Three endpoints under /tech/v1/*: lookup (domain β stack), sites (sites using a given tech, paginated), trends (adoption coverage). Heavily cached (30d / 7d / 24h) so repeated lookups stay affordable. Playground at /tech.
Each page is one billable unit (10 tokens). pages auto-fetches multiple BuiltWith Lists pages in one request (max 5). The response carries every site stitched together plus next_offset for further pagination.
Returns BuiltWith's coverage stats (top 10k / 100k / 1M / all live / dropped). 1 token per call β BuiltWith's Trends endpoint is free upstream.
| Endpoint | Cost | Cache TTL |
|---|---|---|
| /tech/v1/lookup | 5 tokens / domain | 30 days |
| /tech/v1/sites | 10 tokens / page | 7 days |
| /tech/v1/trends | 1 token / call | 24 hours |
/lookup request, max 5 pages per /sites requestformat=markdown on any endpoint for an LLM-friendly rendered documentfound: false in a lookup means BuiltWith has no record β not every domain has been crawledTrack how your brand shows up in AI search engines (ChatGPT, Claude, Gemini, Perplexity) β the AI-search counterpart to classic SEO rank tracking. Instead of "position 1 on Google", GEO measures mention rate, citation share and share of voice against competitors over time.
Workflow:
Models (default set, extendable with any OpenRouter model in the project settings):
GET /api/geo/models returns them as limits: { max_models, max_output_usd_per_million }; POST/PATCH /api/geo/projects beyond them answer 400 models_rejected with rejected: [{ id, reason }] (not_in_catalog Β· price_above_limit Β· too_many_models).Pricing: 1 Lynk token per 10 API calls (rounded up). 5 models Γ 30 prompts Γ 3 repetitions Γ 2 calls (response + extractor) = 900 calls = 90 tokens per run. The UI shows an exact preview in tokens plus a USD estimate before you start. PAYG runs β manual and scheduled β are charged up front; when the run ends you keep paying only for successful answersand the rest is refunded automatically (a run where every call failed costs nothing). Scheduled runs bill the project's creator.
POST /api/geo/projects/:id/run errors: 402 insufficient_tokens (balance, required) Β· 409 run_in_progress (one run per project at a time; run_id of the running one) Β· 400 models_rejected (project models outside the limits) Β· 400 no_active_prompts / no_models_selected. The success response carries tokens_charged and, if OpenRouter no longer lists a model, unavailable_models (left out of that run). A scheduled run that cannot start shows up in the run list as a failed run with the reason.
REST endpoints (all behind dashboard auth):
MCP scope geo (4 tools):
geo_list_projects β every project you can access, with KPIsgeo_list_prompts β the prompts of one projectgeo_get_project_report β mention rate + share of voice + top citations in one callgeo_run_project β start a manual run (PAYG-billed, same rules as the REST route)AI agents can observe and trigger, but NOT configure β projects, prompts and schedules are dashboard-only.
Upload files (up to 500 MB), get shareable download links, and optionally protect them with a password or send the link via email. Download links are public and don't require authentication.
Upload a File
POST /api/filesForm Fields (multipart/form-data)
| Field | Type | Required | Description |
|---|---|---|---|
| file | file | Yes | The file to upload (max 500 MB) |
| password | string | No | Password to protect the download link |
| string | No | Email address to send the download link to | |
| expires_in_days | string | No | Number of days until expiry, or "evergreen" for permanent (default: evergreen) |
Example: Upload with curl
curl -X POST https://api.lynk.run/api/files \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@report.pdf" \
-F "password=secret123" \
-F "email=recipient@example.com" \
-F "expires_in_days=30"Response
{
"success": true,
"id": "a1b2c3d4e5f6...",
"url": "https://lynk.run/dl/a1b2c3d4e5f6..."
}List Your Files
GET /api/filesLists your shared files, newest first. Bucket objects are not included β list those with GET /api/buckets/:name.
q β optional search: part of the file name (case-insensitive), a file ID, or a pasted https://lynk.run/dl/:id link.limit (1β500) and offset β optional paging. With limit the response is a page object (see below); without it, a plain array of all matching files.Example
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.lynk.run/api/files
# Search + paging
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.lynk.run/api/files?q=report&limit=50&offset=0"Response
[
{
"id": "a1b2c3d4e5f6...",
"original_name": "report.pdf",
"size": 2457600,
"mime_type": "application/pdf",
"has_password": true,
"download_count": 5,
"created_at": "2026-03-22 10:30:00",
"expires_at": "2026-04-21 10:30:00",
"download_url": "https://lynk.run/dl/a1b2c3d4e5f6...",
"inline_url": "https://lynk.run/dl/a1b2c3d4e5f6...?inline=1",
"player_url": "https://lynk.run/dl/a1b2c3d4e5f6...?player"
}
]Response with limit
{
"files": [ { "id": "a1b2c3d4e5f6...", "original_name": "report.pdf", ... } ],
"total": 37,
"limit": 50,
"offset": 0,
"stats": { "files": 512, "downloads": 1840 }
}total counts the files matching q; stats covers all your shared files, with or without a search.
Delete a File
DELETE /api/files/:idExample
curl -X DELETE -H "Authorization: Bearer YOUR_API_KEY" \
https://api.lynk.run/api/files/a1b2c3d4e5f6...Download (Public)
GET https://lynk.run/dl/:idDownload links are public β no API key required. If the file is password-protected, a password form is shown in the browser. For programmatic access, POST the password:
# Password-protected download via curl
curl -X POST https://lynk.run/dl/a1b2c3d4e5f6... \
-d "password=secret123" \
-o report.pdfView in the Browser (Public)
GET https://lynk.run/dl/:id?playerGET https://lynk.run/dl/:id?inline=1For video, audio, images and PDFs, a shared file can be watched instead of downloaded. ?player opens a small player page (video/audio player, image or PDF viewer, plus a Download button) with link previews for Slack, Teams and LinkedIn. ?inline=1 serves the raw file inline with Range support, so it works as a <video src> and seeking works. GET /api/files returns both links as player_url and inline_url (null for other file types).
A light CRM with contacts, companies, mail-merge campaigns (with one automatic follow-up) and a Tinder-style daily call list. Manage it in the CRM dashboard β invite other Lynk users to collaborate on a shared workspace.
Outbound email is sent through your own Resend key or SMTP server (or opened in your own mail client), never through Lynk's domain.
The crm MCP scope lets an AI agent research prospects and populate contacts, companies, templates and draft campaigns β sending always stays a manual action in the dashboard. See the MCP tool reference.
Your personal todo board (Inbox β This week β Today β Done) in the Todos dashboard. Cards carry subtasks (the checklist), a progress note saying where they stand, links to Brain notes with the background, an optional calendar block, and a claim recording which AI session is working on them. Todos are account-level β every call acts on your own board. No tokens are charged.
The todos MCP scope gives an agent the same board (todo_list, todo_get, todo_add, todo_update, todo_delete, todo_claim, todo_release), and each session starts with a short snapshot of today's and overdue cards. See the MCP tool reference.
| Method | Path | What it does |
|---|---|---|
| GET | /api/todos | Board: open todos by column + counts. Query: status=today,week Β· label Β· q Β· due_before=YYYY-MM-DD Β· include_done=1 |
| POST | /api/todos | Create a todo (title, status, priority, duration_min, due_date, label, notes_md, brain_notes[], subtasks[]) β or a subtask with parent_id |
| GET | /api/todos/:id | One card: subtasks, progress_note, resolved brain_links, claim, schedule, activity events |
| PATCH | /api/todos/:id | Update a card or subtask β omitted = keep, null = clear; done: true / false completes or reopens |
| DELETE | /api/todos/:id | Delete a card (with its subtasks) or one subtask |
| POST | /api/todos/:id/claim | Mark the card as being worked on by a session: session_id, session_url, session_label, take_over |
| POST | /api/todos/:id/release | End the claim, optionally with a progress_note (session_id must match, or force: true) |
| GET / PUT | /api/todos/timezone | The IANA timezone that decides βtodayβ and βoverdueβ |
Auth: dashboard session cookie or your API key (Authorization: Bearer <key>). Every card in a response carries a url to open it on the board.
A board is a Canvas page that is a live whiteboard β sticky notes, shapes, text, connectors, frames, images and files, with comments, dot voting and a shared timer. People edit it together in the Canvas dashboard (New Board). Its link /canvas/<id> is the one link to share: signed-in owners and editors are sent into the full-screen editor, everyone else sees a view-only version that updates live (?view=1 always opens the view). A board can be public and still have named editors. Creating a board costs 2 tokens; editing it is free.
The canvas MCP scope gives an agent the same board (canvas_board_create, canvas_board_edit, canvas_get), and canvas_board_show shows a board inline in chat apps that support MCP Apps (a live, zoomable view with "Edit in Lynk"). Edits through the API or MCP appear live for everyone who has the board open. See the MCP tool reference for every element field.
| Method | Path | What it does |
|---|---|---|
| POST | /api/canvas/boards | Create a board: title, folder_id, visibility, allowed_emails, editor_emails, password, expires_in_days, slug, optional board { elements } import β id, url (the board link to share), editor_url, tokens_charged |
| GET | /api/canvas/:id | For a board: content_format "board", kind "board" and board { elements } (owner or editor) |
| PATCH | /api/canvas/:id/board | { add: [element], update: [{ id, β¦fields }], delete: [id] } β up to 500 edits, all-or-nothing; omit x/y to auto-place; images/files via source_url; null removes a field β added, updated, deleted, refused, element_count |
| PUT | /api/canvas/:id/board | Replace the whole board ({ board: { elements } }); other people's comments are kept |
| POST | /api/canvas/:id/board/assets | Upload an image or file (multipart field file, max 10 MB) β id to use as an image/file element's src, url, width/height for images |
| POST | /api/canvas/:id/board/session | 60-second ticket for the live socket wss://lynk.run/api/canvas/board/ws?ticket=β¦ (used by the editor) |
| PUT | /api/canvas/:id/board/share | Owner only: { edit_link: "on" | "off" | "reset", edit_password: string | null, start_view: { x, y, w, h } | null } β { edit_url, edit_has_password, start_view }. Any change to the edit link drops guests from the live board |
| POST | /api/canvas/:id/board/guest | Public (the guest edit link): { token, name, password?, gid? } β a 60-second socket ticket for this board only (no REST access); 401/403 with needs_password when the link has a password; rate-limited |
| GET | /canvas/board-asset/:id | Public: an image or file placed on a board (its unguessable id is the link; non-images download) |
| GET | /canvas/:id/board/live | Used by the board's view to update live: rev β 204 when unchanged, else { rev, svg, x, y, w, h, empty, voting } (voting = { run, max } while a dot-voting round runs, else null); password or invite-only boards need the view's token (t). The board link also takes ?v=x,y,w,h (open at that view) and ?edit=<token> (the guest edit link) |
Example β add a frame with two sticky notes and a connector
curl -X PATCH https://api.lynk.run/api/canvas/BOARD_ID/board \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"add":[
{"id":"f1","type":"frame","x":0,"y":0,"w":700,"h":420,"text":"Ideas"},
{"id":"a","type":"sticky","x":40,"y":60,"text":"**Faster** onboarding"},
{"id":"b","type":"sticky","x":400,"y":60,"text":"- docs\n- videos","color":"green"},
{"type":"arrow","from":"a","to":"b","rt":"elbow","text":"then"}
]}'Element types: sticky, rect, ellipse, diamond, triangle, hexagon, parallelogram, text, arrow, pen, frame, image, file, comment. Colours: yellow, orange, pink, purple, blue, teal, green, gray, white, black. Text supports **bold**, *italic*, lists and links. Auth: dashboard session cookie or your API key; owner or editor access to the board is required.
Private customer-facing deal rooms at https://lynk.run/deal/<id>: an HTML deck shown in the page plus PPTX/PDF downloads, the documents the customer needs, supporting links, a mutual action plan, customer Q&A, and a log of who opened what. Visitors enter a personal invitation: each person gets their own link and code by email (older rooms: one shared 6-digit code, returned once on create or rotate); opens are attributed per person; no IP addresses are stored. Items reference your own Lynk files and Canvas pages or external URLs. Each space belongs to a workspace (default: your personal one) whose Dealroom settings brand it β the name customers see, logo, accent colour, extra CSS, legal links β and whose verified custom domain (e.g. https://dataroom.example.com/<id>) it is served on. Editing a space stays with its owner; the settings with the workspace's owners. PDFs can be offered as a plain download, a download watermarked with the reader's name and email, or view-only in the room's own viewer (which records reading time per page); a room can require an NDA before it opens; and a workspace library holds standard documents every room can use. Rooms can be organised in steps with tasks for the customer, hold an offer the customer accepts and signs in the room, and send optional reminder mails. No tokens charged. The dashboard page /<workspace>/dealspaces lists your rooms and holds the settings; rooms are created through this API or the dealspace MCP scope (see the MCP tool reference).
| Method | Path | What it does |
|---|---|---|
| GET | /api/dealspaces/settings | The workspace's Dealroom settings (?workspace= or X-Lynk-Workspace; default personal): display_name, company_name, company_address, logo, accent_color, custom_css, imprint_url, privacy_url, terms_url, trust_url, custom_domain { domain, status, url, dns_records, error }, can_edit, layout { text_animation, font: { family, weights[] } | null }, default_faq, default_reminders, phase_templates (the standard phases), form_templates (forms rooms can carry), sample_url (absolute, unguessable link to the sample room β the current settings on example content, on the custom domain once active; no sign-in, stores nothing) |
| PUT | /api/dealspaces/settings | Change them (workspace owners only; omitted = keep, null = clear). default_language (de | en); default_faq [{ q, a }] and default_reminders { enabled, due_soon_days, repeat_days, max_per_task, inactive_days } β used live by every room without its own (null clears); logo_on_dark (PNG/JPEG/WebP, the mail header logo); logo is a base64 data: URI (PNG/JPEG/WebP/SVG, β€ 200,000 chars); custom_css β€ 50,000 chars without β<β; links http(s) only. A new custom_domain starts over at status pending_dns. rotate_sample_link: true makes a new sample link (the old one stops working). Layout: text_animation (none | rise | decrypt | typewriter | fade), font_family (label of the own font). phase_templates [{ id?, title, subtitle, headline, text, library_ids[], tasks: [{ action, owner, effort, kind }] }] β the standard phases (β€ 12; full list, keep ids; null clears); new rooms copy them (phase_templates[].form_ids: forms of the phase). form_templates [{ id?, title, intro, effort, sections: [{ id?, title, help, repeat 1β20, fields: [{ id?, label, type, required, help, options[] }] }] }] β types text | textarea | email | tel | url | date | select | radio | checkboxes |
| PUT | /api/dealspaces/settings/font | Upload one weight of the workspace's room font (owners): { workspace?, weight: 400 | 600 | 700, data: base64 WOFF2 }, at most 400 KB per file. Served at /deal/fonts/<workspace>/<weight>.woff2 |
| DELETE | /api/dealspaces/settings/font | Remove one weight (?weight=) or, without it, the whole font β the rooms use the system font again |
| POST | /api/dealspaces/settings/verify-domain | Check the custom domain: TXT _lynk-verify.<domain> β pending_tls (the domain is now routed), then HTTPS on the domain itself β active (space URLs switch to it) |
| GET | /api/dealspaces | Your deal spaces with counts: item_count, open_actions, open_questions, visitors, opens, last_open_at, workspace. ?workspace=<slug|id> (or the X-Lynk-Workspace header) limits to one workspace |
| POST | /api/dealspaces | Create: workspace (slug or id; default: X-Lynk-Workspace header, else personal), language (de | en), invite [{ email, name, role }] + invite_message (invitation mails go out at once; invited[] returns each link + code once), access_mode (invite | code; default invite), title, customer_name, welcome_text, contact_name, contact_email, expires_in_days | expires_at, notify_email, notifications, phases (standard phase ids to start with; omitted = all, [] = none) β { space, access_code } (code shown once). space.url is the address to share (custom domain once active), space.lynk_url always works |
| GET | /api/dealspaces/:id | One space with items (incl. opens + available), actions, questions and an activity summary |
| PATCH | /api/dealspaces/:id | Update β omitted = keep, null = clear; status active | archived; rotate_code: true β new access_code, all visitor sessions end; workspace moves the space to another workspace you belong to |
| DELETE | /api/dealspaces/:id | Delete permanently, incl. visitors, questions and events |
| GET | /api/dealspaces/:id/members | People of an invite-only room: status (active | pending | removed), invited_by, opens, item_opens, last_seen_at |
| POST | /api/dealspaces/:id/members | Invite: email, name, role, message, send_mail β { person, link, access_code, mail_sent } (link + code shown once; also in the invitation mail) |
| PATCH | /api/dealspaces/:id/members/:memberId | action: approve (a pending colleague) | resend (new link + code) | remove (access and sessions end) | update (name, role) |
| POST | /api/dealspaces/:id/items | Add an item: section (presentation | documents | supporting) + exactly one of file_id, canvas_id, url, library_id; title, description, protection (download | watermark | view β watermark PDFs only, view PDFs and videos). Items carry is_video (MP4/M4V/WebM/MOV: played in the room's player) and, for videos, video_compat (ok | limited | unknown | pending β limited = a codec many browsers can't play, e.g. iPhone HEVC; an H.264 MOV is repacked to MP4 automatically) + video_codec; library entries carry the same two fields. notify: true (+ note β€ 1,000) also mails everyone in the room "New in the room" β notified = the mail job (see β¦/notify) or { error } |
| POST | /api/dealspaces/:id/items/:itemId/notify | Announce an item to every active person of an invite room: { note? } β 202 + the mail job { job_id, type, status: "sending", recipients, queued, skipped, sent, failed }; the mails go out in the background (result in GET β¦/mail-jobs/:jobId and the activity log, kind mail). Once per item per 10 minutes (429). Optional Idempotency-Key header (or idempotency_key): a retry with the same key within 24 h β or the same note within 10 minutes β returns the first job (200, replayed: true), never a second mail. Broadcast budget: 150 per room, 300 per account, 6 per address per hour; a send that does not fit the room's or account's remaining budget is refused whole (429, nothing sent) |
| PUT | /api/dealspaces/:id/solution | The room's "Your solution" view: { solution: { title?, intro?, package?: { label?, name, items[] }, pairs?: [{ situation_title, situation_text?, answer_title, answer_text? }], media?: { item_id, title?, text? }, cta?: { title?, text? } } | null } β { solution }. null removes the view; media must be a video or an HTML/Canvas item of the room |
| POST | /api/dealspaces/:id/forms | Add a copy of a workspace form template to the room: { template_id, step_id? } β 201 the form ({ id, title, sections, step_id, response, submitted_at, submitted_by }). Room detail lists forms[] with the answers |
| PATCH | /api/dealspaces/:id/forms/:formId | Move a form to a step: { step_id | null } |
| DELETE | /api/dealspaces/:id/forms/:formId | Remove a form and its answers |
| POST | /api/dealspaces/:id/milestone | A milestone mail to every active person: { headline β€ 120, text β€ 3,000, facts?: [{ label, value }] β€ 8, button?: { label, url (https, no user:pass@) }, preview?, idempotency_key? } β 202 + the mail job (as for β¦/notify, plus preview: false); preview: true returns { subject, html, text, recipients } unsent (200). A button host other than the room's is named under the button. 5 sends per room per hour; same content within 10 minutes or same Idempotency-Key within 24 h β the first job (200, replayed: true) |
| GET | /api/dealspaces/:id/mail-jobs/:jobId | Status of a new-document / milestone mail job: { job_id, type, status: sending | done, recipients, queued, skipped, sent, failed, item_id, headline, started_at, finished_at }. Kept 24 hours in memory; the durable record is the activity log (events of kind mail with detail) |
| DELETE | /api/dealspaces/:id/items/:itemId | Remove an item (the file or Canvas page itself stays) |
| PATCH | /api/dealspaces/:id/items/:itemId | Change an item: title, description (null clears), protection (download | watermark | view) |
| GET | /api/dealspaces/:id/documents | Reading statistics: per document, reader and page (seconds, views, completion) from the in-room viewer, plus NDA acceptances |
| GET | /api/dealspaces/library | The workspace library of standard documents (entries, used bytes, limits, can_edit) |
| POST | /api/dealspaces/library | Add a document to the library (workspace owners): file_id (copied), title, description, category, section, protection, auto_add |
| PATCH | /api/dealspaces/library/:entryId | Update a library document; file_id replaces the file in every room that uses it |
| DELETE | /api/dealspaces/library/:entryId | Remove a library document (rooms stop showing it) |
| PUT | /api/dealspaces/:id/actions | Replace the task list: actions[] of { action, why, owner, due_date (YYYY-MM-DD), status (open | done), step_id, assignee (member email or id), kind (todo | accept_offer | master_data), effort } |
| PUT | /api/dealspaces/:id/steps | Replace the room's steps: steps[] of { id?, title, subtitle, date, date_text, status (done | current | upcoming), headline, text } |
| POST | /api/dealspaces/:id/phases | Add a standard phase to the room: { template_id } β 201 { step_id, room }. Appends the phase's step, its library documents and its action points (a copy β later template edits do not reach the room) |
| PUT | /api/dealspaces/:id/offer | Create or change the offer customers accept in the room: title, reference, summary, counterparty, valid_until, seller_signer, seller_signed_at, item_id, step_id; withdraw or new_version |
| GET | /api/dealspaces/:id/master-data | The room's company details ("Stammdaten"): enabled, company, street, city, vat_id, purchaser, invoice_email, invoice_channel, po_number, project, cost_center, supplier_number, technical_contact, confirmed_at (last check by the customer), updated_by |
| PUT | /api/dealspaces/:id/master-data | Prefill / change them (omitted = keep, null = clear); a field switches the section on, enabled:false hides it. invoice_channel: email_pdf | xrechnung | zugferd | supplier_portal. The customer checks them in the room; each customer save mails you the changes and completes tasks of kind master_data |
| POST | /api/dealspaces/:id/remind | Send a reminder mail now to one person (member_id) or everyone with open assigned tasks |
| POST | /api/dealspaces/:id/questions/:questionId/answer | Answer (shown to every visitor), withdraw (answer: null) or hide (hidden: true) a customer question. The first answer is also mailed to the asker in invite rooms (notify: false skips) β adds mail_sent (true | false | null) and mail_note |
| GET | /api/dealspaces/:id/activity | Engagement: summary, one row per visitor, newest events (?limit=1-500, default 100). Events of kind mail are the results of new-document / milestone broadcasts, with detail { type, job_id, recipients, sent, failed, skipped, headline? } |
curl -X POST https://api.lynk.run/api/dealspaces \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Our proposal for ACME","customer_name":"ACME","expires_in_days":60}'Auth: dashboard session cookie or your API key (Authorization: Bearer <key>); a space owned by someone else answers 404. Visitor routes (/deal/<id>, or /<id> on a workspace's custom domain) are rate-limited: 10 wrong codes per IP per 15 minutes and 100 per space per hour. A custom domain serves only its workspace's rooms β nothing else of Lynk is reachable on it. Videos stream from /deal/<id>/item/<item>/stream (HTTP Range, same session as the room).
Find street-level capture points (360Β° panoramas) for an area and fetch the panorama of any point. Lynk returns where each point is, when it was captured and which way the panorama faces. Choosing a point per building and cropping the image is up to you.
Street Vision is switched on per workspace by a Lynk admin, on request. Until then every call answers 403 with feature_not_enabled. Calls act on the workspace named in the X-Lynk-Workspace header (its slug), or on your active workspace when the header is missing. Results and images stay in that workspace.
| Method | Path | What it does |
|---|---|---|
| POST | /streetvision/v1/points | Capture points for circles, a street polyline or a GeoJSON area. An optional target adds distance and bearing per point |
| POST | /streetvision/v1/images | Fetch panoramas by pano_id in 512, 1k, 2k, 4k or 8k (default 8k) |
| GET | /streetvision/v1/runs/:runId | Poll a request that answered 202. Query: wait_s Β· target_lat Β· target_lon |
| GET | /streetvision/v1/panos/:panoId | One capture point seen before: position, capture month, heading, nearby places, best stored image |
| GET | /streetvision/v1/panos/:panoId/image | The panorama JPEG (query: res, default 8k) with X-Heading-Center and X-Captured headers |
Send exactly one of points (up to 200 circles, radius_m 1β150, default 25), polyline ([lat, lon] pairs, buffer_m 3β40, default 15) or geojson (Polygon, Feature or FeatureCollection). Everything in one request runs as one job with one start fee, so batch your points. Optional: target, max_results (default 500, max 2000), max_tokens (default 70, max 350), wait_s (default 50, max 55).
curl -X POST https://api.lynk.run/streetvision/v1/points \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'X-Lynk-Workspace: your-workspace' \
-H 'Content-Type: application/json' \
-d '{"points":[{"lat":50.11876,"lon":8.69281,"radius_m":30}],
"target":{"lat":50.11876,"lon":8.69281}}'
# A whole street in one request:
curl -X POST https://api.lynk.run/streetvision/v1/points \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'X-Lynk-Workspace: your-workspace' \
-H 'Content-Type: application/json' \
-d '{"polyline":[[50.11832,8.69144],[50.12056,8.69626],[50.12291,8.70117]],"buffer_m":16}'{
"run_id": "XvGBPzLMexrPuAt2X",
"kind": "points",
"status": "SUCCEEDED",
"tokens_billed": 2,
"count": 10,
"points": [{
"pano_id": "G1dd775HsDnbr365gk3Eug",
"lat": 50.118908, "lon": 8.692669,
"captured": "2022-03",
"heading_center": 228, "heading_source": "poi",
"street": "10 Berger Str.", "city": "Frankfurt am Main", "country_code": "DE",
"history": [],
"pois": [{ "name": "Chi Chi Thai", "category": "Thai restaurant", "distance_m": null, "heading": null }],
"image": null,
"distance_m": 19.7, "bearing_to_target": 148.6
}]
}With a target, points come sorted nearest first. tokens_billed is null while the run is still going; it is charged once, when the run finishes, even if you never poll it.
Pass up to 60 pano_ids from a points response. Each returned point carries an image.path; download it with the same API key. The JPEG is equirectangular (width = 2 Γ height).
curl -X POST https://api.lynk.run/streetvision/v1/images \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'X-Lynk-Workspace: your-workspace' \
-H 'Content-Type: application/json' \
-d '{"pano_ids":["G1dd775HsDnbr365gk3Eug"],"res":"8k"}'
curl -o pano.jpg -H 'Authorization: Bearer YOUR_API_KEY' -H 'X-Lynk-Workspace: your-workspace' \
'https://api.lynk.run/streetvision/v1/panos/G1dd775HsDnbr365gk3Eug/image?res=8k'A request waits at most wait_s seconds. If the job is still running you get 202 with a run_id; poll GET /streetvision/v1/runs/:runId until status is SUCCEEDED. A whole street of about 900 m takes roughly a minute to scan; 40 panoramas in 8k take about five minutes.
heading_center is the compass heading at the horizontal centre of the panorama. Column x of a W-pixel-wide image faces heading_center + (x / W β 0.5) Γ 360Β°; the middle row is the horizon.heading_source: poi is derived from the places listed for the panorama (accurate to about 0.1Β°), track from the drive direction of neighbouring points (less reliable at junctions), and null means unknown. The API never guesses.Billed in tokens per request, once it finishes: a start fee, every capture point returned, and each panorama by resolution. Batch points and panoramas into one request to pay the start fee once. A run never spends more than your balance covers, or more than max_tokens.
| Request | Tokens |
|---|---|
| Points around one address (about 10 points) | 2 |
| A 900 m street (92 points) | 8 |
| One panorama in 8k | 2 |
| 40 panoramas in 8k in one request | 33 |
| 40 panoramas in 4k in one request | 19 |
Auth: your API key (Authorization: Bearer <key>) or the dashboard session. Errors: 401 without a key, 403 when the workspace is not activated, 402 when your balance cannot cover the request, 404 for a run or panorama outside this workspace. Stored images expire after a while; a 410 means fetch them again with POST /streetvision/v1/images.
See and control the screen of a machine you registered β macOS Screen Sharing (Apple Remote Desktop login) or any VNC server on Linux or Windows. Lynk connects from its own servers, shows the screen live in the Remote Desktop dashboard, and lets you take over from an AI agent at any time. Passwords are stored encrypted and never returned; an agent can type them into a dialog without seeing them. Every action is logged for the owner.
No VNC server or open port? Run the Lynk Remote app on the computer β it connects out to Lynk. Pair your own computers with a one-time code (lynk-remote pair CODE), or help someone with the 9-digit code from lynk-remote support; they click Allow before any session starts. Downloads: lynk.run/remote (the current release is described by /downloads/lynk-remote/latest.json). Nothing to install: the person can also open lynk.run/help in a desktop browser and share their screen with the same 9-digit code β view only (a browser cannot be clicked or typed on remotely), so the connection is created with is_readonly and input calls answer 403.
The desktop MCP scope gives an agent the same session: screenshots, clicks, typing, shortcuts and the clipboard. See the MCP tool reference. No Lynk tokens are charged.
| Method | Path | What it does |
|---|---|---|
| GET | /api/desktop/connections | Your machines (owned + shared). Passwords are never returned β password_set + secret_names only. |
| POST | /api/desktop/connections | Register a machine: { name, host, port?, username?, password?, auth_mode? } β { connection, test }. Always tests unless test:false. |
| PATCH | /api/desktop/connections/:id | Edit (owner): name, host, port, username, password, auth_mode β omit = keep. |
| DELETE | /api/desktop/connections/:id | Delete (owner) β ends open sessions, deletes the log and the stored secrets. |
| POST | /api/desktop/connections/:id/test | Connect, read the screen size, disconnect. |
| PUT | /api/desktop/connections/:id/secrets | Owner: { secrets: { name: value | null } } β named values typed by type-secret. Write-only. |
| PATCH | /api/desktop/connections/:id/policy | Owner: { is_readonly?, unattended?, assistant? } β view only; unattended = Lynk Remote sessions start without a prompt (own computers, not support connections); assistant = the Lynk assistant answers "Get help" on a paired Lynk Help phone (default on). |
| PATCH | /api/desktop/connections/:id/config | Owner: { instance_context, instance_dont } for agents. |
| GET | /api/desktop/connections/:id/log | Owner: the action log (90 days). Query: limit (β€1000). |
| POST | /api/desktop/devices/pairing-code | Lynk Remote: { name?, unattended? } β { code, expires_at, command }. Valid 15 min, single use; run the command on the computer. |
| POST | /api/desktop/support/join | Lynk Remote: { code } (9 digits) β { connection_id, session, adopted, protocol } once the person allowed it (waits β€70 s). |
| GET / POST | /api/desktop/sessions | List your sessions / open one: { connection_id } β { session, adopted, protocol }. |
| DELETE | /api/desktop/sessions/:id | Close a session. |
| POST | /api/desktop/sessions/:id/control | { mode: 'agent' | 'human' } β take over or hand back. |
| GET | /api/desktop/sessions/:id/screenshot | JPEG; headers X-Image-Width/-Height (the coordinate space) and X-Screen-Width/-Height. |
| POST | /api/desktop/sessions/:id/click | { x, y, button?, count? } in screenshot pixels. Also: /drag { from_x, from_y, to_x, to_y }, /scroll { x, y, dy?, dx? }. |
| POST | /api/desktop/sessions/:id/type | { text } (β€2000 chars). /key { keys, times?, confirm? } β risky shortcuts return 428 until confirm:true. |
| POST | /api/desktop/sessions/:id/clipboard | { text } (Latin-1). /type-secret { name?, press_enter? } types a stored secret server-side. |
| POST | /api/desktop/sessions/:id/hint | View-only shares (Lynk Help iPhone app, lynk.run/help): { text (β€300), x?, y?, gesture? (tap | double_tap | long_press | swipe), to_x?, to_y? (swipe end), voice? ("device" | ElevenLabs voice_id) } β an animated finger at screenshot pixels plus an instruction the device shows and reads aloud (your ElevenLabs voice when connected; preference desktop.hint_voice). β { shown, gesture, voice }. 403 on machines that can be controlled. |
| POST | /api/desktop/sessions/:id/wait-for-change | { timeout_s? (1β120, default 60) } β blocks until the screen changes (server compares it once a second against the last screenshot; a phone's clock and Lynk Help's own hint card are ignored) β { changed: true, waited_ms, changed_cells } or { changed: false, waited_ms } after the timeout. Then GET the screenshot. |
| GET Β· POST | /api/desktop/sessions/:id/assistant | The Lynk assistant on a view-only share: GET β { state (off | running | paused | ended), turns, model, transcript[] }. POST { action: start | resume | pause | stop, text? } β start = guide the person (text = what to help with; on a running assistant, a message to it). It points + speaks one step at a time, listens on the phone, refuses payments/passwords/scams (then calls the owner); a hint you send pauses it. Billed per step (desktop.assistant_turn), waiting is free. |
Auth: your API key (Authorization: Bearer <key>) or the dashboard session. Sessions close after 15 minutes without activity and after 4 hours, at most 3 per user, one per machine. Errors: 401 without a key, 403 for a view-only connection or while a person has taken over, 404 for a connection you cannot access, 409 when another user is controlling the machine, 428 for a risky shortcut without confirm, 502 when the machine cannot be reached or refuses the login (Lynk Remote: offline, or the person declined), 400 for an invalid or expired code. The live view uses a WebSocket at /api/desktop/sessions/:id/stream (dashboard session only).
| Endpoint | Rate Limit | Auth Required |
|---|---|---|
| /bgp/v1/asn/:asn | 5/day (public) or unlimited (API key) | Optional |
| /bgp/v1/company/search | 10/min per IP | No |
| /bgp/v1/search | 30/min per IP | No |
| /ip/v1/lookup/:target | 100/hour + 500/day per IP (public) or unlimited (API key) | Optional |
| /api/files | Standard | Yes |
Error Codes
| Code | Description |
|---|---|
| 200 | Success |
| 401 | Invalid or missing API key |
| 402 | Insufficient tokens |
| 404 | Resource not found (e.g. unknown ASN) |
| 429 | Rate limit exceeded |