Send SMS
API Reference
Send SMS
POST /marketplace/messaging/send-sms — transactional SMS with optional template or inline body — through the gu1 messaging API for customer communications.
POST
Send SMS
Sends a single transactional SMS for the authenticated organization. Requires the SMS marketplace integration and a configured messaging provider. See Messaging overview for prerequisites and billing.
Do not send
Endpoint
Headers
Request body
Common
Destination phone number (E.164 recommended, e.g.
+5491112345678). Length limits apply (validated server-side).Optional index for the org’s Twilio SMS sender list in integration config (
-1 or omit for platform default behavior, depending on provider). Same semantics as other SMS features in the app.Replacements for
{{placeholders}} in the template or inline body. Default {}.Mode A — Stored template
Message template with channel sms.
body in this mode.
Mode B — Inline body
Do not sendtemplateId.
SMS text. Max ~4,000 characters. May include
{{variables}} replaced via templateParams.Example — template
Example — inline with placeholders
Success response
Common errors (400)
- SMS integration not active or provider not configured
- Insufficient balance / no pack execution when the integration has a cost
templateIdandbodyboth sent- Template not found or channel is not
sms - Body empty after rendering
error field when success is false.