API Docs

Update URL

Update URL by sending PUT data in json format to REST API endpoint: /api/v1/urls/:SLASHTAG
DEPRECATED: /api/v1/urls/:ID

Example: If you want to update short url "t2m.io/ABC1234".
Endpoint: /api/v1/urls/ABC1234


Parameter Type Position # Description
apikey string Header Required Enter your 20-characters unique api key.
apisecret string Header Required Enter your 12-characters unique api secter.
Content-Type string Header Required application/json
destination string Body Optional The destination URL that you want to transform into short URL.
slashtag string Body Optional The keyword for your branded short URL. Max: 100 characters
redirect_code string Body Optional HTTP redirect codes (301, 302, 303, 304, 307, or 308). Default is 301
password string Body Optional Password to protect URL and default is no password. Max: 50 characters
domain_id integer Body Optional ID of branded short domain. Default is 0 (no branded domain)

Sample post-data json



    "status": 200,
    "message": "ok",
    "data": {
        "rows_updated": 1
    "status": 400,
    "message": "Bad request. <detailed-msg-will-go-here.>",
    "data": []