Delete an entire message thread
DELETE/sms/:organization/:leadId
Permanently deletes every SMS/iMessage message in a lead's thread. Each row is kept for billing (cost stays attached to the organization, date, and in/outgoing direction), but every identifying field - text, media, phone numbers, lead, provider ids - is stripped from each message. The thread no longer appears in any list, and direct lookups 404.
Request
Responses
- 200
Default Response