cURL
curl --request DELETE \ --url https://api.bland.ai/v1/sms/conversations/{id}/messages \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --data '{ "message_ids": [ "<string>" ] }'
{ "data": { "message": "2 messages marked as deleted", "deleted_count": 2 }, "errors": null }
Delete SMS conversations by their IDs.
null
Was this page helpful?