API Docs / Operations / Task - Workflows / Send Workflow Step Email

Send Workflow Step Email

POST /tenants/{tenant}/tasks/{taskCode}/workflow/groups/{groupNumber}/steps/{stepNumber}/send

Sends a user-composed email for a SendEmail workflow step.
The email content comes from the request body, not the step's stored config.
On success, marks the step as Completed and records execution state.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

configCode query string
groupNumber* path integer (int32)
stepNumber* path integer (int32)
taskCode* path string

Request Body*

{
  "subject": "string",
  "htmlBody": "string",
  "plainTextBody": "string",
  "to": [
    {
      "email": "...",
      "name": "..."
    }
  ],
  "cc": [
    {
      "email": "...",
      "name": "..."
    }
  ]
}

Responses

200 OK
401 Unauthorized – Invalid or missing API key