← Back to docs

SMS Prefix Callback - Raw Body Reply

Language: EN | EN | SV

SMS Prefix Callback - Raw Body Reply

✅ Current Behavior

Whatever the callback URL returns in the HTTP body is sent back as is as the SMS reply.

  • No filtering
  • No HTML stripping
  • No special handling

If the callback returns:

Thank you for sending this to us: HEJ HOPP

then the SMS reply will be exactly that text (trimmed to 512 chars).

If the callback returns JSON like:

{
  "message": "Hello"
}

then the SMS reply will be that entire JSON string, exactly as returned.

⚠️ Responsibility

It is up to the callback URL owner to return a clean, user-friendly body.

Notes

  • The reply is trimmed to max 512 characters (SMS limit).
  • If the callback body is empty, no reply is sent.