sms

Update Sms Message

Update SMS Draft

Update the body of a draft SMS message. The SMS must be in DRAFT status.

patch/v2/sms/messages/{sms_id}

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

sms_idstring required

Request body

bodystring required

Updated SMS body text

Response

Successful Response

created_atstring date-time required
modified_atstring date-time nullable required
idstring required
bodystring required

The message content

direction'inbound' | 'outbound' required
from_numberstring phone required

The sending phone number

to_numberstring phone required

The receiving phone number

status'draft' | 'pending' | 'sent' | 'delivered' | 'failed' | 'undelivered' required
is_automatedboolean required

Whether the SMS was automatically sent by a workflow

sent_atstring date-time nullable required
delivered_atstring date-time nullable required
error_messagestring nullable required

Twilio error message if delivery failed

objectstring required

String representing the object's type. Objects of the same type share the same value.

Changes

No recorded changes to this operation across all 2 revisions of this API.