s2l.cc URL shortener

Registration

Use POST /api/register with JSON:

{ "name": "John", "surname": "Doe", "email": "john@example.com", "companyName": "Optional", "webPage": "https://optional.com" }

Confirm Email

Use GET /api/confirm-email/{token}

After confirmation, you will receive an API key (GUID) that you must use for authentication.

Create Short URL

Use POST /api/shorten with JSON:

{ "email": "john@example.com", "apiKey": "your-guid-api-key", "url": "https://example.com/very/long", "code": "optional-custom-code", "lifetimeMinutes": 60 }

Note: lifetimeMinutes is optional. If not specified, URL is permanent.

Free users: Limited to 10 active URLs. Upgrade to Pro