How to use API Access
This guide explains how to:
- Request an API key from Publisher Champ
- Grant API access to another Publisher Champ user
- Revoke API access later if needed
You can find this page in Publisher Champ at My Account > Settings > API Access.
Before you start
To use the API, the receiving account must have an API key assigned.
If you do not already have an API key, contact us and we can generate one for you:
- Live chat on Publisher Champ
- support@publisherchamp.com
Where to find API Access
- Log in to Publisher Champ
- Go to My Account Settings
- Open the API Access tab
Requesting an API key
If your account does not have an active API key yet, the API Access tab will show a message letting you know.
Contact us through:
- Live chat
- support@publisherchamp.com
Once we assign an API key to your account, it will appear in the API Access tab.
Grant API access to another user
Use this when you want another Publisher Champ user to access your account by API.
- Open the API Access tab
- In Share Your Account By API, enter the recipient's email address
- Click Grant Access
- Confirm the action
After this:
- The other user can use their own API key
- They can use your
account_id - Your account will appear in their Account IDs You Can Use section
The receiving user must already have an API key assigned, otherwise the grant cannot be created.
Revoke API access
You can remove API access at any time.
- Open the API Access tab
- In Who Has Access, find the email address
- Click Revoke
- Confirm the action
Once revoked, that user will no longer have explicit API access to your account.
What the other user sees
If the receiving user has an active API key, they will see:
- Their assigned
api_key - The
account_idvalues they can use
They can then call the API with:
- Their own
api_key - The granted account's
account_id
Summary
- Ask us to generate an API key if your account does not have one yet
- Use the API Access tab to grant access by email
- Use the same tab to revoke access later
- The receiving user must have an assigned API key for the shared account to appear