threads
threads

Delete Thread

Hard-delete ANY thread in the workspace + its user-facing child rows.

Works on any thread (livechat, telegram, voice transcript, duel, etc.), INCLUDING threads with channel_account_id = NULL (old duel / tester threads) — the lookup scopes on thread.workspace_id via a LEFT JOIN, not an inner channel_account join, so NULL-account threads are deletable.

Honest behaviour: for a live synced channel (Telegram/WhatsApp) delete clears the LOCAL copy; a new inbound can re-create the thread on next sync. For duel/livechat/voice/test threads it's effectively permanent.

Kept intentionally (not cascaded): usage/billing, traces, voice_sessions call history, diagnostics, outreach dedup — see _THREAD_CHILD_TABLES.

delete/api/threads/{thread_id}

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/threads/{thread_id}
  • Auth: none declared

Path parameters

thread_idinteger required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.