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
Blocked Numbers
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
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
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"status": "success",
"message": "Successfully analyzed SMS messages.",
"answers": [
"Bob prefers to have movers come in the morning.",
"..."
]
}
Enterprise Feature - SMS is only available on Enterprise plans. Contact your Bland representative for access.
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:
Copy
Ask AI
{
"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.
Copy
Ask AI
{
"status": "success",
"message": "Successfully analyzed SMS messages.",
"answers": [
"Bob prefers to have movers come in the morning.",
"..."
]
}
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"status": "success",
"message": "Successfully analyzed SMS messages.",
"answers": [
"Bob prefers to have movers come in the morning.",
"..."
]
}
Assistant
Responses are generated using AI and may contain mistakes.