Developer API
Build powerful integrations with our REST API.
Getting Started
Authentication
All API requests must include your API token in the query string or as a JSON body parameter.
GET /api?token=YOUR_API_TOKEN&long_url=...
You can find your API token in your Profile page.
Create Short Link
Create a new short link instantly.
Endpoint
POST
https://vsl.im/api
Parameters
| Field | Type | Description |
|---|---|---|
token |
string | Required. Your API token. |
long_url |
string | Required. The destination URL. |
expiration_date |
string | Optional. (YYYY-MM-DD HH:MM:SS) |
Rate Limits
To ensure stability, we limit API requests per token:
- 1,000 requests per hour.