Install
Get an API key from the dashboard, then pick your language.
curl
curl https://api.waviafrica.com/v1/sms \ -H "Authorization: Bearer wavi_live_..." \ -H "Content-Type: application/json" \ -d '{"to":"+256700000000","from":"WAVI","text":"Hello from Wavi"}'Node
npm install @wavi-africa/sdkimport { Wavi } from '@wavi-africa/sdk';const wavi = new Wavi({ apiKey: process.env.WAVI_API_KEY });await wavi.sms.send({ to: '+256700000000', from: 'WAVI', text: 'Hello' });Python
pip install wavi-africafrom wavi_africa import Waviwavi = Wavi(api_key="wavi_live_...")wavi.sms.send(to="+256700000000", from_="WAVI", text="Hello")