SMS
SMS Conversation Analysis
Calls
Intelligence
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Vector Knowledge Bases
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
Batches
SMS
Account
Organizations
- POSTCreate Organization
- DELDelete Organization
- GETGet Organization
- GETGet Organization Members
- GETGet Organization's Current Service Version
- GETList Organization's Service Versions
- PATCHUpdate Organization's Service Version
- PATCHUpdate Organization Members
- PATCHUpdate Organization Member Permissions
- PATCHUpdate Organization Properties
- GETGet User Organization Memberships
- DELLeave Organization
- GETGet Organization Billing Information
- GETGet Organization Billing Refill Information
SMS
SMS Conversation Analysis
Answer questions and extract information from an SMS conversation.
POST
/
v1
/
sms
/
analyze
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.",
"..."
]
}
Headers
Your API key for authentication.
Body
An overarching goal for the information you want to extract from the SMS messages.
An array of questions that you want the AI to answer, along with their return types.
For example:
{
"answers": [
[ "When does Bob want to move?", "time" ],
[ "Summarize the call.", "summary" ]
]
}
The phone number that received the messages.
The human/other phone number in the conversation.
{
"status": "success",
"message": "Successfully analyzed SMS messages.",
"answers": [
"Bob prefers to have movers come in the morning.",
"..."
]
}
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.",
"..."
]
}