Calls
Intelligence
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Vector Knowledge Bases
Blocked Numbers
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
Account
Organizations
- POSTCreate Organization
- DELDelete Organization
- GETGet Organization
- GETGet Organization Members
- GETGet Organization's Current Service Version
- GETList Organization's Service Versions
- PATCHUpdate Organization's Service Version
- PATCHUpdate Organization Members
- PATCHUpdate Organization Member Permissions
- PATCHUpdate Organization Properties
- GETGet User Organization Memberships
- DELLeave Organization
- GETGet Organization Billing Information
- GETGet Organization Billing Refill Information
SMS
Pathway Versions
Create Pathway Version
Creates a new version of a specific pathway, including its name, nodes, and edges.
POST
/
v1
/
pathway
/
{pathway_id}
/
version
Copy
Ask AI
curl --request POST \
--url https://api.bland.ai/v1/pathway/{pathway_id}/version \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"name": "<string>",
"nodes": {},
"edges": {}
}'
Copy
Ask AI
{
"status": "success",
"message": "Version created successfully",
"data": {
"created_at": "2024-03-07T10:15:30Z",
"id": "v3_ghi789",
"name": "Improved Customer Flow",
"version_number": 3
}
}
Headers
Your API key for authentication.
Path Parameters
The ID of the pathway for which to create a new version.
Request Body
The name of the new pathway version.
An array of node objects defining the structure of the pathway.
id
— Unique identifier of the nodetype
— Type of the node (e.g., “Default”, “End Call”, “Webhook”)data
— Object containing node-specific dataname
— Name of the nodetext
orprompt
— Text or prompt associated with the node- Other properties specific to the node type
An array of edge objects defining the connections between nodes.
id
— Unique identifier of the edgesource
— ID of the source nodetarget
— ID of the target nodelabel
— Label for this edge
Response
The status of the operation (e.g., “success”).
A message describing the result of the operation.
Copy
Ask AI
{
"status": "success",
"message": "Version created successfully",
"data": {
"created_at": "2024-03-07T10:15:30Z",
"id": "v3_ghi789",
"name": "Improved Customer Flow",
"version_number": 3
}
}
Copy
Ask AI
curl --request POST \
--url https://api.bland.ai/v1/pathway/{pathway_id}/version \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"name": "<string>",
"nodes": {},
"edges": {}
}'
Copy
Ask AI
{
"status": "success",
"message": "Version created successfully",
"data": {
"created_at": "2024-03-07T10:15:30Z",
"id": "v3_ghi789",
"name": "Improved Customer Flow",
"version_number": 3
}
}
Assistant
Responses are generated using AI and may contain mistakes.