KaizenCoders
HomeURL ShortifyContact
  • Documentation
  • Announcements
    • 💰[IMPORTANT] Buy an annual/lifetime URL Shortify PRO plan at the old price until September 2, 2024
  • Account & Billing
    • Prorating Upgrades & Downgrades
  • URL Shortify
    • Getting Started
      • Features
      • Benefits Of URL Shortify
      • Integrations
      • How to install URL Shortify
    • API Documentation
      • Links
    • Frequently Asked Questions
    • Release Notes
    • How to create a short link
    • What is No Follow and Sponsored link?
    • What is Parameter Forwarding, Why to use it & How to implement in URL Shortify?
    • What is Link Tracking, Why do track links & How to do it with URL Shortify?
    • How to generate QR code of a short link?
    • How to Exclude Specific IP Addresses
    • How to import short links using CSV?
    • How to redirect to different urls based on device?
    • How to redirect to target url based on location?
    • How to enable/disable auto create link for Posts, Pages & any custom post types?
    • How to Filter Out Known Robots Clicks
    • How to setup custom domains in URL Shortify
    • Share short links on the different social media platforms
    • How to create UTM Presets & use it?
    • How to do Split test (A/B test) of short links?
    • How do we give link management access to other WordPress roles?
    • How to export Links & Clicks data?
    • Generate Short Links On Importing Posts through WP All Imports
    • Link Cloaking & Masking
    • Generate Short Links for Posts, Pages & Custom Post Types in Bulk
    • How to Set an Expiry Date for Short URLs in URL Shortify
    • Display Short URL Above, Below, and Within Post, Pages, & Custom Post Types Content
    • What is Link Rotations & How It Works?
  • Update URLs
  • Social Linkz
    • Page 1
Powered by GitBook
On this page
  • Create a new short link
  • Get All Links
  1. URL Shortify
  2. API Documentation

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"
    }
}
{
  "error": "Invalid request"
}

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": ""
        }
    ]
}
{
  "error": "Invalid request"
}
PreviousAPI DocumentationNextFrequently Asked Questions

Last updated 9 months ago