Download OpenAPI specification:
Automatically generated swagger spec for the message stack.
required | Array of objects (v2BulkRenderTextEntry) |
| text required | string |
| title required | string |
{- "entries": [
- {
- "buildingId": "string",
- "contactId": "string",
- "objectId": "string",
- "propertyId": "string"
}
], - "text": "string",
- "title": "string"
}{- "entries": [
- {
- "contactId": "string",
- "text": "string",
- "title": "string"
}
]
}| attachmentMediaIds required | Array of strings |
| language required | string |
| message required | string |
| name required | string |
| ownerId required | string <int64> |
| subject required | string |
| type required | string (v2TemplateType) Default: "TEMPLATE_TYPE_EMAIL" Enum: "TEMPLATE_TYPE_EMAIL" "TEMPLATE_TYPE_LETTER" "TEMPLATE_TYPE_TICKET" "TEMPLATE_TYPE_DEEP_SIGN" |
{- "attachmentMediaIds": [
- "string"
], - "language": "string",
- "message": "string",
- "name": "string",
- "ownerId": "string",
- "subject": "string",
- "type": "TEMPLATE_TYPE_EMAIL"
}{- "template": {
- "attachmentMediaIds": [
- "string"
], - "createdAt": "string",
- "id": "string",
- "language": "string",
- "message": "string",
- "name": "string",
- "ownerId": "string",
- "subject": "string",
- "type": "TEMPLATE_TYPE_EMAIL",
- "updatedAt": "string"
}
}{- "templates": [
- {
- "attachmentMediaIds": [
- "string"
], - "createdAt": "string",
- "id": "string",
- "language": "string",
- "message": "string",
- "name": "string",
- "ownerId": "string",
- "subject": "string",
- "type": "TEMPLATE_TYPE_EMAIL",
- "updatedAt": "string"
}
]
}| contactId required | string |
| objectId required | string |
| text required | string |
| title required | string |
{- "contactId": "string",
- "objectId": "string",
- "text": "string",
- "title": "string"
}{- "text": "string",
- "title": "string"
}| id required | string |
| buildingId | string |
| contactId | string |
| objectId | string |
| propertyId | string |
{- "buildingId": "string",
- "contactId": "string",
- "objectId": "string",
- "propertyId": "string"
}{- "attachmentMediaIds": [
- "string"
], - "subject": "string",
- "text": "string"
}| id required | string |
| attachmentMediaIds | Array of strings |
| language | string |
| message | string |
| name | string |
| subject | string |
{- "attachmentMediaIds": [
- "string"
], - "language": "string",
- "message": "string",
- "name": "string",
- "subject": "string"
}{ }required | Array of objects (v2BulkSendMailEntry) |
{- "entries": [
- {
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "confidential": true,
- "from": {
- "email": "string",
- "name": "string"
}, - "ownerId": "string",
- "referenceIds": [
- "string"
], - "replyToMailId": "string",
- "subject": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
]
}{- "mail": [
- {
- "archived": true,
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "cidMappings": [
- {
- "cid": "string",
- "mediaId": "string"
}
], - "confidential": true,
- "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "hasForwarding": true,
- "hasReply": true,
- "id": "string",
- "inTrash": true,
- "inbound": true,
- "mailType": "MAIL_TYPE_NORMAL",
- "mailboxId": "string",
- "maliciousAttachmentsMissing": true,
- "missingHtml": true,
- "ownerId": "string",
- "readEntries": [
- {
- "accountId": "string",
- "timestamp": "string"
}
], - "referenceIds": [
- "string"
], - "replyTo": "string",
- "sentByPlatform": true,
- "spam": true,
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
]
}| domain required | string |
| ownerId required | string <int64> |
{- "domain": "string",
- "ownerId": "string"
}{- "domain": {
- "domain": "string",
- "id": "string",
- "isValid": true,
- "ownerId": "string",
- "validationKey": "string"
}
}| allowedUserIds required | Array of strings |
| mailboxType required | string (v2MailboxType) Default: "MAILBOX_TYPE_SPF" Enum: "MAILBOX_TYPE_SPF" "MAILBOX_TYPE_NYLAS" "MAILBOX_TYPE_NYLAS_MANUAL" |
| mainUserId required | string (Can be empty if no specific user is using this mailbox) |
| name required | string |
| outboundEmail required | string |
| ownerId required | string <int64> |
| signatureId required | string |
{- "allowedUserIds": [
- "string"
], - "mailboxType": "MAILBOX_TYPE_SPF",
- "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "ownerId": "string",
- "signatureId": "string"
}{- "mailbox": {
- "active": true,
- "allowedUserIds": [
- "string"
], - "automaticReply": {
- "bodyHtml": "string",
- "bodyText": "string",
- "enabled": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "subject": "string"
}, - "confidential": true,
- "id": "string",
- "inboundEmail": "string",
- "mailboxType": "MAILBOX_TYPE_SPF",
- "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "ownerId": "string",
- "signatureId": "string"
}
}| id required | string |
| allowedUserIds | Array of strings |
| mainUserId | string (Can be empty if no specific user is using this mailbox) |
| name | string |
| outboundEmail | string |
| signatureId | string |
{- "allowedUserIds": [
- "string"
], - "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "signatureId": "string"
}{ }| attachmentMediaIds required | Array of strings |
required | Array of objects (mailv2Participant) |
| bodyHtml required | string |
| bodyText required | string |
required | Array of objects (mailv2Participant) |
| confidential required | boolean |
| forwardingMailId required | string |
required | object (mailv2Participant) |
| ownerId required | string <int64> |
| referenceIds required | Array of strings |
| subject required | string |
required | Array of objects (mailv2Participant) |
{- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "confidential": true,
- "forwardingMailId": "string",
- "from": {
- "email": "string",
- "name": "string"
}, - "ownerId": "string",
- "referenceIds": [
- "string"
], - "subject": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}{- "mail": {
- "archived": true,
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "cidMappings": [
- {
- "cid": "string",
- "mediaId": "string"
}
], - "confidential": true,
- "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "hasForwarding": true,
- "hasReply": true,
- "id": "string",
- "inTrash": true,
- "inbound": true,
- "mailType": "MAIL_TYPE_NORMAL",
- "mailboxId": "string",
- "maliciousAttachmentsMissing": true,
- "missingHtml": true,
- "ownerId": "string",
- "readEntries": [
- {
- "accountId": "string",
- "timestamp": "string"
}
], - "referenceIds": [
- "string"
], - "replyTo": "string",
- "sentByPlatform": true,
- "spam": true,
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
}| referenceIds required | Array of strings |
{- "referenceIds": [
- "string"
]
}{- "entries": [
- {
- "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "id": "string",
- "referenceId": [
- "string"
], - "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
]
}{- "mailbox": {
- "active": true,
- "allowedUserIds": [
- "string"
], - "automaticReply": {
- "bodyHtml": "string",
- "bodyText": "string",
- "enabled": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "subject": "string"
}, - "confidential": true,
- "id": "string",
- "inboundEmail": "string",
- "mailboxType": "MAILBOX_TYPE_SPF",
- "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "ownerId": "string",
- "signatureId": "string"
}
}{- "drafts": [
- {
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "forwardingMailId": "string",
- "id": "string",
- "mailboxId": "string",
- "ownerId": "string",
- "referenceIds": [
- "string"
], - "replyToMailId": "string",
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
], - "userId": "string"
}
]
}| referenceIds required | Array of strings |
{- "referenceIds": [
- "string"
]
}{- "mails": [
- {
- "archived": true,
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "cidMappings": [
- {
- "cid": "string",
- "mediaId": "string"
}
], - "confidential": true,
- "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "hasForwarding": true,
- "hasReply": true,
- "id": "string",
- "inTrash": true,
- "inbound": true,
- "mailType": "MAIL_TYPE_NORMAL",
- "mailboxId": "string",
- "maliciousAttachmentsMissing": true,
- "missingHtml": true,
- "ownerId": "string",
- "readEntries": [
- {
- "accountId": "string",
- "timestamp": "string"
}
], - "referenceIds": [
- "string"
], - "replyTo": "string",
- "sentByPlatform": true,
- "spam": true,
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
]
}| filterFolder required | string (v2FilterFolder) Default: "FILTER_FOLDER_ALL" Enum: "FILTER_FOLDER_ALL" "FILTER_FOLDER_INBOUND" "FILTER_FOLDER_OUTBOUND" "FILTER_FOLDER_ARCHIVED" "FILTER_FOLDER_TRASH" "FILTER_FOLDER_SPAM" |
| filterReferenceIdPrefixes required | Array of strings All mails with provided entity prefixes in referenceIds are excluded from results |
| filterUnread required | string (applicableApplicable) Default: "UNDEFINED_VALUE" Enum: "UNDEFINED_VALUE" "APPLIES" "DOES_NOT_APPLY" |
| mailboxIds required | Array of strings |
| query required | string |
| sortReceivedAt required | string (sortSortOrder) Default: "UNDEFINED_SORT_ORDER" Enum: "UNDEFINED_SORT_ORDER" "ASC" "DESC" |
{- "filterFolder": "FILTER_FOLDER_ALL",
- "filterReferenceIdPrefixes": [
- "string"
], - "filterUnread": "UNDEFINED_VALUE",
- "mailboxIds": [
- "string"
], - "query": "string",
- "sortReceivedAt": "UNDEFINED_SORT_ORDER"
}{- "ids": [
- "string"
]
}{- "mailboxes": [
- {
- "active": true,
- "allowedUserIds": [
- "string"
], - "automaticReply": {
- "bodyHtml": "string",
- "bodyText": "string",
- "enabled": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "subject": "string"
}, - "confidential": true,
- "id": "string",
- "inboundEmail": "string",
- "mailboxType": "MAILBOX_TYPE_SPF",
- "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "ownerId": "string",
- "signatureId": "string"
}
]
}{- "mailboxes": [
- {
- "active": true,
- "allowedUserIds": [
- "string"
], - "automaticReply": {
- "bodyHtml": "string",
- "bodyText": "string",
- "enabled": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "subject": "string"
}, - "confidential": true,
- "id": "string",
- "inboundEmail": "string",
- "mailboxType": "MAILBOX_TYPE_SPF",
- "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "ownerId": "string",
- "signatureId": "string"
}
]
}| filterFolder required | string (v2FilterFolder) Default: "FILTER_FOLDER_ALL" Enum: "FILTER_FOLDER_ALL" "FILTER_FOLDER_INBOUND" "FILTER_FOLDER_OUTBOUND" "FILTER_FOLDER_ARCHIVED" "FILTER_FOLDER_TRASH" "FILTER_FOLDER_SPAM" |
| filterReferenceIdPrefixes required | Array of strings (All mails with provided entity prefixes in referenceIds are excluded from results) All mails with provided entity prefixes in referenceIds are excluded from results |
| filterUnread required | string (applicableApplicable) Default: "UNDEFINED_VALUE" Enum: "UNDEFINED_VALUE" "APPLIES" "DOES_NOT_APPLY" |
| itemsPerPage required | integer <int32> |
| limitPagination required | boolean If set to true, the response will only contain exact count until 100 mails. Page count won't be accurate after that. This flag can be used for performance reasons. |
| mailboxIds required | Array of strings |
| page required | integer <int32> |
| query required | string |
| sortFromEmail required | string (sortSortOrder) Default: "UNDEFINED_SORT_ORDER" Enum: "UNDEFINED_SORT_ORDER" "ASC" "DESC" |
| sortReceivedAt required | string (sortSortOrder) Default: "UNDEFINED_SORT_ORDER" Enum: "UNDEFINED_SORT_ORDER" "ASC" "DESC" |
{- "filterFolder": "FILTER_FOLDER_ALL",
- "filterReferenceIdPrefixes": [
- "string"
], - "filterUnread": "UNDEFINED_VALUE",
- "itemsPerPage": 0,
- "limitPagination": true,
- "mailboxIds": [
- "string"
], - "page": 0,
- "query": "string",
- "sortFromEmail": "UNDEFINED_SORT_ORDER",
- "sortReceivedAt": "UNDEFINED_SORT_ORDER"
}{- "mails": [
- {
- "archived": true,
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "cidMappings": [
- {
- "cid": "string",
- "mediaId": "string"
}
], - "confidential": true,
- "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "hasForwarding": true,
- "hasReply": true,
- "id": "string",
- "inTrash": true,
- "inbound": true,
- "mailType": "MAIL_TYPE_NORMAL",
- "mailboxId": "string",
- "maliciousAttachmentsMissing": true,
- "missingHtml": true,
- "ownerId": "string",
- "readEntries": [
- {
- "accountId": "string",
- "timestamp": "string"
}
], - "referenceIds": [
- "string"
], - "replyTo": "string",
- "sentByPlatform": true,
- "spam": true,
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
], - "totalCount": 0,
- "totalPageCount": 0
}| mailIds required | Array of strings |
{- "mailIds": [
- "string"
]
}{- "mails": [
- {
- "archived": true,
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "cidMappings": [
- {
- "cid": "string",
- "mediaId": "string"
}
], - "confidential": true,
- "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "hasForwarding": true,
- "hasReply": true,
- "id": "string",
- "inTrash": true,
- "inbound": true,
- "mailType": "MAIL_TYPE_NORMAL",
- "mailboxId": "string",
- "maliciousAttachmentsMissing": true,
- "missingHtml": true,
- "ownerId": "string",
- "readEntries": [
- {
- "accountId": "string",
- "timestamp": "string"
}
], - "referenceIds": [
- "string"
], - "replyTo": "string",
- "sentByPlatform": true,
- "spam": true,
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
]
}| filterFolder required | string (v2FilterFolder) Default: "FILTER_FOLDER_ALL" Enum: "FILTER_FOLDER_ALL" "FILTER_FOLDER_INBOUND" "FILTER_FOLDER_OUTBOUND" "FILTER_FOLDER_ARCHIVED" "FILTER_FOLDER_TRASH" "FILTER_FOLDER_SPAM" |
| itemsPerPage required | integer <int32> |
| mailboxIds | Array of strings Optional filter that only needs to be set if filter folder is inbound/outbound |
| page required | integer <int32> |
| query required | string |
| referenceIds required | Array of strings |
{- "filterFolder": "FILTER_FOLDER_ALL",
- "itemsPerPage": 0,
- "mailboxIds": [
- "string"
], - "page": 0,
- "query": "string",
- "referenceIds": [
- "string"
]
}{- "mails": [
- {
- "archived": true,
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "cidMappings": [
- {
- "cid": "string",
- "mediaId": "string"
}
], - "confidential": true,
- "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "hasForwarding": true,
- "hasReply": true,
- "id": "string",
- "inTrash": true,
- "inbound": true,
- "mailType": "MAIL_TYPE_NORMAL",
- "mailboxId": "string",
- "maliciousAttachmentsMissing": true,
- "missingHtml": true,
- "ownerId": "string",
- "readEntries": [
- {
- "accountId": "string",
- "timestamp": "string"
}
], - "referenceIds": [
- "string"
], - "replyTo": "string",
- "sentByPlatform": true,
- "spam": true,
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
], - "totalMailsCount": 0,
- "totalPageCount": 0
}| accountId required | string <int64> |
| emails required | Array of strings |
{- "accountId": "string",
- "emails": [
- "string"
]
}{ }| attachmentMediaIds required | Array of strings |
required | Array of objects (mailv2Participant) |
| bodyHtml required | string |
| bodyText required | string |
required | Array of objects (mailv2Participant) |
| forwardingMailId required | string |
| id | string Optional parameter to save new drafts and update existing ones |
| mailboxId required | string |
| referenceIds required | Array of strings |
| replyToMailId required | string |
| subject required | string |
| timestamp required | string <int64> (UNIX timestamp in seconds when draft was saved the last time) |
required | Array of objects (mailv2Participant) |
{- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "forwardingMailId": "string",
- "id": "string",
- "mailboxId": "string",
- "referenceIds": [
- "string"
], - "replyToMailId": "string",
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}{- "draft": {
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "forwardingMailId": "string",
- "id": "string",
- "mailboxId": "string",
- "ownerId": "string",
- "referenceIds": [
- "string"
], - "replyToMailId": "string",
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
], - "userId": "string"
}
}| attachmentMediaIds required | Array of strings |
required | Array of objects (mailv2Participant) |
| bodyHtml required | string |
| bodyText required | string |
required | Array of objects (mailv2Participant) |
| confidential required | boolean |
required | object (mailv2Participant) |
| mailType | string (v2MailType) Default: "MAIL_TYPE_NORMAL" Enum: "MAIL_TYPE_NORMAL" "MAIL_TYPE_IMIP" "MAIL_TYPE_TICKET_NOTIFICATION" |
| ownerId required | string <int64> |
| referenceIds required | Array of strings |
| replyToMailId | string Optional: If set to id of mail the user replies to -> support for threaded mails |
| sendAt | string <int64> Optional: for scheduled mails |
| subject required | string |
required | Array of objects (mailv2Participant) |
{- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "confidential": true,
- "from": {
- "email": "string",
- "name": "string"
}, - "mailType": "MAIL_TYPE_NORMAL",
- "ownerId": "string",
- "referenceIds": [
- "string"
], - "replyToMailId": "string",
- "sendAt": "string",
- "subject": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}{- "mail": {
- "archived": true,
- "attachmentMediaIds": [
- "string"
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "bodyHtml": "string",
- "bodyText": "string",
- "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "cidMappings": [
- {
- "cid": "string",
- "mediaId": "string"
}
], - "confidential": true,
- "deliverData": {
- "changedAt": "string",
- "errorMessage": "string",
- "status": "DELIVER_STATUS_UNDEFINED"
}, - "engagementData": {
- "changedAt": "string",
- "status": "ENGAGEMENT_STATUS_UNDEFINED"
}, - "from": {
- "email": "string",
- "name": "string"
}, - "hasForwarding": true,
- "hasReply": true,
- "id": "string",
- "inTrash": true,
- "inbound": true,
- "mailType": "MAIL_TYPE_NORMAL",
- "mailboxId": "string",
- "maliciousAttachmentsMissing": true,
- "missingHtml": true,
- "ownerId": "string",
- "readEntries": [
- {
- "accountId": "string",
- "timestamp": "string"
}
], - "referenceIds": [
- "string"
], - "replyTo": "string",
- "sentByPlatform": true,
- "spam": true,
- "subject": "string",
- "timestamp": "string",
- "to": [
- {
- "email": "string",
- "name": "string"
}
]
}
}required | object (v2AutomaticReply) |
| ids required | Array of strings |
{- "automaticReply": {
- "bodyHtml": "string",
- "bodyText": "string",
- "enabled": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "subject": "string"
}, - "ids": [
- "string"
]
}{- "mailboxes": [
- {
- "active": true,
- "allowedUserIds": [
- "string"
], - "automaticReply": {
- "bodyHtml": "string",
- "bodyText": "string",
- "enabled": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "subject": "string"
}, - "confidential": true,
- "id": "string",
- "inboundEmail": "string",
- "mailboxType": "MAILBOX_TYPE_SPF",
- "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "ownerId": "string",
- "signatureId": "string"
}
]
}| confidential required | boolean |
| mailboxIds required | Array of strings |
{- "confidential": true,
- "mailboxIds": [
- "string"
]
}{- "mailboxes": [
- {
- "active": true,
- "allowedUserIds": [
- "string"
], - "automaticReply": {
- "bodyHtml": "string",
- "bodyText": "string",
- "enabled": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "subject": "string"
}, - "confidential": true,
- "id": "string",
- "inboundEmail": "string",
- "mailboxType": "MAILBOX_TYPE_SPF",
- "mainUserId": "string",
- "name": "string",
- "outboundEmail": "string",
- "ownerId": "string",
- "signatureId": "string"
}
]
}| ids required | Array of strings non-empty |
| referenceIds | Array of strings |
{- "referenceIds": [
- "string"
]
}{ }| accountId required | string <int64> |
| id required | string OPTIONAL. If not provided a new signature is created |
| name required | string |
| signature required | string |
{- "accountId": "string",
- "id": "string",
- "name": "string",
- "signature": "string"
}{- "signature": {
- "accountId": "string",
- "id": "string",
- "name": "string",
- "signature": "string"
}
}