One of 38 things your AI can do in your Instroc account, in Your inbox
Mark or archive inbox messages
update_
Makes changes
Ask your AI
- Archive the spam
- Mark those as read
- Clear out my inbox
What it does
Marks an app's inbox messages as read, or archives them.
Takes the app's project_id, 1 to 50 message ids from read_inbox, and the action. Returns the ids changed, the ids the app does not have, and the app's unread count after the change (null when no id was found). If an error stops the batch partway, the result also names the error and the ids not changed. An archived message leaves read_inbox's default list and is still listed with status 'archived'; there is no unarchive. Marking an archived message as read leaves it archived. A repeated call changes nothing further. Fits requests like 'mark those as read', 'archive the spam', 'clear out my inbox'.
This is the text your AI reads, word for word.
- Changes
- Yes.
Inputs
project_idRequired- The app's project_id, as returned by list_my_apps or create_app.
message_idsRequired- Message ids from a read_inbox result for this app, 1 to 50.
actionRequired- 'mark_read' marks unread messages as read. 'archive' moves messages out of the default inbox list.