Batch update message labels
Changed onApplies one label change to up to 50 messages, all or none. Ids that are missing or belong to another inbox are silently omitted; compare count with limit to detect misses. The held label can only be changed by a person in the Crevio inbox.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
Inbox id (inbox_…)
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
At least one of add_labels or remove_labels is required.
Message ids (msg_…), up to 50, no duplicates
Labels to add. Crevio uses unread (new incoming mail), starred and archived (out of the inbox, still listed) like Gmail; spam and trash hide the mail from lists and search until removed. held can't be changed through the API.
Labels to remove. Removing spam or trash brings the mail back.
Response
Updated messages
Number of ids sent
Number of messages updated
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
2 more changes in this revision
- warning