API Documentation
All endpoints accept and return JSON. Authenticate using your API key in the Authorization: Bearer <key> header.
GET
/api/urls
🔒 auth required
List all short links for the active account.
POST
/api/urls
🔒 auth required
Create a new short link. Body: { url, token?, title? }
GET
/api/urls/:id
🔒 auth required
Get a single link by ID.
PUT
/api/urls/:id
🔒 auth required
Update a link. Body: { url?, title?, status? }
DELETE
/api/urls/:id
🔒 auth required
Delete a link.
GET
/api/urls/:id/clicks
🔒 auth required
Get click analytics for a link. Query: start, end (ISO dates).
Get your API key
Sign in → Settings → Security → API Key.