Naytev's API Services are available with select Enterprise Licenses.
Naytev's API is secured at the Account Organization level. You authenticate to the Naytev API by providing your API keys in the request. Your API keys carry many privileges, so be sure to keep them secret!
Find Your API Keys
To find your API key, go to your Naytev Dashboard and navigate to the the Settings > API page. On this page you will find the list of API keys. If this is the first time you are at this page, you will see a button to create an API key. Press the button and your first API key will be generated.
Use Your API Keys
To use your API key, just set the X-Auth-Token
header to be to your key. This applies to all API calls. There are no API calls that are public. All API requests must be made over HTTPS. Calls made over plain HTTP will fail. You must authenticate for all requests.
Here is an example API call to ensure that your API Key is valid:
curl "https://api.naytev.com/v1/organization/test" \
--header "X-Auth-Token: ${Your API Token}"