Skip to content

Delete a Message

Endpoint used to delete a message from a conversation in Toolzz Chat.

Terminal window
curl --request DELETE \
--url 'https://chat.toolzz.ai/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages/{message_id}' \
--header 'Authorization: Bearer <token>'
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
account_idstringThe ID of the account.Yes
conversation_idstringThe ID of the conversation.Yes
message_idstringThe ID of the message to delete.Yes

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.