Foxly

Lifetime Offer Now Live! Don't Miss Out!

Foxly Branded Links, URL Shortener, Custom Domain Links

Retrieve Links Information in Foxly

Retrieve all links for a particular user and obtain the total count of links.

API Endpoint:

GET /api/user/v1/url_list

Request Body:

curl --location --request GET 'https://apiv2.foxlyme.com/api/user/v1/url_list?page=1&limit=1' \
--header 'api-key: API_KEY'

Query Parameters:

  • page (query) – Number
  • limit (query) – Number

Response Body:

{
    "data": {
        "message": "string",
        "count": "number",
        "data": [
            {
                "status": 1,
                "user_id": "string",
                "short_url": "string",
                "short_code": "string",
                "domain_id": "string",
                "created_at": "date",
                "url_shortner_id": "string"
            }
        ]
    }
}

2. Total Clicks per Link

Retrieve the total click count for a specific link.

API Endpoint:

GET /api/user/v1/total_clicks

Request Body:

GET /api/user/v1/total_clicks

Query Parameter:

  • short_code (query) – String

Response Body:

{
    "data": {
        "message": "string",
        "totalClicks": "number"
    }
}