View our documentation on the APIs for Affiliates, Campaigns, Numbers, and Calls.
API Updates Mailing List
If you are implementing our API, please subscribe to our API update list so we can inform you of changes and new versions.
Affiliate Network Integration Guides (04/13)
If you are looking to integrate CallPixels with your affiliate network, please follow our Deep Integration Guide (pdf). The API does not give full access to all the features on CallPixels and is currently being maintained to support existing users. We also have information on our replacement tokens available in our Webhooks and Timers Guide (pdf).
We recommend following these guides as the methods described will continue to be developed and kept up-to-date with the features available in our sevice.
Please contact us at email@example.com to obtain a partner code and shared key.
General API Info
Generally, Object parameters must be nested in a named node in the root object.
For example, if you are updating an Affiliate, you will have to pass...
You must also set an appropriate HTTP Content-Type header if you're posting JSON...
... or XML.
You must also pass your API Key, and if you're a reseller, the Company ID that you are managing.
Failure to include the company_id will have bad results for resellers.
Get your API Key from the My Account page under the upper right corner User menu. Click Show at the bottom of the My Account page, and send that API key along with your requests. If you need to, you can reset your API key on that page.
Your API Key can be passed as a GET variable or it can be a node in the root of your request.
- Set up a campaign
- Create a number
- Call the number you just created
- Check out the call log
- Check your tracking system (Cake, HasOffers, HitPath, LinkTrust, etc) and see the click on your campaign
- Sign in to callpixels.com to get your company ID. Click "Companies" in the Reseller section on your account menu, and you will see your company ID.