/ Docs
API ReferenceWorkflows

Execute a Workflow Batch

Page Tools
POST/workflows/{workflowDefinitionId}/execute

Triggers workflow execution for a batch of customers. Maximum 25 executions per request. For larger datasets, split into multiple requests.

Authenticate with your brand’s x-api-key.Authentication

Path Parameters

workflowDefinitionIdstringrequired

Workflow definition identifier to execute

Request Body

application/json
executionsarray of objectrequired

One to 25 executions. Duplicate phone-number strings in the same batch are rejected.

  • 1–25 items
Show item detailsHide item details for body.executions

Each item

phoneNumberstringrequired

Phone number in E.164 format (+1234567890) or digits-only format (1234567890)

  • Pattern: ^(^\+[1-9]\d{1,14}$|^[1-9]\d{1,14}$)$
variablesobject

Variables for the workflow execution

Show child fieldsHide child fields for body.executions[].variables
[key]string
settingsobject

Accepted by request validation, but replaced with server-selected routing before the batch is queued. Omit this object. channelOverride is stripped and does not take effect for batches; use single execution for a supported override.

Show child fieldsHide child fields for body.executions[].settings
channelstring

Messaging channel.

Allowed values"SMS""RCS""MMS"
providerstring

Messaging provider.

Allowed values"VONAGE""VIBES""TWILIO"
agentIdstring

Agent identifier.

Agent reference identifier.

Responses

Batch accepted for processing

successbooleanrequired

Whether the batch was successfully queued

executionsarray of objectrequired

List of executions with their generated IDs

Show item detailsHide item details for response-202.executions

Each item

phoneNumberstringrequired

Phone number for this execution

executionIdstringrequired

Generated execution ID for this workflow run

channelstring

Channel that will be used for message delivery (RCS, SMS, or MMS)