labels

Label several sent copies

Applies one label change to up to 100 sent copies, which may be in any of the account's inboxes. The label rules apply; received messages have their own endpoint.

The change is all or nothing: if any ID is missing, deleted or not on this account, the request returns 404 and no copy changes. On success the response has one entry per distinct ID, in request order. For more than 100 copies, send several requests.

patch/v1/sent/labels

Request

  • Base URL: https://cherami.to
  • URL: https://cherami.to/v1/sent/labels
  • Auth: HTTP bearer

Request body

message_idsstring[] required
add_labelsLabel[]

Label names, case-sensitive; order and duplicates don't matter.

remove_labelsLabel[]

Label names, case-sensitive; order and duplicates don't matter.

Response

Success.

Changes

No recorded changes to this operation across all 1 revision of this API.