URL Shortener
Create short, shareable links for your long URLs
Shorten URL
Enter a long URL to generate a short link
Your Recent URLs
Loading recent URLs...
API commands for this page
Run these examples from a terminal. Replace sample values and add your bearer token where required.
Shorten a URL
curl -q -LSsf -X POST -H 'Content-Type: application/json' --data-raw '{"url":"https://example.com"}' 'https://api.casjay.coffee/api/v1/data/urls/shorten'
List your URLs
curl -q -LSsf -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.casjay.coffee/api/v1/data/urls/list'
URL information
curl -q -LSsf 'https://api.casjay.coffee/api/v1/data/urls/info/YOUR_CODE'
Delete a shortened URL
curl -q -LSsf -X DELETE -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.casjay.coffee/api/v1/data/urls/YOUR_CODE'