Mailboxes

Get a mailbox thread

Returns a thread with its participants and where it stands. Read its messages with GET .../threads/{threadId}/messages and their bodies with GET .../threads/{threadId}/content.

get/v1/mailboxes/{id}/threads/{threadId}

Request

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

Path parameters

idstring required
threadIdstring required

Response

MailboxThread

idstring required
channel'email' required

The channel an endpoint, thread, or message belongs to.

endpointIdstring required
subjectstring nullable required
previewstring nullable required
messageCountinteger required
hasAttachmentsboolean required
hasDraftboolean required
folder'inbox' | 'assigned' | 'pending' | 'sent' | 'archived' | 'trash' required
priority'low' | 'normal' | 'high' | 'urgent' required
labelsMailboxLabelId[] required
readboolean required
starredboolean required
snoozedUntilstring nullable required
lastActivityAtstring required
conversationIdstring required
createdAtstring required

Changes

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