Base URL: https://api.s.id/v2
Pass your API key as a Bearer token in every request.
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxEach key is scoped. A request to an endpoint whose required scope is missing returns 403 insufficient_scope.
| Method | Path |
|---|---|
| GET | /links |
| POST | /links |
| POST | /links/available |
| GET | /links/{short} |
| PUT | /links/{short} |
| DELETE | /links/{short} |
| POST | /links/{short}/unarchive |
| GET | /links/{short}/stats |
| GET | /links/{short}/stats/lifetime |
| POST | /links/bulk |
| Method | Path |
|---|---|
| GET | /user |
| GET | /quota |
| Method | Path |
|---|---|
| GET | /microsites |
| POST | /microsites |
| GET | /microsites/{slug} |
| PUT | /microsites/{slug} |
| DELETE | /microsites/{slug} |
| POST | /microsites/available |
| GET | /microsites/{slug}/components |
| POST | /microsites/{slug}/components |
| PUT | /microsites/{slug}/components/{componentId} |
| DELETE | /microsites/{slug}/components/{componentId} |
| POST | /microsites/{slug}/components/order |
| Method | Path |
|---|---|
| GET | /stats |
| Method | Path |
|---|---|
| GET | /qr |
| PUT | /qr |
| GET | /links/{short}/qr |
| PUT | /links/{short}/qr |
| Method | Path |
|---|---|
| GET | /oauth/authorize |
| POST | /oauth/token |
| POST | /oauth/revoke |
| GET | /oauth/userinfo |
| GET | /api/user/oauth/apps |
| DELETE | /api/user/oauth/apps/{clientId} |
links:readList and read linkslinks:writeCreate and update links (create, edit, restore)links:archiveArchive linkslinks:analyticsRead per-link click statistics and lifetime countsqr:readRead QR code settings (global and per-link)qr:writeCustomize QR code settings (global and per-link)user:readRead the authenticated user profile and account quotamicrosites:readRead micrositesmicrosites:writeCreate, update, delete and manage components of microsites38 requests per minute per API key. Exceeding the limit returns HTTP 429.
| Status | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad request — check your parameters |
| 401 | Missing or invalid API key |
| 403 | Forbidden — key lacks required scope (insufficient_scope) |
| 404 | Resource not found |
| 429 | Rate limit exceeded |
| 500 | Server error — retry with backoff |