Skip to main content
POST
Create outbound SMS chat

Authorizations

Authorization
string
header
required

Generate tokens from your profile settings at app.uponai.com.

Body

application/json
workspaceId
integer
required
agent_id
string
required
from_number
string
required
to_number
string
required
metadata
object
uponai_dynamic_variables
object

Response

201 - application/json

Outbound SMS chat created.

chatId
string
agentId
string
version
integer
status
string
type
string
Example:

"web_chat"

metadata
object
customAttributes
object
startedAt
string<date-time> | null
endedAt
string<date-time> | null
transcript
string | null
messages
object[]
chatCost
object | null
chatAnalysis
object | null
collectedDynamicVariables
object
uponai_dynamic_variables
object
overrideDynamicVariables
object