Overview
Manage voicebot workflows through the API.- Create new workflows with customizable messages and parameters
- List and retrieve existing workflows
- Update workflow details as needed
- Delete workflows
- List workflow requests and call statistics
- Get workflow request call details
Authentication
All API requests require an API key to be included in the headers:Create Workflow
Endpoint
Request Body JSON
| Field | Type | Description | Required | Options | Default |
|---|---|---|---|---|---|
name | String | Name of the workflow | yes | ||
description | String | Description of the workflow | no | ||
workflow_type | String | Type of workflow | yes | ROBOCALL | CONVERSATION | ROBOCALL |
message | String | Message template with variables | yes | ||
include_reply | Boolean | Include reply option in the workflow | no | true | false | false |
response_options | Object | Object containing response options with numeric keys (e.g., {"1": "option text", "2": "option text"}) | no | ||
call_back_url | String | URL to receive request status details on completion | no |
Example Request and Response (without reply)
Example Request and Response (with reply)
List Workflows
Endpoint
Example Request and Response
Get Workflow Details
Endpoint
Path Variables
| Field | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
workflow_id | String | The unique identifier of the workflow | yes |
Example Request and Response
Update Workflow
Endpoint
Path Variables
| Field | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
workflow_id | String | The unique identifier of the workflow to update | yes |
Request Body JSON
| Field | Type | Description | Required | Options | Default |
|---|---|---|---|---|---|
name | String | Name of the workflow | no | ||
description | String | Description of the workflow | no | ||
workflow_type | String | Type of workflow | no | ROBOCALL | CONVERSATION | ROBOCALL |
message | String | Message template with variables | no | ||
call_back_url | String | URL to receive request status details on completion | no | ||
include_reply | Boolean | Include reply option in the workflow | no | true | false | false |
response_options | Object | Object containing response options with numeric keys (e.g., {"1": "option text", "2": "option text"}) | no |
Example Request and Response
Delete Workflow
Endpoint
Path Variables
| Field | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
workflow_id | String | The unique identifier of the workflow to delete | yes |
Example Request and Response
List Workflow Requests
Endpoint
Query Parameters
| Field | Type | Description | Required | Default |
|---|---|---|---|---|
page | Integer | Page number for pagination | no | 1 |
per_page | Integer | Number of items per page | no | 10 |
Example Request and Response
List Workflow Calls
Endpoint
Query Parameters
| Field | Type | Description | Required | Default |
|---|---|---|---|---|
page | Integer | Page number for pagination | no | 1 |
per_page | Integer | Number of items per page | no | 10 |
batch_id | String | Filter calls by batch ID | no | |
status | String | Filter calls by status | no | |
phone_number | String | Filter calls by phone number | no |
Example Request and Response
Workflow Message Requirements
- The message length after replacing variables must not exceed 4000 characters
- Use
[parameter_name]syntax to insert dynamic values in your message - Example: “Hello [name], your appointment is scheduled for [date] at [time]“
Quotas and Limits
- Rate limit: 60 requests per hour
- Rate limit: 6 requests per minute
