Published on June 1, 2023

How to create an API token in LogSnag?

LogSnag requires an API token to authenticate your tracking requests. This is required to prevent unauthorized access to your projects. You can create as many API tokens as you want and use them in different projects. Here's how you can create an API token in LogSnag:


Go to your account settings

From the sidebar, click on the Settings button to go to your account settings. From there, you should see a tab called API. Click on it to go to the API settings page.


Create a new API token

Under the My Tokens section, you should see any existing API tokens that you have created. If you haven't created any API tokens yet, you should see a button called Create Token. Click on it to create a new API token.


Configure your API token (Optional)

You can configure your API token to have a name, limit its access to certain projects or channels, and also switch it from a Private token to a Public token. Once you are done configuring your API token, click on the Save button to save your changes.