In order to use ClickBank's APIs, you must have an API key. There are two types of API keys: developer and clerk. Each key can be used to grant specific roles.
- Developer Key
This key grants access to the API for your account. This key is required for all ClickBank APIs. - Clerk Key
This is a key for a specific user. It grants one or more of the following roles: read, write, analytics, products, subscription modification.
ClickTip: Do not share your ClickBank API keys publicly. Redact all personal information and API keys when troubleshooting or sharing code online via websites like Pastebin or Stack Exchange.
This article contains the following sub-articles. Click the hyperlinked title to navigate to the section that best suits your needs.
How to Generate an API Key
ClickTip: If you have linked accounts or if you created your account on or before 10/29/19, make sure to navigate to the sales accounts management page by clicking the hyperlinked account nickname of the account you wish to create an API key for.
To create an API key, follow the instructions below:
Step 1: Log in to your ClickBank account.
Step 2: Click the Account Settings tab.
Step 3: Locate the Clerk API Keys or Developer API Keys box.
Depending on which key you need, locate the Clerk API Keys or Developer API Keys box.
Step 4: Click Edit.
Click the Edit hyperlink in the upper right corner of the box.
Step 5: Click the Create New Clerk User/Developer Key button.
Step 6: Provide a description for the key in the Description field.
Step 7: Select which roles you wish to allow the user to perform.
This step is for Clerk API keys only.
Step 8: Click the Save button.
Once you click the Save button, the key will be generated and saved in the API Keys table.
ClickTip: Follow these steps to view and edit current API keys as well.
How to Generate a Clerk API Key for Users With Linked Accounts or Accounts Created After 10/29/19
This set of instructions pertains to Clerk API keys only. Users cannot generate a developer API key without accessing the sales account management page of specific single accounts. To generate a developer API key, follow the instructions in the How to Generate an API Key section.
Step 1: Log in to your ClickBank account.
Step 2: Click the Users tab.
The Users tab looks like two people.
ClickTip: If you wish to see tab descriptors, click the "hamburger" icon in the upper left corner of the screen.
ClickTip: If you have not added any users to your account yet, follow the steps HERE before proceeding. If you're setting up a clerk API Key for your own account you will need set up a clerk user for yourself using a different email address than what you used to create your ClickBank account with.
Step 3: Select the user you wish to create a new API key for from the table.
Step 4: Click the Manage Permissions link.
Step 5: Locate the user's API key in the middle of the screen.
Step 6: Click the regenerate button if you wish to regenerate an API code.
ClickTip: Manage which APIs specific users can access from this page by checking the boxes in the table at the end of the page.