Getting started
To protect your interactions with Neurax AI's API and safeguard your data, we use a robust authentication framework to ensure secure access.
Step 1: Obtaining Your API Key
If you haven’t already generated an API key, follow the steps in the API Key Creation guide.
Once generated, copy your API key from the Dashboard and store it securely.
⚠️ Important: Treat your API key like a password. Do not share it with unauthorized parties.
Step 2: OAuth 2.0 Authentication (Optional)
Neurax AI also supports OAuth 2.0, a widely-used authorization protocol. Here’s how you can set it up:
Register your application with Neurax AI to obtain client credentials.
Implement OAuth 2.0 in your app using the provided Client ID and Client Secret.
Request an access token via the OAuth flow and include it in the authorization header of your API requests.
For detailed steps, refer to the OAuth 2.0 Documentation available in the developer section.
Step 3: Testing Authentication
Use tools like Postman, cURL, or other HTTP clients to send test API requests.
Verify that your authentication headers are correctly formatted and that you receive a valid response from Neurax AI servers.
Example test request using cURL
Step 4: Troubleshooting Authentication
If you experience issues during the authentication process:
Double-check your API key or access token for typos.
Ensure your application is properly registered if you’re using OAuth 2.0.
Review the API Documentation for proper usage of authentication headers.
Still facing problems? Contact our Support Team for personalized assistance.