$
curl -X POST https://api.bisakofi.com/api/chat
Official BisaKofi API Documentation
Code That Speaks Your Language
// Example: Chat with BisaKofi
const response = await fetch('https://api.bisakofi.com/api/chat', {
method: 'POST',
headers: {
'X-API-Key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
query: 'How do I say "Welcome" in Twi?',
messages: []
})
});
const data = await response.json();
console.log(data.aiResponse);
// Output: "Akwaaba!"Everything You Need — Nothing You Don’t