Uses JSON requests, signed with x-cliplink-signature, plus idempotency for safe retries.
POST /api/ingress/create
Headers:
x-cliplink-signature: YOUR_API_KEY
X-Idempotency-Key: create-spring-campaign
Content-Type: application/json
Body:
{
"originalUrl": "https://example.com/spring",
"domain": "https://go.cliplink.in/",
"title": "Spring Campaign",
"shortUrl": "spring-25",
"qrCodeData": {
"enableQrCodeGen": true,
"qrCodeColour": "#1A73E8",
"size": 256
}
}Repeat calls with the same X-Idempotency-Key return the original response for five minutes—no accidental duplicates.
Create, update, and delete short links with clean JSON requests.
Avoid accidental duplicates with X-Idempotency-Key on writes.
Authenticate with your API key via x-cliplink-signature on every call.
Link clicks and QR scans stay available to your dashboards.
Use non-revoked keys and rotate regularly; errors return clear JSON.
Small, predictable payloads that fit CI/CD, scripts, and internal tools.
Automate link creation for campaigns, rotate destinations, or manage QR-ready links from your backend—without opening the UI.
JSON bodies, signed headers, and idempotency reduce edge cases and retries in production.
Clicks and QR scans are tracked automatically—no extra flags or query params needed.
Common questions about the Cliplink API.
How do I authenticate?
Send your API key in the x-cliplink-signature header on every request.
What are the core endpoints?
POST /api/ingress/create, PATCH /api/ingress/update, DELETE /api/ingress/delete. All accept JSON bodies.
Why use idempotency keys?
Re-using a key within five minutes returns the original response, preventing duplicate writes on retries.
Can I access analytics via API?
Clicks and scans are tracked for links you create; analytics surfacing via API is planned—webhooks already stream events.
Grab an API key, add your headers, and start shipping short links from code in minutes.