Oktopost
Analytics

Clicks

List clicks on your shortened links, with attribution and audience data.

Every link shared through Oktopost is shortened with the okt.to link shortener, and each click is tracked with attribution data. Click records capture information about the user who clicked the link, including their browser, device, location, and the originating post and campaign. Use these endpoints to retrieve click data, analyze link performance, and understand audience engagement with your shared content.

Click records include both link clicks and associated conversion data, which gives a complete view of the user journey from click to conversion. For aggregated click analytics, use the Exports endpoint.

List Clicks

Retrieve click records, optionally filtered by campaign, message, lead, visitor, or date.

GET /v2/click

Use filters to narrow the results; unfiltered requests can return a very large number of clicks. See Pagination for shared behavior.

Parameters

Prop

Type

Example Request

curl -X GET "https://api.oktopost.com/v2/click" \
  -u ACCOUNT_ID:API_KEY

Example Response

{
    "Result":true,
    "Items":[
        {
            "Id":"009000000000001",
            "Created":"2015-11-19 17:24:29",
            "CampaignId":"002000000000001",
            "MessageId":"005000000000001",
            "PostId":"004000000000001",
            "PostlogId":"007000000000001",
            "LeadId":"",
            "ConversionTagId":null,
            "CredentialId":"003-001000000000001-xxxxxx-xxx",
            "CampaignName":"2015-11 General Campaign",
            "CredentialName":"John Doe's Twitter",
            "Message":"See what's new at Oktopost http:\/\/www.oktopost.com\/",
            "LinkUrl":"",
            "LinkTitle":"",
            "ImageUrl":"",
            "Picture":0,
            "RemoteUrl":"",
            "ConvertedDate":"0000-00-00 00:00:00",
            "Network":"Twitter",
            "UserAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/46.0.2490.71 Safari\/537.36",
            "GeoCountry":"",
            "GeoCity":"",
            "GeoOrganization":"",
            "GeoLongitude":0,
            "GeoLatitude":0
        }
    ],
    "Total":91709
}