Delivery and sending results
Sending results describe whether Galatext accepted an SMS for sending. They do not by themselves confirm that the recipient's handset received the message.
Direct SMS results
POST /api/sms/send-api returns messageIds, totalSent, totalFailed, remainingCredits, and success. Keep the returned IDs with your application's record of the submission.
To review sent message records:
curl 'https://api.galatext.com/api/developer/messages?skip=0&take=20' \
-H "x-api-key: $GALATEXT_API_KEY"The response is { data, total }. This endpoint lists sent records; it is not a complete queue or failure report.
const messages = await client.sms.list(0, 20);Campaign reports
Use GET /api/sms/campaigns/:id with a bearer JWT. Campaign records include status, totalRecipients, successfulDeliveries, failedDeliveries, cost, and any error.
The campaign counters currently represent sending results. COMPLETED means the sending job finished; it must not be treated as confirmed handset delivery. Poll at a reasonable interval while a campaign is scheduled or sending.
Callbacks
The current customer API does not provide a configurable outbound SMS delivery webhook or a GET /sms/:id status endpoint. See callbacks and webhooks for the supported integration boundaries.