Skip to content

Authentication

API Keys

API authentication for relaxAI is handled through API keys. You can generate and manage your API keys within the settings of the relaxAI dashboard. To create a new API key, navigate to the API Keys section in Settings, select Create new API key, assign a descriptive name, and securely store the generated key. Ensure that you do not share your API key or expose it within client-side code.

Include your API key in all API requests by specifying it in the Authorization HTTP header:

Terminal window
Authorization: Bearer $RELAX_API_KEY