Dashboard
Create and manage your shortened URLs. Sign up or login to save your URLs and access advanced features.
Create New Short URL
Analytics
📖 API Documentation
🔑 Authentication
All authenticated endpoints require your API key in the X-API-Key header.
Your API Key:
🌐 Base URL
Base URL for all API requests:
https://shortenedurl.com/api📡 Available Endpoints
POST https://shortenedurl.com/api/endpoints/shorten.php
Creates a new short URL. API key is optional for public shortening.
cURL Example:
curl -X POST https://shortenedurl.com/api/endpoints/shorten.php \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"longUrl": "https://example.com/very/long/url"}'JavaScript (Fetch) Example:
fetch('https://shortenedurl.com/api/endpoints/shorten.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
body: JSON.stringify({
longUrl: 'https://example.com/very/long/url'
})
})
.then(response => response.json())
.then(data => console.log(data));GET https://shortenedurl.com/api/endpoints/shorten.php
Retrieves all short URLs created by the authenticated user. API key required.
cURL Example:
curl -X GET https://shortenedurl.com/api/endpoints/shorten.php \
-H "X-API-Key: YOUR_API_KEY"DELETE https://shortenedurl.com/api/endpoints/shorten.php?id=URL_ID
Deletes a short URL by ID. API key required.
cURL Example:
curl -X DELETE "https://shortenedurl.com/api/endpoints/shorten.php?id=1" \
-H "X-API-Key: YOUR_API_KEY"GET https://shortenedurl.com/api/endpoints/analytics.php?url_id=1
Retrieves analytics data for a specific URL. API key required.
cURL Example:
curl -X GET "https://shortenedurl.com/api/endpoints/analytics.php?url_id=1" \
-H "X-API-Key: YOUR_API_KEY"GET https://shortenedurl.com/api/endpoints/qr-code.php?code=XXXXXX&size=200
Generates a QR code for a short URL. No authentication required.
cURL Example:
curl -X GET "https://shortenedurl.com/api/endpoints/qr-code.php?code=XXXXXX&size=200"📝 Response Format
All API responses are in JSON format:
Success Response:
{
"success": true,
"url": {
"id": 1,
"short_code": "abc123",
"long_url": "https://example.com",
"created_at": "2024-01-01 12:00:00"
}
}Error Response:
{
"success": false,
"message": "Error message here"
}- Always include the
Content-Type: application/jsonheader for POST requests - Include your API key in the
X-API-Keyheader for authenticated endpoints - Handle errors appropriately in your application
- Rate limiting may apply in production environments
Edit Group URL
Edit URL
File Preparation & Bulk Import Guide
Pro & Enterprise Plan Feature1. Accepted Column Headers
The import engine automatically detects your column headers (case-insensitive). You can include any of the following columns:
| Column | Requirement | Accepted Names | Example |
|---|---|---|---|
url | Required | url, long_url, destination, link | https://example.com/summer-sale?id=123 |
custom_code | Optional | custom_code, alias, slug, code | summer-sale-2026 (3-50 chars: letters, numbers, -, _) |
expires_at | Optional | expires_at, expiration, expiry | 2026-12-31 or 2026-12-31 23:59:59 |
password | Optional | password, pass | SecretPass2026! |
2. How to Export from Your Spreadsheet Software
- Put your column names in Row 1:
url,custom_code,expires_at,password. - Fill your URLs starting on Row 2.
- Go to File → Save As.
- In the file type dropdown, choose CSV UTF-8 (Comma delimited) (*.csv).
- Save and upload the resulting
.csvfile.
- Ensure cell
A1is namedurland paste your destination links in column A. - Optionally add columns B (
custom_code), C (expires_at), and D (password). - Click File → Download → Comma Separated Values (.csv).
- Upload the downloaded file directly.
links.txt, and upload it! 3. Example CSV Text
url,custom_code,expires_at,password
https://example.com/promo-1,summer26,2026-12-31,
https://example.com/promo-2,blackfri26,2026-11-30,SecurePass123
https://example.com/catalog,,,