Automate links with the Shrno API
Create branded short links and QR codes straight from your own applications. Generate a workspace-scoped API key, call the REST endpoints, and build Shrno into your product, internal tools or automation — no manual link creation required.
Last updated 22 July 2026
# Illustrative — confirm against the live API referencecurl -X POST https://gateway.nidavellirs.com/shrno/links/create-link \ -H "Authorization: Bearer $SHRNO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "data": { "domainId": "dom_123", "destinationUrl": "https://example.com/very/long/url", "slug": "spring-sale" } }'Authentication
Workspace-scoped API keys
Authenticate with a bearer token that belongs to a single workspace — created by an owner, scoped to that workspace’s data, and revocable the moment you need it gone.
Owner-generated
A workspace owner creates keys from settings — no key sprawl outside the team that owns it.
Scoped to the workspace
Each key only touches its own workspace’s links and data, so a key can never reach across tenants.
Shown once
The full secret is returned exactly once at creation — store it securely; Shrno never shows it again.
Revocable
Revoke a key any time and it stops working immediately, so a leaked key is a one-click fix.
Build on the endpoints
What you can automate
The REST API mirrors what you can do in the dashboard, so anything you create by hand you can create in code. See the API reference for the full, current endpoint list and payloads.
Create, update & delete links
Manage the full lifecycle of a short link from your own code — no manual dashboard work.
Bulk-create links
Create a batch of links in a single request — ideal for launches, catalogues and per-user links.
Generate branded QR codes
Produce a styled, trackable QR code for any link programmatically.
Read analytics
Pull click and campaign analytics into your own dashboards, reports and data warehouse.
Manage campaigns
Group links into campaigns and manage them programmatically alongside the rest of your stack.
Integrations
Connect Shrno to your stack
Wire Shrno into the tools your team already uses. We'll always tell you plainly what's live versus planned rather than list vapourware.
Slack
Post new links and analytics into a channel. [CONFIRM status before publishing.]
Zapier
Wire Shrno into thousands of apps without code. [CONFIRM status before publishing.]
Segment
Forward link and click events into your customer data platform. [CONFIRM status.]
Webhook events
Subscribe to link and click events and react in real time — on the roadmap.
One platform
Everything the API touches
The endpoints drive the same links, analytics and account you use in the dashboard. Explore the features they automate.
Build with Shrno
Grab a key and start creating links in code. Free to start, no credit card required.
FAQ