Clicks & Conversions

The following endpoint can be used to retrieve clicks and conversions data from your Oktopost account.

Example Request

curl -i


The following parameters can be used to filter data. We strongly recommend using filters to get the desired results.

Param Default Description
_order created Options: created, campaignName and credentialName
_count 25 Options: 25, 50, 100 and 200
_page 0 Current page
convertsOnly 0 Get only clicks that resulted in a conversion. See Conversion Tracking
messageId - See Messages API
leadId - See Leads API
campaignId - See Campaigns API
visitorId - Id assigned per unique visitor
before - Date time string. E.g. 2019-06-30T00:00:00
after - Date time string. E.g. 2019-06-30T00:00:00

Example Result

            "Created":"2015-11-19 17:24:29",
            "CampaignName":"2015-11 General Campaign",
            "CredentialName":"John Doe's Twitter",
            "Message":"Oktopost Rocks! http:\/\/\/",
            "ConvertedDate":"0000-00-00 00:00:00",
            "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",

Feedback and Knowledge Base