List Links Clicked

 Home /Knowledgebase / SEMSblast API /List Links Clicked

Use the API to get a list of links that subscribers have clicked in a campaign.

 

Request

Submit an XML Request with the following details:

Post URL: http://cp.semsblast.com/api/v3.0/campaigns/listClicks/

 

Fields to Post
apiKey String REQUIRED The APIKey of the requesting user.
campaignID Int REQUIRED The ID of a campaign.

 

Response

Data Sent Back
error Int Indicates wether an error has occured. 0 for no error. 1 for error.
status String If there's been an error, a text description of the error that occured will be here.
linkCnt Int The number of links clicked
linksClicked    
----> linkClicked    
--------> subscriberID Int The subscriber ID
--------> firstName String The subscriber first name
--------> lastName String The subscriber last name
--------> email String The subscriber email address
--------> groupID Int The group ID the subscriber belongs to
--------> dateClicked Date Time The date and time of the click.
--------> urlClicked String The full URL of the link that was clicked.

 

Sample request XML

<xml>
     <apiKey>44-121312131223</apiKey>
     <campaignID>4124</campaignID>
</xml>

 

Sample response XML

<xml>
     <error>0</error>
     <status>success</status>
     <linkCnt>1</linkCnt>
     <linksClicked>
          <linkClicked>
               <subscriberID>1234</subscriberID>
               <firstName>Test</firstName>
               <lastName>User</lastName>
               <email>test@user.com</email>
               <groupID>1233</groupID>
               <dateClicked>2016-01-03 11:23</dateClicked>
               <urlClicked>http://samplewebsite.com</urlClicked>
          </linkClicked>
     </linksClicked>
</xml>





Copyright © 2015 SEMSblast.com | Smarter eMail Marketing Solution. All rights reserved.Terms of Service | Privacy Policy