ApiChats

Delete a chat message (deprecated)

DELETE
/chats/{id}

Deprecated — these endpoints will be removed on or after 5 January 2027.

Chats stores messages and nothing else: it does not generate a reply, it does not run your assistant, and no other part of the platform reads what you put here. The reply you store is one your own application already produced, so this is a database you have to authenticate to rather than a capability you gain.

Keep your messages in your own storage instead. To give a voice call the history of an earlier chat, return it as system context in your response to the assistant-request webhook, which already reaches you on every inbound call.

Permanently delete a single chat message. Scoped to your organization.

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Get your key from the dashboard.

In: header

Path Parameters

id*string

Chat message ID

Formatuuid

Response Body

application/json

application/json

curl -X DELETE "https://example.com/chats/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{
  "error": "Invalid API key",
  "message": "string"
}
{
  "error": "Invalid API key",
  "message": "string"
}