Documentation
Everything you need to know about using the KKoode API
Quick Start Guide
Learn how to make your first API call
3. Get your API key
Generate an API key from your dashboard to authenticate your requests.
4. Make your first API call
Use our API to access any of our supported models.
curl -X POST https://api.kkoode.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "openai/gpt-4o",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello, world!"}
]
}'