Links
Create a new short link
POST
/url-shortify/v1/links
Create a short link
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
url
string
Target URL
Response
{
"success": true,
"data": {
"short_url": "https://example.com/go/KoS"
}
}
Get All Links
GET
/url-shortify/v1/links
<Get all links>
Response
{
"success": true,
"data": [
{
"id": "",
"slug": "",
"name": "",
"url": "",
"description": "",
"nofollow": "",
"track_me": "",
"sponsored": "",
"params_forwarding": "",
"params_structure": "",
"redirect_type": "",
"status": "",
"type": "",
"type_id": null,
"password": "",
"expires_at": "",
"unique_clicks": "",
"total_clicks": "",
"cpt_id": "",
"cpt_type": "",
"rules": "",
"created_at": "",
"created_by_id": "",
"updated_at": "",
"updated_by_id": ""
}
]
}
Last updated