Skip to content
Proud to collaborate with Microsoft for Startups

wasender.messages.mark_read ​

Mark messages as read

Mark received message(s) as read (blue ticks) via POST /messages/read.

Inputs:

  • cloud_connection_uuid: UUID — the cloud connection holding the Wasender token.
  • message_ids: list — list of provider message IDs to mark read.

Outputs (terminal state_data):

  • status: str — result status string.
  • marked: dict — provider-opaque per-message read-receipt result.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Cloud connection holding the Wasender credential
message_idslistYes—List of provider message IDs to mark read

Output Schema ​

FieldTypeRequiredDefaultDescription
statusstringNo——
markedjsonNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "wasender.messages.mark_read",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "message_ids": "value"
  }
}