Links API
Complete REST API specification for creating, retrieving, updating, and deleting links.
Links API Reference
The Links API allows you to manage shortened URLs programmatically.
1. List All Links
Retrieve all links belonging to the authorized organization, enriched with click counts and author details.
Request
Response (200 OK)
Response
2. Create a Short Link
Create a new shortened link under the specified domain and organization.
Request
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Target destination URL (must be valid HTTP/HTTPS address). |
shortLink | string | No | Custom slug. If omitted, a random 6-character ID is generated. |
domain | string | No | Hostname for short link. Defaults to system SHORT_DOMAIN. |
active | boolean | No | Whether the link is immediately active. Defaults to true. |
Response (200 OK)
Response
3. Get Link Details
Retrieve details and configuration for a specific link ID.
Request
4. Update a Link
Update the target URL, custom slug, or active state of an existing link.
Request
5. Delete a Link
Permanently delete a short link and purge its routing configuration.
Request
Response (200 OK)
Response
Last updated on October 20, 2026