Ship faster with production-ready client libraries for JavaScript and PHP. Full coverage of the Tabi API with zero external dependencies.
tabi-sdk on npm
Install
npm install tabi-sdkQuick start
import { TabiClient } from 'tabi-sdk';
const tabi = new TabiClient({
apiKey: 'tk_your_api_key',
baseUrl: 'https://api.tabi.africa/api/v1',
});
// List channels
const channels = await tabi.channels.list();
// Send a WhatsApp message
await tabi.messages.send('channel-id', {
to: '2348012345678',
content: 'Hello from Tabi!',
});tabi/sdk on Packagist
Install
composer require tabi/sdkQuick start
<?php
use Tabi\SDK\TabiClient;
$tabi = new TabiClient(
'tk_your_api_key',
'https://api.tabi.africa/api/v1'
);
// List channels
$channels = $tabi->channels()->list();
// Send a WhatsApp message
$tabi->messages()->send('channel-id', [
'to' => '2348012345678',
'content' => 'Hello from Tabi!',
]);Need help? Browse the full API reference