Messages

Delete a message

Deletes a single message from a specific conversation. This operation irrevocably deletes the message from both the TalkJS database, and in real-time from any connected clients.

If the deleted message contains an attachment, the attachment is also removed from storage.

When you delete a message, TalkJS sends a message.deleted webhook event.

delete/v1/{appId}/conversations/{conversationId}/messages/{messageId}

Request

Path parameters

appIdstring required
Example:abcd1234

A unique identifier of your TalkJS app. You can find your app ID on the Settings page of your dashboard.

conversationIdstring required
Example:0123456789abcdef

A unique identifier of a conversation.

messageIdstring required
Example:msg_123ABcdefghiJKlmNOpqRS

An automatically generated unique identifier of a message.

Response

Empty response

object required

Empty response

Changes

No recorded changes to this operation across all 1 revision of this API.