Assistant Sms Chat
POST/ai/assistants/:assistant_id/chat/sms
Send an SMS message for an assistant. This endpoint:
- Validates the assistant exists and has messaging profile configured
- If should_create_conversation is true, creates a new conversation with metadata
- Sends the SMS message (If
textis set, this will be sent. Otherwise, if this is the first message in the conversation and the assistant has agreetingconfigured, this will be sent. Otherwise the assistant will generate the text to send.) - Updates conversation metadata if provided
- Returns the conversation ID
Request
Responses
200:
Successful Response
422:
Validation Error