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 API Settings of the relaxAI dashboard. To create a new API key, select Create new API key, assign a descriptive name, and securely store the generated key. Make sure you take note and save this value somewhere secure, as you will not be able to retreive it again through the dashboard. 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