Update Short URL
Updates the destination URL and/or title of an existing short URL. The domain and slug identify which link to update.
Header Parameters
Request Body
application/json
Updated short URL details
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/api/v1/shorten" \ -H "Authorization: string" \ -H "Content-Type: application/json" \ -d '{ "domain": "string", "slug": "string", "target_url": "string", "title": "string" }'{ "code": 0, "message": "string", "data": { "code": 0, "data": { "tags": [ { "id": 0, "name": "string" } ] }, "message": "string" }}Create Short URL (Simple Mode) GET
A simplified way to create short URLs using query parameters instead of a JSON body. Ideal for quick integrations, bookmarklets, or when you need a plain text response. Set json=true for JSON response format.
Delete Short URL DELETE
Permanently deletes a short URL. This action cannot be undone. The slug will become available for reuse after deletion.