Skip to content

Callbacks and webhooks ​

Galatext processes service callbacks for WhatsApp message status, inbound replies, payments, and USSD phone sessions. Connection setup is managed by Galatext.

Customer integration ​

The current customer API does not provide webhook subscription management, configurable outbound event forwarding, or a customer webhook signing-secret flow. SMS requests do not accept webhookUrl or reference fields.

Use these endpoints to read results from your application:

ServiceRead results
SMSGET /api/developer/messages with an API key; lists sent records
CampaignsGET /api/sms/campaigns/:id with a bearer token
WhatsAppGET /api/whatsapp/batches/:id and /api/whatsapp/logs with a bearer token
USSDGET /api/ussd/applications/:id/sessions with a bearer token
AirtimeGET /api/airtime/transactions with a bearer token
Credit purchasesGET /api/developer/credits/verify/:reference with an API key

Poll at a reasonable interval and handle 429 responses. Sending counters indicate acceptance or failure during sending; they should not be treated as confirmed handset delivery.

USSD connections ​

Define your USSD screens through the menu API, then publish the menu. Galatext assigns and activates the code and manages the network connection. Your application does not need to expose a callback URL to use the menu builder or preview.

Powered by Galatext Software