Skip to content
Start here

Messages

List messages for a bulk action job
email_security.investigate.bulk.messages.list(strjob_id, MessageListParams**kwargs) -> SyncV4PagePaginationArray[MessageListResponse]
GET/accounts/{account_id}/email-security/investigate/bulk/{job_id}/messages
ModelsExpand Collapse
class MessageListResponse:
action_params: ActionParams
One of the following:
class ActionParamsMove:
client_recipient: str
destination: Literal["Inbox", "JunkEmail", "DeletedItems", 2 more]
One of the following:
"Inbox"
"JunkEmail"
"DeletedItems"
"RecoverableItemsDeletions"
"RecoverableItemsPurges"
type: Literal["MOVE"]
expected_disposition: Optional[Literal["MALICIOUS", "MALICIOUS-BEC", "SUSPICIOUS", 7 more]]
One of the following:
"MALICIOUS"
"MALICIOUS-BEC"
"SUSPICIOUS"
"SPOOF"
"SPAM"
"BULK"
"ENCRYPTED"
"EXTERNAL"
"UNKNOWN"
"NONE"
class ActionParamsRelease:
client_recipient: str
type: Literal["RELEASE"]
action_type: Literal["MOVE", "RELEASE"]
One of the following:
"MOVE"
"RELEASE"
created_at: datetime
formatdate-time
message_id: str
formatuuid
postfix_id: str
retry_count: int
status: Literal["PENDING", "DISCOVERING", "PROCESSING", 4 more]
One of the following:
"PENDING"
"DISCOVERING"
"PROCESSING"
"COMPLETED"
"FAILED"
"CANCELLED"
"SKIPPED"
alert_id: Optional[str]
email_message_id: Optional[str]
processed_at: Optional[datetime]
formatdate-time
retry_after: Optional[datetime]

When to retry the action if it failed

formatdate-time
status_message: Optional[str]