Chats

Delete a chat note

Removes an internal chat note. Messages in the chat are untouched.

DELETE
https://api.portal.magicdoor.com/company-app/chats/{chatId}/notes/{noteId}

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

chatIdstringrequired

The chat the note is on.

example: 1830472847398404096
noteIdstringrequired

The note to delete.

example: 1831060455455096832

Response

200 · The note was deleted. The response has no body.

401 · The access token is missing, expired, or not valid.

404 · No note with that id belongs to your company.