SMS
sms

Send Sms

Send an SMS message via Twilio.

Args: request: SMS sending request db_session: Database session current_user: Authenticated user

Returns: SMS log record

post/sms/send

Request body

to_numberstring required

Phone number to send SMS to (E.164 format recommended)

messagestring required

Message body to send

Response

Successful Response

sms_idstring uuid required
customer_idstring uuid required
to_numberstring required
from_numberstring required
message_bodystring required
twilio_message_sidstring nullable
statusstring nullable
sent_atstring date-time nullable
created_atstring date-time required

Changes