API Key Management
Each API key gets its own wallet for isolated budgets.Creating an API Key
- Go to API Keys page
- Click “Create New API Key”
- Give it a name
- Copy and save the key (shown only once!)
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate and manage API keys for programmatic access
curl -X POST https://api.chat402.xyz/api/v1/prompt \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-3.5-turbo","prompt":"Hello!"}'