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
| Method | Path | Scope |
|---|---|---|
| GET | /v1/links | links:read |
| POST | /v1/links | links:write |
| GET | /v1/links/:id | links:read |
| PATCH | /v1/links/:id | links:write |
| DELETE | /v1/links/:id | links:write |
| POST | /v1/links/bulk | links:write |
| PATCH | /v1/links/bulk | links:write |
| DELETE | /v1/links/bulk | links:write |
| GET | /v1/links/:id/qr | links:read |
| GET/PATCH | /v1/links/groups, /v1/links/tags | links: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.
Create a short link
RequestPOST
Authorization: Bearer sty_live_your_api_key
Content-Type: application/json
{
"companyId": "clxyz_company",
"originalUrl": "https://example.com/landing",
"title": "Summer campaign"
}Related
- Endpoints - route catalog by resource
- Link analytics - click metrics
- Links guide - conversion pixel and product overview
- Authentication - scopes and API keys