Back to docs

API reference

Short links

Short links, bulk operations, QR, routing rules, and A/B experiments.

Short links with folders, tags, geo/device routing, A/B tests, custom OG, and branded QR.

Plan requirement: API access requires Team or Agency. See pricing.

Base URL: https://api.styrar.com/v1

Routes

MethodPathScope
GET/v1/linkslinks:read
POST/v1/linkslinks:write
GET/v1/links/:idlinks:read
PATCH/v1/links/:idlinks:write
DELETE/v1/links/:idlinks:write
POST/v1/links/bulklinks:write
PATCH/v1/links/bulklinks:write
DELETE/v1/links/bulklinks:write
GET/v1/links/:id/qrlinks:read
GET/PATCH/v1/links/groups, /v1/links/tagslinks:read / links:write
CRUD/v1/links/:id/routing-rules/*links:read / links:write
CRUD/v1/links/:id/experiment/*links:read / links:write

For conversion tracking on destination pages, see the Links guide and conversion pixel.

RequestPOST
Authorization: Bearer sty_live_your_api_key
Content-Type: application/json

{
  "companyId": "clxyz_company",
  "originalUrl": "https://example.com/landing",
  "title": "Summer campaign"
}

Join the beta waitlist

By signing up you agree to receive marketing email. See our Privacy Policy.