curl --request POST \
--url https://api.bland.ai/v1/sms/analyze \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"goal": "<string>",
"answers": [
{}
],
"to": "<string>",
"from": "<string>"
}'
{
"status": "success",
"message": "Successfully analyzed SMS messages.",
"answers": [
"Bob prefers to have movers come in the morning.",
"..."
]
}
Answer questions and extract information from an SMS conversation.
curl --request POST \
--url https://api.bland.ai/v1/sms/analyze \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"goal": "<string>",
"answers": [
{}
],
"to": "<string>",
"from": "<string>"
}'
{
"status": "success",
"message": "Successfully analyzed SMS messages.",
"answers": [
"Bob prefers to have movers come in the morning.",
"..."
]
}
{
"answers": [
[ "When does Bob want to move?", "time" ],
[ "Summarize the call.", "summary" ]
]
}
{
"status": "success",
"message": "Successfully analyzed SMS messages.",
"answers": [
"Bob prefers to have movers come in the morning.",
"..."
]
}
Was this page helpful?