API Documentation
Getting Started
Note: These endpoints require an API key. Get yours at plung.co/console.
The Plung API operates via standard HTTP requests and JSON payloads. Shorten a URL instantly:
v2 (Authenticated)
bash
curl -X POST https://api.plung.co/v2/shorten \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key_here" \
-d '{"url": "https://example.com", "alias": "my-link"}'The response includes your new shortcode and its ready-to-share URL.