Developers » API methods » Messages » messages.markAsImportant
Marks and unmarks messages as important (starred).
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: messages.
message_idsIDs of messages to mark as important.
list of comma-separated positive numbers
important1 to add a star (mark as important)
0 to remove the star
positive number
Return a list of IDs for successfully marked messages.
Global errors can occur while running. See their descriptions on this page.