API

Introduction

This API allows you to create short URLs programmatically. All URLs created through this API will expire after one month of inactivity.

Base URL

https://shortenurl.app

Endpoints

Create Short URL

POST /api/v1/shorten

Request Body

{
  "url": "https://example.com"
}