Generation
Generate SMS messages
Generates draft SMS marketing message variants with per-message encoding and segment counts. Messages exclude opt-out footers and brand prefixes - Sequenzy adds both automatically at send time.
post/generate/sms
Request body
Example request
{
"prompt": "Cart reminder with a free-shipping hook",
"count": 3
}Response
SMS messages generated successfully
Example response
{
"success": true,
"prompt": "Cart reminder with a free-shipping hook",
"messages": [
{
"text": "Hey {{FIRST_NAME}}, your cart is waiting! Complete your order today and shipping is on us.",
"encoding": "gsm7",
"segments": 1,
"characterCount": 94
}
]
}