Create Outbound SMS
Start an outbound SMS chat conversation with a phone number using the specified agent. The agent must be configured for chat mode. The initial SMS message will be automatically generated and sent based on the agent’s configuration.
Authorizations
Body
For this particular chat, override the agent version used with this version. This does not bind the agent version to this number, this is for one time override.
1 - 20^(latest|latest_published|(?!(?:latest|latest_published|v\d+)$)[a-z][a-z0-9_-]{0,19})$"latest_published"
Response
SMS chat created and initial message sent successfully
Status of chat.
ongoing: Chat session is ongoing, chat agent can receive new message and generate response.ended: Chat session has ended, and no longer can generate new response.error: Chat encountered error.
ongoing, ended, error "ongoing"
Transcription of the chat, including human replies labeled "Transfer Target".
"Agent: hi how are you doing?\nUser: Doing pretty well. How are you?\nAgent: That's great to hear! I'm doing well too, thanks! What's up?\nUser: I don't have anything in particular.\nAgent: Got it, just checking in!\nUser: Alright. See you.\nAgent: have a nice day\n"
Tool call invocations and results of integration tools run before the chat's first message (pre-session). Stored separately from the main transcript. Available once pre-session integration tools have run (from the chat's first turn).
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
Tool call invocations and results of integration tools run after post-chat analysis (post-session). Stored separately from the main transcript. Available after chat ends if post-session integration tools ran.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7

