SMS
Clear SMS Conversation
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
Clear SMS Conversation
Hides all messages in an SMS conversation from the AI’s future responses (without permanently deleting them). For development/debugging.
POST
/
v1
/
sms
/
clear
curl --request POST \
--url https://api.bland.ai/v1/sms/clear \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"to": "<string>",
"from": "<string>"
}'
{
"status": "success",
"count": 42 // the number of messages cleared
}
Headers
Your API key for authentication.
Body
One of the phone numbers in the conversation.
The other phone number in the conversation.
{
"status": "success",
"count": 42 // the number of messages cleared
}
curl --request POST \
--url https://api.bland.ai/v1/sms/clear \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"to": "<string>",
"from": "<string>"
}'
{
"status": "success",
"count": 42 // the number of messages cleared
}