hi4.in URL Shortener API - Complete Reference Guide
Explore the available API endpoints for the hi4.in URL shortener service.
Create a shortened URL with optional custom slug, password protection, and expiration date.
Retrieve information about a shortened URL including clicks, creation date, and metadata.
Access the original URL through the shortened link.
Check the API service status and database connectivity.
Download the complete OpenAPI 3.0 specification for integration with your development tools.
To use the API, send a POST request to /api/shorten
with your URL in JSON format:
{
"long_url": "https://example.com",
"custom_slug": "optional",
"title": "Optional Title",
"password": "optional",
"expires_at": "2024-12-31T23:59:59Z"
}
Some endpoints require JWT authentication. Include the token in the Authorization header:
Authorization: Bearer YOUR_JWT_TOKEN