LAfricaMobile · API publique
Joignez n'importe quel téléphone
en Afrique de l'Ouest.
Sept canaux, un seul jeu d'identifiants. Le SMS et WhatsApp pour les smartphones, l'USSD pour tous les autres, la voix en wolof pour ceux qui ne lisent pas l'écran.
- Endpoints
- 66
- Canaux
- 7
- Authentification
- 1 clé
Choisir un canal
Chaque canal garde sa couleur dans toute la documentation.
Tous les endpoints
Filtrez par chemin, par intitulé, par méthode ou par canal.
- GET
/apiSend as XML via HTTP GETSMS - POST
/apiSend as XML via HTTP POSTSMS - GET
/creditsCredit checkSMS - GET
/airtimeSend airtime or data bundle via GETAirtime - POST
/airtimeSend airtime or data bundle via POSTAirtime - GET
/checkbundleRetrieve available data bundlesAirtime - GET
/checkstatusCheck Transaction StatusAirtime - GET
/creditCheck BalanceAirtime - GET
/api/v1/audiosList your audio filesVoice - POST
/api/v1/audios/ttsSynthesise a text into an audio fileVoice - GET
/api/v1/balanceGet your account balanceVoice - GET
/api/v1/callsList your callsVoice - GET
/api/v1/calls/{id}Get a callVoice - GET
/api/v1/campaignsList your campaignsVoice - POST
/api/v1/campaignsCreate a campaignVoice - GET
/api/v1/campaigns/{id}Get a campaignVoice - PUT
/api/v1/campaigns/{id}Update a campaignVoice - GET
/api/v1/campaigns/{id}/callsList the contacts and calls of a campaignVoice - POST
/api/v1/campaigns/{id}/contactsAdd numbers to a campaignVoice - GET
/api/v1/campaigns/{id}/export.xlsxExport a campaign to ExcelVoice - GET
/api/v1/campaigns/{id}/kpisGet campaign indicatorsVoice - POST
/api/v1/campaigns/{id}/pausePause a campaignVoice - POST
/api/v1/campaigns/{id}/recoverRecover stalled contactsVoice - POST
/api/v1/campaigns/{id}/resumeResume a paused campaignVoice - POST
/api/v1/campaigns/{id}/startStart a campaignVoice - GET
/api/v1/campaigns/{id}/statsGet campaign countersVoice - POST
/api/v1/campaigns/{id}/stopStop a campaignVoice - POST
/api/v1/campaigns/audio/uploadUpload an audio fileVoice - GET
/api/v1/contacts/groupsList your contact groupsVoice - POST
/api/v1/contacts/groupsCreate a contact groupVoice - GET
/api/v1/contacts/groups/{groupId}Get a contact groupVoice - GET
/api/v1/contacts/groups/{groupId}/contactsList the contacts of a groupVoice - POST
/api/v1/contacts/groups/{groupId}/contactsAdd contacts to a groupVoice - DELETE
/api/v1/tenants/me/webhookUnsubscribe from notificationsVoice - GET
/api/v1/tenants/me/webhookGet your notification URLVoice - PUT
/api/v1/tenants/me/webhookRegister or replace your notification URLVoice - POST
/api/v1/voice-otpSend a one-time passcode by phone callVoice - GET
/api/v1/voice-otp/{callId}Get the status of a passcode callVoice - POST
/api/v1/voice-pushBroadcast a spoken message to a contact baseVoice - POST
/sessionPost a USSD sessionUSSD - POST
/loginLoginTTS - POST
/push_ttsPush A Tts CallTTS - GET
/stats/Get All StatisticsTTS - GET
/stats/currentGet Current StatisticsTTS - GET
/stt/Retrieve All STT RequestsTTS - POST
/stt/Create A STT PostTTS - GET
/stt/{post_id}Get PostTTS - GET
/tts/Retrieve All TTS RequestsTTS - POST
/tts/Create A TTS PostTTS - POST
/tts/translateTranslate A TextTTS - POST
/tts/vocalizeSynthesize A TextTTS - GET
/configs/templatesGet a list of your existing message templates.WhatsApp - GET
/configs/webhookRetrieve existing webhook URL.WhatsApp - POST
/configs/webhookSet Webhook URL for receiving incoming messages.WhatsApp - GET
/healthMake a GET call to this node to retrieve the status of your WhatsApp Business API client.WhatsApp - POST
/mediaSet Media.WhatsApp - DELETE
/media/{media_id}Delete Media.WhatsApp - GET
/media/{media_id}Retrieve Media's informations.WhatsApp - POST
/messagesSend text messages, multimedia content/documents and message templates to your customers.WhatsApp - GET
/balanceCheck balancePayment - POST
/checkfactureCheck InvoicePayment - POST
/checkstatusCheck Payment StatusPayment - POST
/checkstatusCheck Payment StatusPayment - POST
/paymentProcess PaymentPayment - POST
/paymentProcess PaymentPayment - GET
/serviceRetrieve the list of available billersPayment
Mise en route
Du compte au premier message.
- 01
Récupérez vos identifiants
Créez un compte sur Mon Espace, ou demandez vos accès à notre équipe technique. Selon le canal, vous recevrez un couple
accountid/passwordou une cléLAM-API-KEY. - 02
Testez sur les URLs de démonstration
Les formulaires de cette documentation tapent les environnements de test. Vous pouvez envoyer de vraies requêtes depuis chaque page d'endpoint avant d'écrire la moindre ligne de code.
- 03
Passez en production
Écrivez à assistance@lafricamobile.com pour obtenir les URLs de production et l'ouverture de votre compte.