Txtly Reports Extraction - PULL

API to Pull logs for all txtly shortened links in your account:

curl -X GET \
'<BASE_URL>&method=txtly&app=1'

API Parameter Specifications

The API parameter specifications are described in the following sections

Mandatory Parameters

The mandatory parameters in the HTTP API are tabulated below:

Parameter Description Expected Values
URL URL of your SMS Service URL
method Predefined method txtly
app Txtly Application Logs 1

Optional Parameter

The Optional parameter in the HTTP API is tabulated below:

Parameter Description Expected Values
format Output format should be as specified by this variable XML/PHP/JSON/JSONP. Default response will be in JSON

Example Responses

JSON

{
    "status": "OK",
    "message": "OK",
    "data":
    {
        "txtlys":
        [{ 
            "link_id": "426272",
            "title": "", 
            "token": "Eu6uVN",
            "long_url": "https://www.google.co.in/search?q=url.
                &oq=so&aqs=chrome.1.69i60j69i59j69i60l3j69i59.
                1358j0j7&sourceid=chrome&ie=UTF-8",
            "advanced": "0",
            "link_type": "URL",
            "callback": "",
            "meta_value": "{\"track\":null}",
            "views": "1", 
            "last_viewed": "1486730380",
            "status": "1",
            "created": "1486730303",
            "serial": 1, 
            "short_url": "http://msg.mn/Eu6uVN" 

            { 
                "link_id": "426068",
                "title": "",
                "token": "wNO6c2", 
                "long_url": "https://www.google.co.in/search?q=url.
                    &oq=solut&aqs=chrome.1.69i60j69i59j69i60l3j69i57.
                    2228j0j7&sourceid=chrome&ie=UTF-8",
                "advanced": "0",
                "link_type":"URL",
                "callback": "",
                "meta_value": "{\"track\":null}",
                "views": "0",
                "last_viewed": "0",
                "status": "1",
                "created": "1486725578",
                "serial": 2,
                "short_url": "http://msg.mn/wNO6c2" 
            }, 
            { 
                "link_id": "426067",
                "title": "",
                "token": "KcIaHc",
                "long_url": "https://www.google.co.in/search?
                    q=url.&oq=solut&aqs=chrome.
                    1.69i60j69i59j69i60l3j69i57.2228j0j7
                    &sourceid=chrome&ie=UTF-8",
                "advanced": "0",
                "link_type": "URL",
                "callback": "",
                "meta_value": "{\"track\":null}",
                "views": "0",
                "last_viewed": "0",
                "status": "1",
                "created": "1486725490",
                "serial": 3,
                "short_url": "http://msg.mn/KcIaHc"
            } 
        }],
        "pagination":
        { 
            "now": 3,
            "next": false,
            "page": 1,
            "limit": 25,
            "limitstart": 0,
            "total": 3,
            "extra": null
        } 
    }
}