Quick Start Guide

We have included a quick start guide to help you make a quick connection to sample APIs from a Firefox Add-on. You are free to use any available tool to connect to the APIs.

How to Connect to Commission Junction APIs (Mozilla Firefox example)

Step 1 – Acquire a CJ Developer Key

Click on "Register for a Key" in the right navigation and submit your CJ Affiliate account User name and Password. A key to use CJ's Web Services will be presented and will also be emailed to the email address associated with the User name.

Step 2 – Set Up Browser Add-on

Download the Modify Headers Add-on from Mozilla Firefox. Make sure you restart your Firefox browser to activate the Add-on. Now open your Firefox browser and navigate to the Tools menu and then select Modify Headers in that drop down. You will be presented with the Modify Headers interface.

Select 'Add' from the left hand drop down menu. This will add the specified name and value to the http header of your request.

In the first text box, enter "authorization". This is the name of the header parameter for your CJ Development Key.

In the second text box, enter your CJ Development Key acquired in Step 1 above. Be sure the entire key is entered.

Set up browser add-on

Click the 'Add' button and now your key should be stored. Leave this window open and move on to the next step.

Set up browser add-on 2

Step 3 – Make a Call to a CJ Web Service.

For purposes of this example, we are going to make a call to the Advertiser Lookup Service.

Open up a Firefox browser window and paste the following URL in your navigation bar:

https://advertiser-lookup.api.cj.com/v3/advertiser-lookup?advertiser-ids=notjoined

This call provides you with information on all of your not-joined advertisers. Here's a snippet of the result:

Set up browser add-on 3

Once you're done, you may want to disable the authorization parameter within the Modify Headers add-on, so that your dev key is not passed via all of your non-Web Service related http requests.