To ensure secure access to the ChatNode API, all endpoints require authentication using a Bearer token. This token should be included in the header of your API requests. To get your API key (Bearer token), just follow these simple steps:

1

Access Account Settings

Once you’re logged in, navigate to your account settings. You can find this in the top right corner under your profile.

2

Generate API Key

In the account settings, look for a section labeled ‘API Keys’. There’s an option to generate a new API key. Click on it, and voila! Your new API key should be ready to use.

Remember, keep your API key confidential to protect your resources.

Confirm API Key Validity

To ensure that your API key is valid and active, you can use the Authenticate Me endpoint provided by ChatNode. This endpoint allows you to verify your API key’s authenticity and view associated user information. Follow the steps below to check your API key using the Authenticate Me endpoint:

1

Input API Key

In the Authorization field, input your API key.

2

Send the Request

After entering your API key, click the ‘Send’ button to submit your request. The server will process your request. If your API key is valid, You will receive a response from the server with your email. If there is an issue with your API key, the response will include an error message detailing the problem.