inlink — Developer API
Developer

REST API

Programmatically create QR transfers. Requires Pro or Team plan.

API Keys
Keys are shown once — store them securely.
No API keys yet.
Quick Start
Authenticate with X-API-Key: your_key
Create a Transfer
curl -X POST https://inlink-6j1g.onrender.com/api/v1/transfers \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-file.pdf",
    "expiresInHours": 24,
    "oneTime": false,
    "webhookUrl": "https://yourapp.com/webhook"
  }'
Response
{
  "ok": true,
  "roomId": "a1b2c3d4",
  "downloadUrl": "https://inlink-6j1g.onrender.com/download/a1b2c3d4"
}
List Transfers
GET /api/v1/transfers
X-API-Key: YOUR_KEY
Transfer Options
Field Type Description
namestringDisplay name
expiresInHoursnumberAuto-expire after N hours
oneTimebooleanSingle-use download
webhookUrlstringPOST on download event
allowedEmailsstring[]Restrict to these emails via OTP
colorDark / colorLightstringQR code colours (hex)
Webhook Payload

When a file is downloaded, inlink sends a POST request to your webhookUrl:

{
  "event": "download",
  "roomId": "a1b2c3d4",
  "fileName": "document.pdf",
  "fileSize": 1048576,
  "timestamp": 1708000000000
}