API Authentication
How to authenticate with the Neura Market API.
Authentication Methods
The Neura Market API supports two authentication methods:
Bearer Token (recommended): Include your API key in the Authorization header:
Authorization: Bearer your-api-key-here
API Key Parameter: Pass your key as a query parameter (less secure, not recommended for production):
GET /api/workflows?api_key=your-api-key-here
Getting Your API Key
- Sign in to your Neura Market account.
- Go to Account Settings → Developer.
- Click Generate API Key.
- Copy and securely store your key — it won't be shown again.
You can generate multiple keys for different applications and revoke them individually.
Security Best Practices
- Never expose API keys in client-side code. Always make API calls from your server.
- Use environment variables to store keys. Never commit them to version control.
- Rotate keys regularly — generate new keys and revoke old ones periodically.
- Use the minimum required scope for each key.
- Monitor usage in your developer dashboard for unexpected activity.