This guide explains on getting started with vNative Publisher API for vNative publisher accounts.
The vNative REST API allows developers to access and integrate the functionality of vNative with other applications. Some example API methods include retrieving campaigns, tracking links, conversions logs, and retrieving payouts and custom reports.
Creating an API Key
API keys can be created from within the application or you can talk to your account manager to get API key:
- Log into the publisher panel and go to Integrate from top right navbar, and click on the “API” tab.
- If you don’t already have an API Key there will be a notice with a link to create one. Once you’ve created one, the page will display your private API Key.
- You can also talk to your Account Manager about creating and obtaining your API Key
Whitelist IP Address
IP addresses can be whitelisted in the application: Hover over the Support tab in the Navigation Bar and click on the API link from the drop-down. There will be a box underneath your API Key to submit an IP address to whitelist. Additional IP addresses can be added to the whitelist using the API method.
Making a Request
Your Network’s API Key is used to authenticate requests through the API. Every API request must have a valid API Key. When making an API Request, use your API Key as header request with parameter X-Api-Key.
Example: Getting Affiliates List
STEP I: Get your API key
STEP II: See documentation for end points, for our case, it is “/affiliate”