API Keys
Use an API key to authenticate requests to https://message.geneline-x.net
.
Create an API key
Section titled “Create an API key”- Sign in at
https://genistud.io
. - Open your account or workspace settings.
- Locate the “API Keys” or “Developers” section.
- Create a new key and copy it. Store it securely.
If you cannot find the API key screen, contact your Geneline‑X admin for access.
Use the key
Section titled “Use the key”Provide one of the following in each request (except /metrics
):
- Header:
X-API-Key: <key>
- Header:
Authorization: Bearer <key>
- Query:
?api_key=<key>
Example
Section titled “Example”curl -X POST \ https://message.geneline-x.net/api/v1/message \ -H "Content-Type: application/json" \ -H "X-API-Key: $GENISTUDIO_API_KEY" \ -d '{ "chatbotId": "YOUR_CHATBOT_ID", "email": "user@example.com", "message": "Hello" }'
Rotate keys regularly and never commit them to source control.