Authentication

To send events you need a valid API key. You can generate several keys on your own. Go to the settings page and click Generate New Key.

Api keys are sensitive data, so keep them private and never share it.

Methods to keep API keys secret

  • Do not commit API keys into git.
  • Set file permissions, so that other users on a server can not read a script that contains the API key. For example with chmod 0700 /path/to/file.
  • Use environment variables for deployments.