Learn how to authenticate your requests to the BLACKBOX API.
Authorization
Authorization: Bearer YOUR_API_KEY
YOUR_API_KEY
curl https://www.blackbox.ai/api/v1/chat \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "blackbox-chat", "messages": [ { "role": "user", "content": "Hello world" } ] }'