Skip to Content

The SendResult type of the TypeScript SDK, which messages.send and 2 more methods take or answer.

type SendResult = {
  deliveryId: string
  recipients: SendRecipientResult[]
  sentCopy?: ('saved' | 'duplicate' | 'over_quota')
  sentThreadId?: string | null
}

Fields

FieldTypeDescription
deliveryIdstringMaster submission delivery ID
recipientsSendRecipientResult[]Outcome status per recipient
sentCopy('saved' | 'duplicate' | 'over_quota')Optional. Status of saving copy to Sent folder ('saved', 'duplicate', 'over_quota')
sentThreadIdstring | nullOptional. Conversation thread ID of the saved sent message

Used by

MethodWhat it does
messages.sendSend an email message
messages.sendDraftSend a stored draft
threads.replyReply to a conversation thread

On this page