Mailboxes

Add thread labels

Adds the given mailbox labels to the thread, keeping the labels it already has, and returns where the thread stands. Every id must be one of the mailbox's labels.

post/v1/mailboxes/{id}/threads/{threadId}/labels

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/mailboxes/{id}/threads/{threadId}/labels
  • Auth: API key in header x-api-key

Path parameters

idstring required
threadIdstring required

Request body

labelsMailboxLabelId[] required

Response

MailboxThreadState

idstring required
folder'inbox' | 'assigned' | 'pending' | 'sent' | 'archived' | 'trash' required
priority'low' | 'normal' | 'high' | 'urgent' required
labelsMailboxLabelId[] required
readboolean required
starredboolean required
snoozedUntilstring nullable required

Changes

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