Skip to content
Proud to collaborate with Microsoft for Startups

wasender.messages.delete ​

Delete a message for everyone

Delete a message for everyone via DELETE /messages/{msgId}.

Inputs:

  • cloud_connection_uuid: UUID — the cloud connection holding the Wasender token.
  • msgId: str — provider message ID to delete (path parameter).

Outputs (terminal state_data):

  • message_id: str — ID of the deleted message.
  • status: str — result status string.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Cloud connection holding the Wasender credential
msgIdstringYes—Provider message ID to delete (path parameter)

Output Schema ​

FieldTypeRequiredDefaultDescription
message_idstringNo——
statusstringNo——
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.delete",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "msgId": "value"
  }
}