Developer Documentation

Clypt API

Programmatically create short links, retrieve analytics, and manage your links with our RESTful API. Available on Business plans and above.

Authentication

All API requests require a Bearer token. Generate your API key from your dashboard settings page.

Base URL

All endpoints are available at https://clypt.io/api/. Responses are returned in JSON format.

Rate Limits

Free: 100 req/hour. Pro: 1,000 req/hour. Business: 10,000 req/hour. Enterprise: Custom limits.

Endpoints

POST/api/links

Create a new short link

{ "url": "https://example.com", "title": "My Link", "tags": ["marketing"] }
GET/api/links

List your links with pagination, search, and tag filtering

?page=1&limit=20&search=example&tag=marketing
GET/api/links/:id

Get details for a specific link

PATCH/api/links/:id

Update a link (title, tags, active status, expiration)

{ "title": "Updated Title", "isActive": true }
DELETE/api/links/:id

Delete a link and its analytics data

GET/analytics

Get aggregated analytics for a link or all links

?linkId=abc123&period=7d
POST/api/ai/insights

Generate AI-powered insights for a link's performance

{ "linkId": "abc123", "period": "7d", "analytics": { ... } }

Ready to integrate?

Create an account and generate your API key to get started.

Get Your API Key