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:
| Service | Read results |
|---|---|
| SMS | GET /api/developer/messages with an API key; lists sent records |
| Campaigns | GET /api/sms/campaigns/:id with a bearer token |
GET /api/whatsapp/batches/:id and /api/whatsapp/logs with a bearer token | |
| USSD | GET /api/ussd/applications/:id/sessions with a bearer token |
| Airtime | GET /api/airtime/transactions with a bearer token |
| Credit purchases | GET /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.