X-API-Key header of requests.
k parameter:
Key types
There are two types of API key: public and private.| Key type | Description |
|---|---|
| Public | Used when you cannot guarantee the key won’t be seen by others. These are typically used on your sites & apps. |
| Private | Used when you can guarantee the key won’t be seen by others. These are typically used for making changes to your Permutive account, e.g. creating a new cohort. |
Creating an API key
You can manage your API keys in the Settings › Keys section of the Permutive Dashboard. To create a new API key, follow these steps:- Navigate to the Keys section of your Permutive organization settings.
- Click on the Add Key button.
- Choose between a public and private key, and provide a name for your key.
- Once you click Add Key, the key you have created will be listed in the Keys section.