Skip to main content
OpenMemoryX uses two authentication methods:

1. JWT Token (Portal)

Used for user portal authentication. The token is obtained after login and should be stored in LocalStorage.
string
required
User email address
string
required
User password

Response

Using the Token

Include the token in the Authorization header:

2. API Key (API Requests)

Used for all API operations. Include your API key in the X-API-Key header.

Obtaining an API Key

API keys are automatically created when you register. You can also create additional keys:

Using API Keys

Never expose your API key in client-side code. Use environment variables or secure key management.

Authentication Errors

Security Best Practices

  1. Rotate keys regularly - Delete old keys and create new ones periodically
  2. Use environment variables - Never hardcode API keys
  3. Limit key exposure - Create separate keys for different environments
  4. Monitor usage - Check stats regularly for unexpected activity