Base URL
https://smply.cc/api/v1
Auth header
X-API-Key: <YOUR_API_KEY>
Request body
{
"url": "https://example.com/very/long/path"
}
Response 200
{
"short_url": "https://smply.cc/abc123",
"code": "abc123"
}
Path parameter
code
string
The short code returned from /shorten
Response 200
{
"short": "https://smply.cc/abc123",
"original": "https://example.com/very/long/path",
"visited": 142,
"created": "2025-01-15T14:30:00Z",
"last_visited": "2025-03-24T09:12:00Z"
}
Behaviour
Returns a 302 Found redirect
to the original URL. Increments the visit counter and records
last_visited. No request body
required.
Response 302
HTTP/1.1 302 Found Location: https://example.com/very/long/path