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
}
Hides all messages in an SMS conversation from the AI’s future responses (without permanently deleting them). For development/debugging.
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
}
{
"status": "success",
"count": 42 // the number of messages cleared
}
Was this page helpful?