Links

POST /url-shortify/v1/links

Create a short link

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeDescription

url

string

Target URL

Response

{
    "success": true,
    "data": {
        "short_url": "https://example.com/go/KoS"
    }
}

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